[whatwg] Form validation against invisible controls

Aryeh Gregor Simetrical+w3c at gmail.com
Fri Jun 4 14:00:24 PDT 2010


On Thu, Jun 3, 2010 at 10:30 PM, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
> On 6/3/10, TAMURA, Kent <tkent at chromium.org> wrote:
>> http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#constraint-validation
>>> If one of the controls is not being
>>> rendered<rendering.html#being-rendered>
>>   (e.g. it has the hidden <editing.html#the-hidden-attribute> attribute set)
>> then user agents may report a script error.
>>
>
> That's about <input type="hidden">

No, it's not.  Look at the definition of "being rendered":

http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#being-rendered

It gives the hidden *attribute* (not type) as an example.



More information about the whatwg mailing list