check values of html array before submit
I have a form where I click a button and it duplicates the inputs thus now having X of the same inputs.
The input name looks like so:
<select id="select" name="cs_quantity[]">
Is there a way I can check the all values of the quantity before submitting the form? I want to make sure they've chosen a quantity other than 0, thanks.