- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 9 Feb 2005 15:21:41 +0000 (UTC)
On Tue, 8 Feb 2005, [iso-8859-1] Christoph P?per wrote: > > A simple 'text' 'input' has the advantage that it generates only one > parameter to be handled by the server (and an optional client-side > validation script), just like the 'date' 'input' does. The most basic > handling would be to reject anything that is not an ISO?8601 conformant > string (in the valid time frame), requiring the user to resubmit. From > there on you can get as complex guessing as you want. Unambiguous, valid > inputs are (silently) accepted, others rejected. Rejection on ambiguity > should include showing the user the guessed likeliest value in an > unambiguous format, so he hopefully just has to accept without further > changing. The lesser advanced the guess script, the more important it is > to inform the user of the expected input style. > > From the point of usability I wouldn't want '<input type="date">' to > fall back to anything but '<input type="text">'. Neither from the point > of marking-up and styling. In this case the programmer has to swallow > the bitter pill, IMVHO. After all it's a recurring problem for which he > has to find or write a solution only once (at least in theory). I agree. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 9 February 2005 07:21:41 UTC