Calculated total in my form is no longer calculating.

  • KehilasTT
    Asked on January 21, 2019 at 4:09 PM

    url: https://form.jotform.me/90126096443455

    "total tickets" adds up all of the number fields above for the number of tickets people want to buy.

    "Calculated total" = "Total tickets" * 15

    The PayPal field inherits "Calculated total" and initiates a PayPal payment.

    I am trying to use conditional statements to change the value of "calculated total". If someone wants 10 tickets, "calculated total" should be 100 instead of 150. The problem is that when I do that, when "total tickets" equals 10, the math works.  If "total tickets" equals anything but 10 the field doesn't calculate at all.  For a microsecond you can see the number, but then it goes blank.

    Please help.

    Jotform Thread 1707731 Screenshot
  • KehilasTT
    Replied on January 21, 2019 at 4:23 PM

    I figured it out.  Once the conditional statements are in place, the original calculation done by "Calculated total" as set up in the build section no longer works.  I had to add a conditional statement that if "Calculated total" does not equal 10, "Calculated total" = "Total tickets" *15, which was the original math to be calculated by "Calculated total"

  • Jed_C
    Replied on January 21, 2019 at 5:33 PM

    It will need to satisfy the condition for it work. It's like you are binding the field to a conditional rule. If you want a separate result, try adding another field that is not part of the condition.

    I just checked the form calculation and yes, it is now properly calculating. Please let us know if you have any more questions or if you need further assistance.