When using a file upload on a multi-page form, the value of the file upload does not persist throughout navigation through the pages or submission. There is a further issue if the field is mandatory which is also explained in the section below.
Reproduction Bug summaryWe have created a form that has 2 pages, page 1 includes a file upload.
If you complete page 1 by uploading file A, then go to the next page, and then go back to the first page. We then experience an issue whereby file A is listed as a "Current file" yet with the file upload field being mandatory the user is prompted to upload another file.
After uploading another file (file B) to get past the validation on the file upload field, only file B is submitted with the form, and file A is completely lost.
SpecificsThis happens when using Umbraco Forms 7.0.6 on Umbraco 7.12.3
Steps to reproduceWhen going back to the first page the validation should be aware of the "Current files" and if there are any the validation should pass.
After uploading file B and submitting the form, for both file A and file B to be present when checking form entries in the backoffice.
Actual resultWhen going back to the first page the validation fails prompting the user to upload another file even if there is a "Current file"
As 2 files have now been uploaded and submitted to the form, they should both appear on this entry in the backoffice
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4