Probably really simple, but how do I have the field start with a blank date? I don't always want the date to be filled in. If I leave the value parameter out, it fills it in with current date.
Blank Date? Created May 5, 2010
This thread is solved
Views: 3513 Replies: 6 Last reply Dec 6, 2011
You must login first before you can use this feature
Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.
Posts: 1867
Registered:
Nov 16, 2007
Reply to:
Blank Date?, from
listingwarebob
really simple issues are always the best!
I've now added a possibility to define value manually with the value attribute. For example:
A very welcome addition indeed. This feature will be in 1.2.1 to be released within a week or two.
I've now added a possibility to define value manually with the value attribute. For example:
<!-- no initial value -->
<input type="date" name="mydate" />
<input type="date" name="mydate" value="" />
<!-- custom initial value -->
<input type="date" name="mydate" value="Today" />
<input type="date" name="mydate" value="Select Arrival Date" />
A very welcome addition indeed. This feature will be in 1.2.1 to be released within a week or two.
Reply to:
» Blank Date?, from
tipiirai
Thanks! Just making sure I wasn't missing something!
Reply to:
» Blank Date?, from
tipiirai
I noticed that when the input field has "0000-00-00" as the default value the dateinput displays 11/30/1899. Can that be changed so the date input is blank if the initial value is 0000-00-00? That'd be great!!
