[whatwg] more on nested forms

Hallvord R M Steen hallvors at gmail.com
Sun Oct 2 01:51:47 PDT 2005


Just to make sure I have interpreted the spec's intent correctly
regarding nested forms.

Are the following assumptions correct?

* Submitting the inner form should submit successful controls
associated with the inner form only (like a normal form, not nested)

* Submitting the outer form should submit successful controls
associated with the outer form INCLUDING those that in the markup are
inside the inner form

Code example: given
<form>
    <input name="i1">
    <form>
        <input name="i2">
    </form>
</form>

should submitting the outer form also send the "i2" element?
--
Hallvord R. M. Steen



More information about the whatwg mailing list