Having trouble with calculation

  • thermography
    Asked on July 1, 2022 at 1:12 AM

    Hello,


    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.


    1656652313 62be8219cacfc  Screenshot 10

  • Marvin_J
    Replied on July 1, 2022 at 3: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.

    1656660437 62bea1d575fc3  Screenshot 10

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


  • thermography
    Replied on July 1, 2022 at 9:09 AM

    1656680924 62bef1dcaaecf  Screenshot 10


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


    1656680974 62bef20ecc22a  Screenshot 21

  • Marlon_T Jotform Support
    Replied on July 1, 2022 at 9: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.

    1656682398 62bef79e22e74  Screenshot 10

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


  • thermography
    Replied on July 1, 2022 at 9: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?


    1656683572 62befc349b934  Screenshot 10

  • thermography
    Replied on July 1, 2022 at 9: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.

  • Richie JotForm Support
    Replied on July 1, 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.

    1656685893 62bf054508c67 firefox cFYp00E Screenshot 10

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

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