What I did:
* create two page form and enable save draft
* add file type field for file uploads on page 1
* upload file and save draft of submission
* on viewing the draft the file field is now empty, ie the filename of the uploaded file didn't load
* on submission of the form the filename is viewable through admin and by the user when reviewing their submission
Is there a way for the filename of the uploaded file to be loaded into a form that has been saved as a draft? Ordinary users ( and even some extraordinary users) find this confusing and worry that their original file has been lost.
This was tested on a new install of webform module on a site with these modules (admin, admin_menu, pathauto, poormanscron, token, google analytics, wysiwyg).
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | webform.6x.patch | 1.59 KB | zbricoleur |
| #4 | webform.patch | 1.54 KB | zbricoleur |
Comments
Comment #1
quicksketchThanks for the report. This should be solvable with a little tweaking to our file component handling. Does the link to the file show up properly when going back and forth between pages (without saving as draft)?
Comment #2
timhomewood commentedYes everything else works perfectly. Thanks for looking into this.
Comment #3
zbricoleur commentedsubscribing
Comment #4
zbricoleur commentedpatch against HEAD
Comment #5
zbricoleur commentedand patch against the 6.x-3.4 version
[edit] ...sorry, just learning the ropes here, I see I overlooked a naming convention for patches...
Comment #6
quicksketchLooks great, works great. Committed to both 3.x branches. Thanks. :)