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

    Summing products quantities on form

    Asked by Maggie2140 on February 08, 2016 at 11:14 AM

    Is there a way to reference the quantity from payment wizard rather than the selection itself

    I want to have a calculated field that tells me the sum of quantities in every item selected in the payment wizard, not the dollar amount.  When the calculated field entry box comes up it only lets you enter the name of the payment wizard field but I want to drill down further to count.  Can this be done?


    In the sample shown, if someone were to register say 2 individual shooters and 2 armed service shoots I want it to give me the number 4 for for total shooters.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike on February 08, 2016 at 01:01 PM

    We do not have any special options for quantity calculations within payment tools.

    As a workaround, you may consider making calculations with standard fields instead of the payment tools. In this case you will have more control over the calculations and values.

    1) How to perform calculation in the form.

    2) How to assign calculation value.

    3) How to pass a calculation to a payment field.

    Take a look at 'Calculated amount based on user selections and inputs' section of the next article to see it in action.

    Mastering Payment Form Integrations with JotForm

    Alternatively, there is a Sub Product option which can help you to list associated items within one product.

    Create Sub-Products Based on a Product Option

    If you need any further assistance, please let us know.