[whatwg] type="datetime" demo
ian at hixie.ch
Tue Aug 17 11:16:40 PDT 2004
On Sat, 17 Jul 2004, Jim Ley wrote:
> Hallvord wrote:
> > >
> > > It doesn't work with scripting disabled when you enter "15/7/4" and
> > > then use the back button after submission, no hint is available to
> > > the user, even though that is essential to me being able to submit
> > > the form.
> > I guess most websites would handle this by returning the same form
> > with error message and extra hints, not like the demo that just tells
> > you to use the back button.
> but how does it do this
By knowing (since the data wasn't in the right format) that it wasn't a
WF2 UA, and thus doing everything exactly the same as you would today.
> this is my point, as soon as you want to put a value in the datetime
> control (and everyone does this when re-displaying a form) you use the
> ability to put the hint in - despite the fact the hint is more important
> now, as the user obviously didn't understand it the first time!
You don't lose this ability.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg