html - What does the fieldset element's name attribute do? -
i understand general semantics of <fieldset>
, along how name
attribute on <fieldset>
can used give meaning group of inputs. w3 wiki has number of examples this.
however, don't understand name
attribute on <fieldset>
elements when submitting forms. according mdn, name
submitted form data. w3c mentions it's element's name, used in form submission.
when trying out name
attribute on <fieldset>
though, don't see being submitted rest of form data. it's unclear me if has use other semantics.
is name
attribute on <fieldset>
elements supposed submitted form data? if so, have value? do?
however, don't understand name attribute on
<fieldset>
elements when submitting forms.
nothing.
you've tested yourself:
when trying out name attribute on
<fieldset>
though, don't see being submitted rest of form data.
it appears error in summary of spec (presumably copied input
@ point) has been copied onto mdn reference.
the rules form submission don't mention fieldsets.
w3c mentions it's element's name, used in form submission.
the complete quote is:
name - name of form control use form submission , in form.elements api
the form.elements
api (along generic dom apis getelementsbyname
) place attribute has actual effect.
Comments
Post a Comment