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

[whatwg] Three concerns regarding HTML5 form validation

From: Matias <matiasnu@gmail.com>
Date: Fri, 30 Sep 2011 10:04:40 +0200
Message-ID: <AB1C385F-B2E4-46F3-89C6-540F298E4434@gmail.com>

On 29 sep 2011, at 18:25, Jonas Sicking wrote:

>>> I agree that this sounds like a good idea.
>>> 
>>> One simple solution would be to make checkValidity take a optional
>>> boolean argument which defaults to false. If the function is called on
>>> a <form> and passed true, this instructs the UA to display the same UI
>>> as would be displayed if the form was submitted. If the function is
>>> called on a individual control and passed true, this instructs the UA
>>> to display any UI it would for that control.
>>> 
>>> / Jonas
>> 
>> 
>> Exactly! http://twitter.com/#!/matiaslarsson/status/116887142516531201 :)
> 
> I'd take a experimental gecko-patch if you write one :)
> 
> / Jonas

Now, let's not get ahead of ourselves. ;) Sure I can try, but never even having looked at the Gecko source it might take awhile. (It might be an interesting experience for me though...)

/Matias
Received on Friday, 30 September 2011 01:04:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC