I have a file upload input that allows multiple files to be uploaded. Right now, I am trying to find a way to validate those file uploads but not sure how to work it out.
Code Example
<input type="file" class="form-control" name="file-1649657296668-0[]" access="false" multiple="true" id="file-1649657296668-0">
Let's say I uploaded multiple files on this input, how do I iterate and validate each of the files in this file input and ensure that it passes the validation check? The $request variable was unable to check on each array one by one on this file upload input.
accept="image/*"just a side note.