I already read this thing on jquery validation but still I'm stuck with this requiring control array in the form.
I have this code:
//already link the validation js script of course
<scrip>
$(document).ready(function() {
$("#hh").validate();
});
</script>
<form id="hh">
<input type="text" name="name[]" class="required" /><br />
<input type="text" name="name[]" class="required" /><br />
<input type="text" name="name[]" class="required" /><br />
<input type="submit" name="Submit" />
</form>
the problem is, the first row of control named 'name[]' is required the rest is nothing. I already make update to checkForm: function() on jquery.validate.js as what the this link says but its nothing...
Adding class="required" to every controls is working for me actually, but Im stuck with this control array thing...
can anybody please submit a step by step on how to solve this problem. A very simple lines on code that already working is a good help.. Like modifying the code I posted above.
I'm sorry I'm already frustrated with this thing. Thank you!