Summing products quantities on form

  • Profile Image
    Asked 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.

  • Profile Image
    Answered 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.