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

    Is there a way to calculate file uploads?

    Asked by dvddarling on December 02, 2015 at 10:36 PM

    I am creating forms for a digital scrap booking dvd business. The prices are based on packages. These particular packages have a set number of pictures and a set number of captions the person can have. However, up to 5 pictures can be put on the same frame; so if the package says they are allowed 30 photos, each page may contain a different number of photos ranging from 1 to 5. For this reason, I want to know if there is a way to keep track of the amount of uploads they have made as they go along so as not to go over the limit provided in their package? If possible, would their be a way to do this for their captions as well?

  • Profile Image
    JotForm Support

    Answered by BJoanna on December 03, 2015 at 04:19 AM

    Thank you for contacting us.

    If I understood you correctly you want to allow your users to upload different number of files base on package selection.

    You can achieve that by adding multiple File upload fields and than setting conditional logic to show one or more File upload field based on user selection. When you add File upload field to your form turn ON Allow Multiple option and set Maximum number of files for each field to e.g. 5.

    Then add radio button field to your form and set conditional logic to show/hide upload field based on selected option is radio button field.

    Here is my demo form: https://form.jotform.com/53361934878973? 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by dvddarling on December 03, 2015 at 09:48 AM

    Thank you for your response. However, I am not having a problem with creating multiple upload fields. I want to know if there is a way to track the total amount of uploads that have been uploaded? For instance, if 3 uploads have been uploaded in the first file upload space and 2 uploads in the second space, I want a tracker that will count the amount of uploads in total, in this case it would read "5". In the next field if they upload three more, the tracker would change to "8" and so on and so forth. I want to know if a tracker similar to this is available? My apologies if I am not explaining this very well.

  • Profile Image
    JotForm Support

    Answered by BJoanna on December 03, 2015 at 11:29 AM

    Thank you for providing us additional information. 

    Unfortunately it is not possible to count the total number of uploads that have been uploaded when using File upload field with Allow multiple option turned ON. 

    Possible workaround would be to use single File upload fields and than to use conditional logic to pass value to other field if file upload field is filled. You would need to add additional text box fields to your form and then pass values to that filed if file upload field is filled. 

    And finally add calculation widget to calculate total number of files that have been uploaded to your form.


    Inside of this guide you can find how to perform calculation in the form:


    You an also hide additional text box field to which you are passing values if upload filed are filled, so they will not be visible to your users.


    Here is my demo form: https://form.jotform.com/53364641184961? 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.