Hi,
I'm using validation plugin successfully in various forms, but I have
a little problem with a form that have an array of input text like
this:
...
<p>
<label for="input_test_1">input_1</label>
<input id="input_test_1" name="input_test[]" />
</p>
<p>
<label for="input__test_2">input_2</label>
<input id="input__test_2" name="input_test[]" />
</p>
...
I have defined validation rules like this:
$("#testForm").validate({
rules: {
"input_test[]": "required"
}
});
but only the first element of the array is evaluated.
Is there a simply way to test all the elements of the input text
array?
I'm using validation plug-in v1.2, and it's supposed to work with
arrays of element types or I'm wrong?
Thanks in advance.