I have dynamic input field like this
this field can be increment like fault[1], fault[2], fault[3].......fault[10] as many as the user willing to add the fields. how can i set validation rule for this?
code example please.
PHP Code:
<input type="text" name="fault[0]" placeholder="" class="form-control name_list" />
this field can be increment like fault[1], fault[2], fault[3].......fault[10] as many as the user willing to add the fields. how can i set validation rule for this?
code example please.