Can you help me write a "Condition"

  • Profile Image
    BiscuitFoundation
    Asked on October 01, 2015 at 09:28 PM

    Can you help me write a "Condition" where if a person buys 3 or more candles the price drops from $9 each to $8

  • Profile Image
    grade4pagasa
    Answered on October 01, 2015 at 11:59 PM

    hi BiscuitFoundation. Randy here, a fellow JotForm user. 

    in the example form below, i created a condition for the candle price text box with a default value of 9, which will turn to 8 once the number of candles spinner field is greater than 2 (condition # 1).

    conditions #2 & #3 are optional. they're just placed to make sure that the candle price text box is set to blank if the number of candles spinner field value equals to blank or zero.

    hope this helps for the meantime while waiting for the reply / solution of JotForm Support Team.

    - Randy

  • Profile Image
    Sammy
    Answered on October 02, 2015 at 04:56 AM

    The approach provided by Randy will address you needs.

    I made some changes to the conditions to insert zero if the candle quantity is not specified in order to prevent validation errors.

    You can clone the from from this URL

    http://www.jotformpro.com/form/52741802185959

     

    Please let us know if you will need further guidance or clarification.

  • Profile Image
    BiscuitFoundation
    Answered on October 02, 2015 at 05:38 PM

    Thanks to you both, I'm going to try them out.   :-)

  • Profile Image
    BiscuitFoundation
    Answered on October 02, 2015 at 05:49 PM

    Sammy, what you wrote is exactly what I'm in need of. I feel a bit silly, but when I select the Condition" which choice do I choose and edit?  I'm a bit a new at using this feature.

     

    Thank you

  • Profile Image
    EltonCris
    Answered on October 03, 2015 at 04:00 AM

    I suggest to clone my colleague's form so you can figure out the setup and see the existing submissions.

    Form: http://www.jotformpro.com/form/52741802185959

    By the way, it is the "Update/Calculate Fields Value" condition if this is what you mean.

    Here's how: 

    This is the new condition layout which was released to random users, so if you see it like this, pick the 2nd option.

    If you are getting the old condition layout, pick the 6th option.

    Hope this helps!