Page 1 of 1

Problem with multiple file upload

Posted: Sun Nov 24, 2019 9:13 am
by goldpompon
Hi, can someone help me with form my page? Unfortunately, there are difficulties with uploading multiple files. In File upload field settings, "Accept multiple files" is checked. Despite of the fact that my form sends only one file. How can I solve the problem? For any help would be very grateful. Here is a link to the contact page: http://www.klavierstimmer.com/kontakt.php Image :roll: :?:

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 10:42 am
by Pablo
In HTML to accept multiple values, the input name must have brackets.
For example:

Code: Select all

FileUpload[]

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 11:24 am
by goldpompon
Thanks, where can I change that way?

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 11:28 am
by Pablo
You can set the name in the properties of the file upload object.
See your own screenshot.

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 12:31 pm
by goldpompon
I have changed. Unfortunately, I can not get a file now. Image

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 12:43 pm
by Pablo
It looks like you have added a lot of spaces after the brackets.

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 12:53 pm
by goldpompon
I changed again. But nothing happens!

Re: Problem with multiple file upload

Posted: Sun Nov 24, 2019 1:19 pm
by Pablo

Re: Problem with multiple file upload

Posted: Tue Nov 26, 2019 12:01 pm
by goldpompon
Extension does not fit the design. At the moment only one file will continue to upload with my form possible. I wish in the future the problem will be solved in the program. :wink:

Re: Problem with multiple file upload

Posted: Thu Nov 28, 2019 5:42 am
by GrahamW

Re: Problem with multiple file upload

Posted: Fri Feb 28, 2020 7:48 pm
by tccieslak
I have set the Accept Multiple Files in the upload form and have set the FileUpload property to add [] with no spaces. I can select multiple files and the selection box states that 2 files have been selected, yet when I submit the form, the email arrives with only the last file selected attached to the email. Any help on this problem?

Re: Problem with multiple file upload

Posted: Fri Feb 28, 2020 9:49 pm
by Pablo
The built-in PHP script does not support multiple files for a single input field.
This option requires a custom script.