I’ve a group of inputs like <input type="text" name="clients[]" /> that are loaded via AJAX. Before the user submits the form, I need to check if at least one of them has been filled. I don’t know how to do this if is an array.
Thank you in advance!
Bind a function to the submit event for the form like this:
Live example here.