W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2010

[whatwg] Why are form fields without a name barred from constraint validation?

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 02 Apr 2010 12:53:53 -0700
Message-ID: <op.vai67zdy64w2qv@annevk-t60>
On Fri, 02 Apr 2010 04:00:04 -0700, Bruce Lawson <brucel at opera.com> wrote:
> On Fri, 02 Apr 2010 09:28:50 -0000, Futomi Hatano <info at html5.jp> wrote:
>> Because such controls are ignored when the form is submitted.
>> http://dev.w3.org/html5/spec/forms.html#form-submission-algorithm
>> Nameless controls are meaningless in form submission.
>> So, those controls do not need to be validated, I think.
>
> Thanks!

FWIW, there have been some requests on dropping this since nowadays form  
controls are not always associated with a form, but the validity concept  
can still be useful in such scenarios.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 2 April 2010 12:53:53 UTC

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