Conditional logic for Update/calculate field not working

  • johnvictorvj1
    Asked on February 5, 2021 at 11:02 AM

    This is my conditional logic which I'm sure it's correct, but its not working.

    1612540782 601d6b6e7a948 1 Screenshot 10

    I've even try using other method but its not working.

  • Kat JotForm Support
    Replied on February 5, 2021 at 12:29 PM

    Hi there,

    Happy to help!

    I made a clone of your form 210348816564156 to test out the condition and it seems to be working as expected:

    1612546104 601d803811c6e widget Screenshot 10

    I see that, within the Form Builder, you have several different form calculation widgets that seem to be calculating the tax add-on as well - is this correct?

    When you say that it is not working: are you simply wanting the first Price field to be input into the My Products field? If so, you may need to redo some of the form calculations to ensure that these are not overriding your condition.

    We await your response.

  • johnvictorvj1
    Replied on February 5, 2021 at 2:23 PM

    tax addon? i don't think so

    not tax

    Let me explain, there are two prices, when i click yes, the two prices should be added together as the product price, and when i click no, only the first price should be used as product price.

    that is what I'm trying to do. I've tried other conditional logic, non of them worked including the current when.

    when i click no, the price should change to only the first price and "yes" for both prices added together

  • Kat JotForm Support
    Replied on February 5, 2021 at 3:47 PM

    Hi there,

    Thank you for clarifying with me!

    When I checked the settings of your My Products field, I see that it is currently getting the price from the hidden field above:

    1612557344 601dac20a2d82  Screenshot 10

    This is overriding the condition you have set as the Total Price ($) field has it's own calculations added:

    1612557705 601dad89038dd  Screenshot 21

    So, you would need to set the condition for the Total Price ($) field that the My Products field gets the value from.

    Could you please try this and let us know if the issue persists?

    If it does, if you could please send us a screenshot or screen recording of the issue as we are unable to replicate it, that would be most helpful! Here's how-to-add-screenshots-images-to-questions-to-the-support-forum

    Thank you!

  • johnvictorvj1
    Replied on February 5, 2021 at 4:44 PM

    👍👍 Problem solved, thanks for that

  • johnvictorvj1
    Replied on February 5, 2021 at 5:20 PM

    Ok, i mistakenly deleted Go-to payment button for PayPal standard, now i cant get it back, I tried to undo it, it didnt come back

  • Kat JotForm Support
    Replied on February 5, 2021 at 6:53 PM

    Hi there,

    Happy to help!

    You can always re-add the Go To Payment button: I see in my cloned form that this is the Submit field.

    So, you could add in the Submit field and then customize it again:

    1612569187 601dda63a3563  Screenshot 10

    I hope this helps! Please let us know if we can assist further.


  • alesmeska
    Replied on February 12, 2021 at 5:19 AM

    i am trying to pay my tax from my account but there are so many errors are showing in the device when i try to click on the payment button i am trying it for there first time and facing failure can some one guide me the right solution ?
  • Sam_G
    Replied on February 12, 2021 at 5:35 AM

    Hi Alesmeska,

    We have moved your concern to ticket https://www.jotform.com/answers/2893922.

    We will respond to it shortly.

    Thank you.