[whatwg] Form element invalid message

Shiv Kumar skumar at exposureroom.com
Wed Sep 22 20:10:31 PDT 2010


>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




More information about the whatwg mailing list