Closed (duplicate)
Project:
Webform
Version:
6.x-2.1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2008 at 14:37 UTC
Updated:
6 Oct 2008 at 02:31 UTC
When submitting the form - the file fields are not processed. they don't upload to the upload folder. I've checked the permissions and given the entire "files" folder full read/write to no avail.
Drupal does not return any errors nor is there anything in the log.
Any ideas?
It seems to be an old bug that keeps propping up... or is it just me having this problem?
Comments
Comment #1
meekamoo commentedOK I've figured out the problem.
Webform does not upload files when the file components are inside a fieldset.
Can anyone else replicate this?
Comment #2
meekamoo commentedWell I've gotten around it by moving the items into the fieldset using jquery.
Here is what I did.
I used the webform-form.tpl.php and I inserted the jquery at the end:
$(document).ready(function() { $('#DIV-OF-COMPONENT').prependTo("#DIV-OF-FIELDSET"); });eg in my usage I had:
$(document).ready(function() { $('#webform-component-cv').prependTo("#webform-component-upload_files"); $('#webform-component-motivation').prependTo("#webform-component-upload_files"); });Hope it helps anybody out there.
Only problem is that it adds it before the description. A minor amount of tweaking will be necessary to move the description around too.
Comment #3
yuit commentedI confirm the bug. I have just bumped into the exact same problem, with the 5.x-2.1.3 version of the module. The 'file' fields do not work as they should when they are inside a fieldset => nothing is uploaded when the form is submitted.
Server config: Windows 2000 Server ; Apache 2.0.63 ; PHP 5.2.6 ; MySQL 5.0.67 ; Drupal 5.10.
Comment #4
yuit commentedduplicated comment removed.
Comment #5
quicksketch#262154: Empty file upload w/fieldsets