Is there a way to calculate file uploads?

  • dvddarling
    Asked on December 2, 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?

  • BJoanna
    Replied on December 3, 2015 at 4: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.

    1449133695upload Screenshot 10

    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.

    1449134097show Screenshot 21

    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. 

  • dvddarling
    Replied on December 3, 2015 at 9: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.

  • BJoanna
    Replied on December 3, 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. 

    Is there a way to calculate file uploads? Image 1 Screenshot 50

    Is there a way to calculate file uploads? Image 2 Screenshot 61

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

     Is there a way to calculate file uploads? Image 3 Screenshot 72

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

    http://www.jotform.com/help/259-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.

     

    Is there a way to calculate file uploads? Image 4 Screenshot 83

    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.