I have built a number of multi page custom forms which include various ‘file upload’ inputs.
The problem I am encountering is this - if a user selects a file for upload, then mistakenly fails to complete another ‘required’ field on the same page, the page reloads with the appropriate error message - but now the file upload field has been cleared, making it easy for the user to move on thinking they have attached the file - when they have not - very confusing.
The file upload inputs in my case are not compulsory, therefore I can’t apply error messages via custom forms to alert the user. Without coming up with a convoluted javascript solution, is there anything I am missing or can do to resolve this?
Thanks in advance
Gavin