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

[whatwg] question about the input tag attributes

From: Nicola Di Fabrizio <DiFabrizio@web.de>
Date: Wed, 13 Apr 2011 09:41:48 +0200 (CEST)
Message-ID: <682071603.239562.1302680508461.JavaMail.fmail@mwmweb072>
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

<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 00:41:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:05 UTC