W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

[Bug 11794] We should handle the case of a bunch of required controls all being hidden at once — the author shouldn't have to also go in an remove the 'required' attribute on each one. Maybe make hidden="" bar things from constraint validation?

From: <bugzilla@jessica.w3.org>
Date: Thu, 20 Jan 2011 10:42:43 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PfryV-0007SN-4Y@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11794

--- Comment #8 from Mounir Lamouri <mounir.lamouri@gmail.com> 2011-01-20 10:42:42 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > Couldn't we simply add 'novalidate' attribute to form controls to make them
> > barred from constraint validation?
> 
> That wouldn't address the problem this bug describes since it's equally
> annoying to add novalidate to all affected controls as it is to add disabled or
> remove required on them.

Disabled would prevent the form control from being submitted. That wouldn't be
the same as barring it from constraint validation.

And removing required is one use case. Having an attribute to bar the element
from constraint validation would work easily in all situations.

Maybe we could also make novalidate set on a fieldset barring all fieldset
descendants from constraint validation.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 20 January 2011 10:42:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 January 2011 10:42:49 GMT