I'm using this in a public-facing webform. How do I show the list of files uploaded as in the module screenshot (https://drupal.org/files/project-images/2013-12-10_1310.png)?

All I see on the form is the "Add new file" text, browser and upload button. I don't see any list or message when a file is successfully uploaded. Is there a particular permission that needs to be set or some other setting that I've missed?

Comments

chalk’s picture

Hi, @sleepigrl

Module haven't specific settings. Try to check browser console for JavaScript errors. Do you use jQuery Update module in your project?

roki’s picture

File upload also does not work on my website. If I select a file and click the upload button it takes some seconds (depending on file size) an then the selected filename was removed from the file dialog but no uploaded file appears in the file list.
If I select one file and submit the whole form, the file was uploaded, but it is only posible to upload one file, no more. (config is set to unlimited file uploads)
I use webforms 7.x-4.0-beta3 and use jQuery Update (jQuery 1.7, also tested with 1.5 and 1.8). I see no JS errors. (same in IE and FF)
Do I have to configure anything else? (Many thanks. It would be great to have this module working ;-)

chalk’s picture

@RoKi, describe please configuration of Webform (components, multistep or not etc.). What additional modules for Webform do you use?

roki’s picture

In my configuration I use many aditional modules for webform (webform layout, webform multifile, webform rules, webform share, webform term options, webform validation), but it seems to be a problem with field group. I built a webform just with a text field and a field group with the multiple file field in it. With field group no file is uploaded, without field group the upload is posible.
Thanks again!

chalk’s picture

@RoKi

Thanks for investigation! I'll check it.

roki’s picture

I tried to solve the problem on my own, but it is to confusing for me.
I think the problem is in function webform_multiple_file_managed_file_submit and has something to do with the $parents when calling drupal_array_set_nested_value and _webform_client_form_submit_flatten.

Maybe this will help you?!

roki’s picture

Anything new belonging this issue in the new release?

chalk’s picture

@RoKi I have a good news for you: I reproduced bug and found solution :) Few minutes and it will be fixed

  • Commit 241b0b1 on 7.x-1.x by Chalk:
    Fix values processing for multiple_file components in fieldsets  [#...
chalk’s picture

Status: Active » Closed (fixed)

@RoKi reply please about your results after testing

roki’s picture

Hi Chalk, file upload within a fieldset now works fine. Thank You.