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.
Hide field function is not workingAsked by djccraig on February 06, 2015 at 01:28 PM
I've previously used a very simple condition on a text box to hide the payment form when specific code is entered...and it worked just like it was supposed to on this form: https://www.christianheritageonline.org//events/annual-conference/online-conference-registration/
I tried the same thing on another form, and it's not working: https://www.christianheritageonline.org/events/day-at-the-capitol/online-day-at-the-capitol-registration/
When you enter "admin1024" into the "Discount Code" field, it should hide the payment form, but it doesn't.
I took a look at the conditions and the reason why this happens is because of the condition for overall total field.
If Overall total is equal to "$0"
The reason is that it will show the billing, even if we change its priority. The only way to resolve this is to create another condition.
This way we have 2 conditions that say hide it and only 1 saying don't.
You can see it working here: http://form.jotformpro.com/form/50365945112957
If you want you can simply clone it into your account following these steps: How to Clone an Existing Form from a URL