-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload fields don't store new uploads properly when there are validation errors #853
Comments
Changes in Product fields are also not stored when there are validation errors. |
Ran into this problem today. Seems like GravityView is moving the uploaded files from their temporary home to the GF upload directory before the validation is done, instead of after. So when validation fails, Gravity Forms expects them to still be in the temporary folder and can't find them. |
Following this thread in hopes of a fix. |
Still happening on GFs 2.7.2 and GV 2.17.1 |
FreeScout #75264. |
Context: The Edit Entry screen with any required field and a file upload field.
If the user selects a file and submits the form while a required field is empty, the update will fail (as expected).
However, when the page reloads, the file upload input isn't cleared.
That leads to confusion as the file isn't available anymore and must be uploaded again to be saved:
To reproduce:
Single File Upload Field:
This issue exists in 1.19.4
Multiple File Upload Field:
This issue does not exist in 1.19.4
Links to examples:
Video: https://monosnap.com/direct/YbEjhxEoccpX2Kn7ePErSTEWBKreQX
The text was updated successfully, but these errors were encountered: