I was able to track down why I could not upload files. The page break issue is the problem. If there is more than one page, and the file upload is not on the page with the submit button, the system seems to not cache the information. However, the rest of the information is added to the database and emailed. This is definitely a bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | webform_file_pagebreak.patch | 19.22 KB | quicksketch |
Comments
Comment #1
quicksketchThanks, this is a known issue. You're currently warned that the file component will not work on multipage forms when you insert a pagebreak component. It's going to take some tricky work to get files working on multipage forms, but yes I'd agree: it's a bug.
Comment #2
quicksketchThis will not be fixed in the 2.x version of Webform, considering it would require extensive reworking of the File Upload component. Moving to the 3.x queue.
Comment #3
bgildea commentedI would like to see this fixed... Thanks.
Comment #4
quicksketchThis patch finally corrects the behavior of File uploads. It makes it so that uploads are successfully handled between pages upon clicking any button (Previous, Next, Save as Draft). Now that we're on a Drupal 6 and higher version, we're also able to convert submission data to using File IDs (FIDs) instead of serialized data, so we can later do better Views integration in #680386: Views integration for the webform_submitted_data table.
Comment #5
quicksketchCommitted.