I\'m using parsley.js in a USP Pro form in Wordpress. The validation works, in general, but now I\'m trying to validate the max file size and I don\'t really understand how to d
In fact, this is not working. You have to add file = input[0].files[0];
file = input[0].files[0];