[whatwg] type="datetime" demo

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 17 August 2004 11:16:40 UTC