W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] type="datetime" demo

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 17 Aug 2004 18:16:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408171815160.16813@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC