Is it valid markup and is it valid to the HTML/HTTP spec? If I wanted to have
<form> <input name="email" /> <input name="email" /> <input name="email" /> </form>
is that valid?
As stated on SO:
On a side note, in PHP you can have form fields with the same name if you use PHP's arry syntax for the field name:
This will cause the browser to send over the form fields in a syntax that PHP will use to populate an array for these fields:
The non-normative section 126.96.36.199 Configuring a form to communicate with a server explicitly says that it is valid:
The normative version of this is simply that it is not forbidden anywhere, and the form submission algorithm says exactly what request should be generated: