W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] question about the input tag attributes

From: Randy Drielinger <Randy@ProWebDesign.nl>
Date: Wed, 13 Apr 2011 11:58:35 +0200
Message-ID: <89C625183F8C4AE2A77CB3B9E0A264C4@emea.inin.com>
See: 
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-required-attribute



-----Original Message----- 
From: Nicola Di Fabrizio
Sent: Wednesday, April 13, 2011 9:41 AM
To: whatwg at lists.whatwg.org
Subject: [whatwg] question about the input tag attributes

Good day everyone,
I have a question about the new input tag attributes.

is it possible to set a attribute for checking the element
if it is not empty

like
<input type="text" needed="yes">

if needed = yes and the element has no value
then appears a msgbox like
"Please input something..."

or the msgbox text is also an attribute
where you can put in your own message.

what you think about the idea?
are there any discussion about something like this?

Many thanks and best wishes from Germany

nicola di fabrizio 
Received on Wednesday, 13 April 2011 02:58:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT