[whatwg] Placeholder option for text input boxes
Nils Dagsson Moskopp
nils-dagsson-moskopp at dieweltistgarnichtso.net
Fri Oct 3 12:56:55 PDT 2008
Am Freitag, den 03.10.2008, 20:41 +0100 schrieb Adrian Sutton:
> Addresses prove to be an extremely good example because there are so
> many different formats around the world and people get confused.
> Dates also matter, eg:
>
> <label for=”date”>Date: <input type=”text” placeholder=”1 Jan 2008”
> id=”date” /></label>
Wouldn't three comboboxes be more appropriate ?
> While ideally the server would deal with a huge variety of date
> formats giving a subtle hint about a format that would work
> particularly well is very useful and a lot more user-friendly than
> (DD/MM/YY). I’m sure there are plenty of other examples of data types
> that would benefit from an example rather than just a lot of text
> describing the field.
Maybe helping with your problem, Xforms comes to mind.
http://www.w3.org/TR/2007/REC-xforms-20071029/#datatypes
More information about the whatwg
mailing list