This disables the upload button when no file has been selected. In the event a user tries to bypass the UI and POSTs an empty form, they will get redirected to the file_upload page with the following error message:
Something went wrong
No file was uploaded; please try again.
This disables the upload button when no file has been selected. In the event a user tries to bypass the UI and
POST
s an empty form, they will get redirected to thefile_upload
page with the following error message:Something went wrong No file was uploaded; please try again.