Having trouble with calculation

  • Profile Image
    Asked on July 01, 2022 at 01:12 AM


    We are noticing with #3 the calculations are off. It is not calculating the correct number of bottles.

    Can not figure out why. Below is a picture of the exact question and conditional logic that is not calculating things correctly.


  • Profile Image
    Answered on July 01, 2022 at 03:31 AM

    Hi Matthew,

    Thanks for reaching out to Jotform Support. I've cloned your form and look in to the condition you have created but I can't find the one showing on your screenshot. Can you please send a screenshot that showing the number of the condition. See screenshot below on how to check the number.


    Once we hear back from you, we'll be able to move forward with a solution.

  • Profile Image
    Answered on July 01, 2022 at 09:09 AM


    it is this question with conditional logic. This question on the form only has 1 conditional logic attached.


  • Profile Image
    Answered on July 01, 2022 at 09:35 AM

    Hello Matthew,

    We apologize for the inconvenience it has caused you. Upon cloning and testing your form, I can't replicate the issue on my end. Have you tried removing the parenthesis on the first part of the operations?

    To confirm, the operations should be:

    Total Amount per... * Number of Days... / Grand total of U = Number of Bottles Needed For Their Protocol #3.


    If you have any further questions, please let us know.

  • Profile Image
    Answered on July 01, 2022 at 09:53 AM

    as you can see on any other condition for #1 and #2 and so on for any other asking the same question.

    The conditional logic is the same. Why would it matter on the paraenthesis for one and not the other 9 questions?


  • Profile Image
    Answered on July 01, 2022 at 09:55 AM

    do I need to just completely delete #3.... and then redo it since it is glitching.

    You can see in the submissions for #3 that the number of bottles is not calculating correctly for them, but the other calculate just fine.

  • Profile Image
    Answered on July 01, 2022 at 10:33 AM

    Hi thermography,

    I have checked your conditions and it seems to be correct.

    I have tested a cloned version of your form and it seems the value and calculation is showing correctly at my end.


    My cloned form:https://form.jotform.com/221813843451958

    Can you please try your form again and let us know how it goes?