PDA

View Full Version : Calendar input a form


dubaco
04-05-2010, 07:17 PM
Hi
Can anyone suggest a simple system for displaying a calendar of a month at a time, like you get to pick a start date for a train, plane, ferry journey.
When you pick a date, that is then input into the box on the form.
I've done a search of the forums but can't find quite the same thing.

Many thanks
P

mangofreak
04-05-2010, 08:26 PM
Do a calendar picker search on Google and you'll have many results. i.e.
http://www.javascriptkit.com/script/script2/tengcalendar.shtml

There are some in PHP, ASP and JScript, any fruity flavour you want.

:)

dubaco
04-05-2010, 08:58 PM
Hi
Thanks for that, as usual it's all in the correct phrase that needs to be known, in this case "calendar picker"
Cheers
P

ashikcse20
07-15-2014, 11:26 AM
Do a calendar picker search on Google and you'll have many results. i.e.
http://www.javascriptkit.com/script/script2/tengcalendar.shtml

There are some in PHP, ASP and JScript, any fruity flavour you want.

:)

Thanks a lot

ashikcse20
07-15-2014, 11:27 AM
http://www.javascriptkit.com/script/script2/tengcalendar.shtml
Thanks a lot

Ricky55
07-15-2014, 07:52 PM
Depending on what browsers you need to support you could just use the HTML5 date input type then you won't need any scripts.

Or you could use this with modernizr and fall back to a jQuery solution.


<form action="#">
Birthday: <input type="date" name="bday">
<input type="submit">
</form>


http://www.w3schools.com/html/html5_form_input_types.asp

edbr
07-17-2014, 04:57 AM
http://jqueryui.com/datepicker/ takes some beating for easy modification IMO