element validation causes fileupload element to lose data

p38

Active Member
If you have an element validation on, and it shows the error message if a validation fails, then the file upload element loses the filename that was selected prior to the validation.

So in other words, create a new record, select a file upload and then trigger a validation error on another element and you will notice that the fileupload filename is lost.

So if this element is sitting on another tab, it is easy for the user to miss the fact that the previous fileupload has been wiped.

Note, this only happens when a fileupload has been done and a validation error ocurs in the same sequence before posting.
If you edit a record, and cause a validation, then the previous fileupload value does not get wiped.

I suspect this is a form refresh problem after a validation

Paul
 
This is a browser thing - nothing we can do about it I'm afraid. As the validation fails the record is not stored, so we can't get the information from the db, and due to security features on the fileupload element it won't show previously selected files.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top