W3C home > Mailing lists > Public > public-html5spec@w3.org > May 2012

When A Form Should Start Validation? [via HTML5 Specifications Community Group]

From: Anas R. <anas.ram@gmail.com>
Date: Sat, 5 May 2012 09:52:50 +0000
To: public-html5spec@w3.org
Message-ID: <13af87b7d2dfdf021258a23830d50e9f@www.w3.org>
Let's take a look to this simple demo form:
http://www.richstyle.org/demo-form.html I use the following code to style the
validation issue: input:required + output::after, textarea:required +
output::after { content: '*'; } input:invalid + output::after, textarea:invalid
+ output::after { content: '⨉';color: maroon } input:valid + output::after,
textarea:valid + output::after { content: '✓';color: green } The only thing
looks unacceptable, is that the form validation process starts [...]



----------

This post sent on HTML5 Specifications Community Group



'When A Form Should Start Validation?'

http://www.w3.org/community/html5spec/2012/05/05/when-a-form-should-start-validation/



Learn more about the HTML5 Specifications Community Group: 

http://www.w3.org/community/html5spec
Received on Saturday, 5 May 2012 10:09:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 5 May 2012 10:09:30 GMT