Form Validation working incorrectly for file size
I am trying to validate 2 fields.
The first is a text field that I want to be required.
The validation works correctly.
The second is a file field that I want to validate for type of file and also for file size
If I try to upload a wrong file type the validation works.
But if I try to upload a file that is too large, the error message for file size does not show up.
I'm attaching my working file.