Hi,
Tried the D7 version on a web form... The file upload buttons did not appear at all, i.e. no field was rendered at all.
Here is the HTML for the fieldset it was placed in...
<fieldset class="webform-component-fieldset form-wrapper" id="webform-component-files-field"><legend><span class="fieldset-legend">Files</span></legend><div class="fieldset-wrapper"><div class="form-item webform-component webform-component-multifile" id="webform-component-files-field--upload-files">
<div class="form-item form-type-file form-item-files-files-field-upload-files">
</div>
<div class='outer'><div class='inner'></div></div><script type='text/javascript'>
/* <![CDATA[ */
if (typeof MultiFile_fields == 'undefined') {MultiFile_fields = []}MultiFile_fields.push({id :'MultiFile-identifier-upload-files', properties : {accept:'gif|jpg|png|bmp|eps|tif|pict|psd|txt|rtf|html|odf|pdf|doc|docx|ppt|pptx|xls|xlsx|xml|bz2|dmg|gz|jar|rar|sit|tar|zip', STRING: {remove:'Remove',denied:'You are kindly asked not to submit $ext files in this form.',duplicate:'The file $file has already been selected and will be uploaded once you submit this form.'}}});if (window.jQuery) { jQuery('input[type=file].multi.MultiFile-identifier-upload-files').MultiFile(MultiFile_fields.pop().properties)}
/* ]]> */
</script><input type="hidden" name="submitted[files_field][upload_files][_fids]" value="" />
<input type="hidden" name="submitted[files_field][upload_files][_old_fids]" />
</div>
</div></fieldset>
Comments
Comment #1
jelle_sCan you post a screenshot of the setup of your webform?
I placed a multifile component inside a fieldset and everything displays as it should.
Comment #2
aitala commentedUpdating - I got it to work by adding a description to the field. Now things seem to work just fine. Very odd.
Eric
Comment #3
jelle_sI still can't seem to reproduce this. I have a webform with a multifile component inside a fieldset without a description and everything shows up as it should.
Comment #4
dan_metille commentedHi,
I'm getting the same issue, inside or outside a fieldset, with or without description.
I'm joining a screenshot, please ask if you need any other information.
Comment #5
dan_metille commentedHere is a screen shot from the editing side.
Comment #6
dan_metille commentedFor me, the problem was about the 'inline' label display. Putting it 'above' solved the issue.
Comment #7
akshita commentedCould you please let me know how you got resolved this issue.
I have installed and enabled Webform (), Webform multifile (7.x-1.x-dev) and Transliteration (7.x-3.0+7-dev (not sure why the version is displayed like this on my module list)
Requirement: Upload multiple files and send them as attachment in the email
Issue : I could able to upload multiple files but there are not sent as an attachement or saved to the location on the server.
Please do the needul and let me know if any patches are required to be applied.
Thanks in advance
Comment #8
Anonymous (not verified) commentedFYI - I also found that that problem only exists if trying to use an inline label. I can work around that but it would be nice if that could be addressed in a future release.
Thanks!
Comment #9
pthornhi6 commentedI just experienced this same problem.
My solution was: the 'inline' label display. Putting it 'above' solved the issue.
Comment #10
navalogan commentedTHanks pthornhi6 it's worked for me!