I am using jquery validation from bassistance.de

I have problem with dynamic forms which have same input name.
(i know the demo has one dynamic form,  but they have unique name)

this is the example

<form name='myform' id='myform'>
<input type='text' name='name[]' id='name1' class='required name' />
<input type='text' name='name[]' id='name2' class='required name' />
<input type='text' name='name[]' id='name3' class='required name' />
<input type='text' name='name[]' id='name4' class='required name' />
<input type='text' name='name[]' id='name5' class='required name' />
<input type='text' name='name[]' id='name6' class='required name' />
<input type='text' name='name[]' id='name7' class='required name' />
</form>

how to validate each fields ? it seems it only validate the first one
and ignore the rest.
can i create custom validation for each input which has "name" class ($
(".name")) ?

thanks ... i really need this to be done ...
and i cannot rename the name of each fields so it has unique name.

Reply via email to