[whatwg] Suggested changes to Web Forms 2.0, 2004-07-01 working draft

Ian Hickson ian at hixie.ch
Wed Jul 7 07:09:54 PDT 2004

On Tue, 6 Jul 2004, Hallvord Reiar Michaelsen Steen wrote:
> Perhaps add something like..
>     The "value" attribute may be used with date and time types to suggest
>     an initial date/time for any calendar widget the UA may show. If
>     omitted current date and time is used.

But do we really want the following:

   Birthday: <input type="date" name="bd">

...to default to today? Don't forget that if the user doesn't see the form
and just hits submit, there'll be no way to distinguish it from an
intentional pick of today.

What if "today" isn't in the allowed range?

Note how people wanted radio buttons to all be unchecked by default. This
is the same thing IMHO.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list