JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
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
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.
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
Please let us know if you will need further guidance or clarification.
Thanks to you both, I'm going to try them out. :-)
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.
I suggest to clone my colleague's form so you can figure out the setup and see the existing submissions.
By the way, it is the "Update/Calculate Fields Value" condition if this is what you mean.
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!