W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Placeholder option for text input boxes

From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
Date: Fri, 03 Oct 2008 21:56:55 +0200
Message-ID: <1223063815.11433.5.camel@dell.linuxdev.us.dell.com>
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
Received on Friday, 3 October 2008 12:56:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC