What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can you help me write a "Condition"

    Asked by BiscuitFoundation 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

    Answered by grade4pagasa 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

    Answered by Sammy 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

    Answered by BiscuitFoundation on October 02, 2015 at 05:38 PM

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

  • Profile Image

    Answered by BiscuitFoundation 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
    JotForm Support

    Answered by EltonCris 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!