Good evening guys, I have an input file multiple and I need to do 4 validations before sending the form.
1) Limit the number of images sent in 10
2) Images have to be of type jpeg or png (just put an accept in the html already solves this completely?)
3) Each image n can be greater than 2mb
4) Minimum image width should be 600px
Can you give me strength? I was doing all this validation after sending the file to the server, but it is bad to send everything to later test.