You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a multi-page form with the save button enabled. When I use the save button, the file uploads on the current page get saved correctly. However, the file uploads disappear when I submit to go next or back.
Steps to reproduce
Create a multipage form
Add repeater field with file upload child field
Submit field to go next/back
Form settings
Multi-page form: Yes
Submission Method: Page Reload
Client-side Validation: Yes
Custom Form Templates: Yes
Craft CMS version
4.4.11
Plugin version
2.0.29
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered:
seantimlin
changed the title
File uploads disappearing when used inside repeater field
File uploads disappearing when used inside repeater field on a multipage form
May 23, 2023
This would be the correct behaviour for file-page forms. This is because we can't populate a <input type="file"> with already-uploaded files. Which is why when navigating back a page in a form, you'll be shown the following:
When proceeding, the file won't be removed (it's already been uploaded), so there's no issue. Or, are you seeing something different on your end?
When I go back/next and then return to the page with the file upload field, it's empty. The incomplete submission in the CP has no files listed either. The repeater instances are saved, but the files are gone.
Ah yes, I see what you mean now. That's quite strange behaviour, and from what I can tell, that seems to be coming from the parent Assets field (which we inherit from Craft). I'll investigate.
Describe the bug
I have a multi-page form with the save button enabled. When I use the save button, the file uploads on the current page get saved correctly. However, the file uploads disappear when I submit to go next or back.
Steps to reproduce
Form settings
Craft CMS version
4.4.11
Plugin version
2.0.29
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: