Project translated automatically.
Log in
or
register,
to view the original
Good day
There is a html file where there are input with type = file. There is a JS validation that checks the uploaded file to its size. The problem is the following:
When the file is downloaded, the validation does not pass the condition that the file has not been downloaded at all (see. Screenshots 1-2)
An important supplement:
I have two input'a taking into account the condition from the beck (by the status of the object)
1 . Condition #1 starting from line 91-106 (link to the attachment code)
2nd Condition #2 begins with a line of 47-90
HTML file - https://dpaste.org/FNY88
And, the error works exactly the same in the condition of 1 point. In paragraph 2, the JS code validation works as needed, although the validation is general. The file used the same test.
If you have any questions or are ready to get to work, you can sign up to the person/telegram.