How can I tally the total quantity of products selected on my form?

  • Profile Image
    Asked on January 17, 2018 at 06:43 PM

    I would like a field with the total quantity of items selected.

    How can I do this please?

  • Profile Image
    Answered on January 17, 2018 at 07:53 PM

    I have been checking your form and I can see you have currently a payment integration that automatically calculates the total on your form, you have also the total in a Form Calculation widget:


    However, you may take a look on the following guides in order to perform calculations on your form:

    Here is a simple form that will show you how a value is passed over to the calculation widget: 

    I hope this helps. 

  • Profile Image
    Answered on January 17, 2018 at 08:50 PM

    Thanks but you seem to have misread my question.

    I do not need the total.

    I need a field with the total quantity.

    In the screenshot the answer would be 5

  • Profile Image
    Answered on January 17, 2018 at 10:11 PM

    Apologies for the confusion and thank you for the details, so if you need to get the total quantities then it will not be possible while using the integration to sell products, you will need to switch to basic fields instead and perform the calculations following the guides I provided above. 

    Here's an example: 


    Feel free to clone my form and see what I did there.

    If you have questions, please let us know. 

  • Profile Image
    Answered on January 17, 2018 at 10:42 PM

     Thank you but I would like my list of products to be in a dropdown menu. is it possible to select quantity of items selected from a drop down menu?

  • Profile Image
    Answered on January 18, 2018 at 02:36 AM

    That is also doable with dropdown menus. Continuing the test form my colleague showed you, here's a cloned version of it with dropdown menus this time.

    I just picked the first 7 products on your form as an example to demonstrate how the idea will work.

    The key features you need to make this work would be CALCULATION VALUES and the FORM CALCULATION WIDGET.

    Related guides:



    I recommend you clone my form too so you can have a closer look on how it was setup.