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

    Form calculation widget not showing the correct total

    Asked by htoffice on March 27, 2017 at 02:25 PM

    I am trying to input certain conditions within my "Hot Dog Thursdays-Spring" form, depending on the Grade chosen a certain amount i.e.-$36.24 (for grades 1-2, 4-7), should be calculated in the Total area.  But the total is not adding up if someone has more than one child entered on the form.   Please help. 

    Thank you, Rena

  • Profile Image
    JotForm Support

    Answered by Jan on March 27, 2017 at 06:01 PM

    This is happening because you are just using the condition to pass data to the calculation widget field. I would recommend you assigning a calculation value on the dropdown options. After that, you can use the Form Calculation widget to add the value of each field.

    Please check this demo form: https://form.jotformpro.com/70857177853974. You can clone it if you like to. Here's a guide on how I created that demo form:

    First, assign calculation values on the dropdown options. You can do that in the Properties > Surveying tab. For the 1st option, it should b "0" since by default, it is blank. Please take note that the values are separated by break lines.

    Please check guide for more details: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value.

    After assigning the calculation values, you need to insert a Form Calculation widget. Create a formula that adds the value of each dropdown.

    After doing this, you can just pass the calculated value to the payment integration. Here's a guide: https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field.

    Here's the result:

    Hope that helps. If you need further assistance, please let us know. Thank you.

  • Profile Image

    Answered by htoffice on March 28, 2017 at 11:51 AM

    That worked great!  Does this work for Checked buttons as well?  And if they choose multiple options will it reflect in the totals?  I added the button in the calculation matrix.  Do I need to do something else there?

  • Profile Image
    JotForm Support

    Answered by Jan on March 28, 2017 at 03:00 PM

    Yes, it is possible to assign calculation in Check Box field or Multiple Choice. It can be found in the Properties > Surveying tab.

    I checked your form and I can see that the total is calculating correctly.

    Let us know if you need further assistance. Thank you.