Conditional logic doesn't work if I use a $ in the calculation widget

  • dbgraphics
    Asked on March 23, 2021 at 7:51 PM

    I'm creating a condition which when satisfied will SHOW another field however, as the calculation is about money, I inserted a $ symbol before the calculation in the widget and the condition doesnt appear to recognise it. Works fine if I remove the $ but pretty much all my fields deal with monetary values.

    Is there a work around?

    Jotform Thread 2988855 Screenshot
  • Ahmed_S
    Replied on March 24, 2021 at 5:30 AM

    Greetings,

    I believe that the form in question is SilverGlide Cost Analysis Calculator, I've checked it and the problem is that the conditions can't do the Greater Than & Less Than comparison to none numeric values, since your calculation widget has "$" symbol, its value considered as a text which won't get the conditions to work, to fix this you can add another calculation widget with the same calculation but without the $ symbol and apply the conditions to it, you can set this field to be hidden as it will be needed for the conditions only

    Please let us know if you need further assistance, we are happy to help.

  • dbgraphics
    Replied on March 24, 2021 at 5:46 PM

    Thanks

    When I duplicate fields, the calculations don't replicate. Can I copy calculations?

  • Laura JotForm Support
    Replied on March 25, 2021 at 2:39 AM

    Hi,

    Unfortunately, it's not possible to copy the calculations, but you will have to enter them manually into the duplicated field.