[whatwg] Form element invalid message

>I actually think that the customerrormessage attribute that has been
>suggested is a decent solution too.

So it looks like Jonas and Mounir concur. That's great!

>All you'd need to do
>is install an event handler for the "invalid" event, and in that
>handler do something like element.setAttribute("customerrormessage",
>myMessage);

So on a scale of usefulness if the spec is a 1, what I suggested made it a 5
and this just made it 8.

And one can still make highly useable forms with very decent validation
without going against Section 508.


Shiv
http://exposureroom.com

Received on Wednesday, 22 September 2010 20:10:31 UTC