Conditional Logic Not Working

  • Bledsoe_Mason
    Asked on June 5, 2020 at 1:59 PM

    The forms we're using aren't following the conditional logic. We have it set up to do tiered pricing and sometimes it will show the right number and other times it will show and outcome corresponding to the wrong conditional logic. The outcome in the screenshot should be $37.90 but it's showing $25 Please help!

    Jotform Thread 2371298 Screenshot
  • Basil JotForm Support
    Replied on June 5, 2020 at 4:04 PM

    Hi,

    I have tried testing the link that you provided and I was unable to replicate the issue, the calculation was working fine for me.

    1591386677test page Screenshot 10

    but I found out that there is an issue when using numbers 100 or 1000.

    1591387205number 100 Screenshot 21

    The issue is happening because your rules are set up incorrectly, You are using "if any of the rules are matched" when you have two conditions.

    1591387385Any Screenshot 32


    You need to change the rules to "if all the rules are matched"

    1591387443all Screenshot 43

    This should fix the issue. Let us know if you require further assistance.