Do input field NAMES have to be unique across forms?
forms, xhtml
Solution
No, they don't have to be unique across forms or within forms. The most common use of repeating them is radios:
<form>
<input type="radio" name="my_radio" value="1">
<input type="radio" name="my_radio" value="2">
<input type="radio" name="my_radio" value="3">
</form>
Problem
Do input field NAMES have to be unique across forms? I would imagine that it's ok since the reference to each input field is qualified by the form name. document.form1.inp1.value document.form2.inp1.value Am I right? Will it work in all browsers? thanks