I have array for uploading photos. I have to validate it for blank values.
<input type="file" name="photos[]">
<input type="file" name="photos[]">
<input type="file" name="photos[]">
If a pic is uploaded in any of 3 fields, It should not throw error else if all the fields are blank, it shld throw error such as "Required at least 1 field.".
Please Note: input field photos[] are dynamically generated with jquery to upload multiple photos at a time. Please Help