<input name="id"> results in the surrounding form being duplicated rather than replaced.
<input name="id">
This is because if such a field exists within a form, form.id returns that DOM node rather than the form's id attribute value.
form.id
id