[whatwg] Why are form fields without a name barred from constraint validation?
info at html5.jp
Fri Apr 2 02:28:50 PDT 2010
On Fri, 02 Apr 2010 09:57:04 -0000
"Bruce Lawson" <brucel at opera.com> wrote:
> "Constraint validation: If an element does not have a name attribute
> specified, or its name attribute's value is the empty string, then it is
> barred from constraint validation."
> As a matter of interest, why?
Because such controls are ignored when the form is submitted.
Nameless controls are meaningless in form submission.
So, those controls do not need to be validated, I think.
More information about the whatwg