The jQuery Validate plugin will not allow you to validate multiple input elements with the same name
. You must have a unique name
on each. There is no workaround; the name
attribute is how the plugin internally keeps track of all form inputs.
<input type="text" placeholder="" class="m-wrap span12" name="test[1]">
<input type="text" placeholder="" class="m-wrap span12" name="test[2]">
<input type="text" placeholder="" class="m-wrap span12" name="test[3]">