form calculation not working

  • SalemMontessori
    Asked on December 5, 2018 at 2:13 PM

    Hi, I am back with another question regarding this form. At the end of the form, I need the form to add the three sub-totals I have listed, plus add on surcharges that will incur. I have that calculation set up in the form in this field: Sub-Total + Online FeesThe online fees are 2.9% + .30, and I have this calculation set up but it's not adding in the 2.9%, only the 30 cents. I'm not sure why that's happening.

    Can you help me get the form to calculate as I need it to?

    https://form.jotform.com/82834664884169

    Thank you, Betty

  • Richie JotForm Support
    Replied on December 5, 2018 at 2:16 PM

    I have checked your form and it seems you may have added an open and close parenthesis inside your form calculation that is causing you the issue.

    form calculation not working Image 1 Screenshot 30

    Kindly remove the parenthesis and use the calculation directly.

    form calculation not working Image 2 Screenshot 41

    Please give it a try and let us know how it goes.


  • SalemMontessori
    Replied on December 6, 2018 at 1:08 PM

    Hi there, thanks for the quick response. Unfortunately it did not do the trick. The 2.9% is still not being calculated. It's also adding $1 to the amount when I choose 1 child, and that should not add anything to the amount. Can you help me get my math and calculations as they should be? I'm still off somewhere.

    Thanks, Betty

  • Richie JotForm Support
    Replied on December 6, 2018 at 2:47 PM

    We can breakdown the fees to avoid confusion.

    First, we get the calculation for the sub total.

    form calculation not working Image 1 Screenshot 50

    Then we calculate the total online fee.

    form calculation not working Image 2 Screenshot 61

    Lastly, we get the total fee by adding the sub total and total online fee.

    form calculation not working Image 3 Screenshot 72

    Sample screenshot:

    form calculation not working Image 4 Screenshot 83

    Sample Form:https://form.jotform.com/83396053342962

    Hope this information helps.

    Please give it a try and let us know if you have further questions.

  • SalemMontessori
    Replied on January 7, 2019 at 12:28 PM

    That works perfectly, thank you!