What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    File uploads: allow multiple?

    Asked by grassmedia on April 14, 2014 at 09:01 AM

    Is it possible in some way to detect the number of files to be uploaded and then use that result in another field?  For example, the user uploads 5 images and I want to fill another field with 5 times x?

     

    ...then I guess the other question is, becuase images are uploaded when the submit button is pressed, what if an image fails to upload for some reason, can this be error trapped and then used in some way?

     

    Thanks in advance for any wisdom on this one!

    uploads fill thanks then
  • Profile Image
    JotForm Support

    Answered by jonathan on April 14, 2014 at 10:38 AM

    Hi,

    I am sorry, but there is no way for the upload field to be able to do detection like that.

    That capability can be possible only on the backend where the programmer can use the backend code.

    --

    The way I see it, your best option is to use instead several (at least 5x...) single upload field. 

    So, the form user will upload on each of the upload field. If any of this upload field fails you will be able to determine which one then.

    Hope this help. Inform us if you have further input on this.

    Thanks!

     

  • Profile Image

    Answered by grassmedia on April 14, 2014 at 10:51 AM

    Thanks - I thought that was probably the case but worth asking!