Multi-upload button allows only one file per form submission

  • WhidbeyWrites
    Asked on December 15, 2014 at 1:18 PM

    I have "Allow Multiple" selected for my file upload control, but when users attempt to upload more than one file, they receive this error message:

    Multi upload button allows only one file per form submission Image 1 Screenshot 20

    How do I enable users to upload more than one file (so they don't have to fill out the entire form for each file submission).

    For now, I've worked around this by creating three upload buttons, but I'd prefer one button that enables multiple file uploads.

    Many thanks,

    Petra

  • Jeanette JotForm Support
    Replied on December 15, 2014 at 4:11 PM

    Hello Petra

    That's because the max file size you have set for your multiple upload field is set to 1024 kb which is 1MB . To increase this, simply add a zero, like on the picture, and it will upload up to 10 MB, remember each MB is 1024, so for 10 MB you must set 10240, for 5 MB = 5120 kb, etc.

    Multi upload button allows only one file per form submission Image 1 Screenshot 20

     

    BTW, you do not need to add more than one of those upload fields if this is set to multiple.

  • WhidbeyWrites
    Replied on December 15, 2014 at 4:53 PM

    Thank you for responding. Then isn't the error message wrong? If the combined file size exceeds the max file size setting, the error message shouldn't say "Only 1 file uploads allowed."

    Shouldn't it say something like, "Your file is too large. Please submit a smaller file. If you're submitting multiple files, you may need to submit them individually."

     

     

  • WhidbeyWrites
    Replied on December 15, 2014 at 5:15 PM

    I tried increasing the size to the number you indicated in the screenshot above, then tried uploading three PDF files whose sizes were 529 kb, 158 kb, and 23 kb for a total of 710kb (or well under the 10240 kb limit), and I still get the same error message. 

    Which is why I am using multiple upload fields at the moment (though I'd prefer not to).

  • abajan Jotform Support
    Replied on December 15, 2014 at 5:58 PM

    Hi Petra,

    With the jotform loaded in the form builder, please do the following:

    1. Right-click the first multi-upload field and then click Show Properties:

    Multi upload button allows only one file per form submission Image 1 Screenshot 30

    2. Change the Maximum number of files from 1 to 0:

    Multi upload button allows only one file per form submission Image 2 Screenshot 41

    A setting of 0 allows any number of files to be uploaded


    3.
     Close the properties, do likewise with the other multi-upload fields and save the jotform

    I'm not sure how the multi-upload fields got set to 1 in your jotform because the default is in fact 0. Hopefully, there isn't a glitch of some sort.


    Thanks

  • WhidbeyWrites
    Replied on December 15, 2014 at 10:46 PM

    That fixed it. Your screen shots and callouts are AMAZINGLY helpful.

    Well done. Thank you!

  • abajan Jotform Support
    Replied on December 16, 2014 at 3:26 AM

    You're most welcome, Petra. And thanks for your compliments.

    If there's anything else with which we may be of assistance, we'd be happy to help you.

    Cheers