Hi everyone. Thanks for this great component. I am trying to create a form with a field to upload images. Everything works perfect. The validations works perfect too but i have an usability issue.
Let's suppose i hace an upload size limit of 1mb but one of the users on my site just fill the form and never noticing that they are trying to upload a 2 mb file: The user will get an error saying that he can't upload this file size. BUT when he receives the message telling that he made a mistake the complete form is erased and he will have to start filling the form again.... Now the question is:
How can i make my forms stay filled just letting my user know that there was an error and please choose a new file to upload the entire form again, jus fix the uploaded file? My users are getting upset because they spend time filling the complete form and if a validation error ocurs when trying to upload images they will have to start the complete proccess again, so they just leave the site and i lost valuable information.
Can anyone help me? What is the code that I have to use for that and where can I paste it?
Let's suppose i hace an upload size limit of 1mb but one of the users on my site just fill the form and never noticing that they are trying to upload a 2 mb file: The user will get an error saying that he can't upload this file size. BUT when he receives the message telling that he made a mistake the complete form is erased and he will have to start filling the form again.... Now the question is:
How can i make my forms stay filled just letting my user know that there was an error and please choose a new file to upload the entire form again, jus fix the uploaded file? My users are getting upset because they spend time filling the complete form and if a validation error ocurs when trying to upload images they will have to start the complete proccess again, so they just leave the site and i lost valuable information.
Can anyone help me? What is the code that I have to use for that and where can I paste it?