[whatwg] Placeholder option for text input boxes

Kristof Zelechovski skrev:
> Does the hint display if the input control gets cleared after loading?
> 
> IMHO, The hint should not disappear on focus.  It should remain until a 
> new value is entered.
> 
> Chris

There is one aspect nobody has commented on yet. If this feature - 
heaven forbid - would be used *instead of* labels, or if the label would 
be moved into the input field, random characters typed by the user would 
destroy any explanation of a particular fields purpose.

E.g. <input placeholder="name"> is present on the page, but no other 
explanatory text. The user accidentally types in "qqqq". How will the 
user get the hint back? Deleting what has been typed and blurring the 
field. Good usability? I think not!

Lars Gunther

Received on Sunday, 5 October 2008 09:08:29 UTC