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

    Hide field function is not working

    Asked by djccraig on February 06, 2015 at 01:28 PM

    Hello,

    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.

    Please help!

     

    Page URL:
    https://www.christianheritageonline.org/events/day-at-the-capitol/onli<br/>ne-day-at-the-capitol-registration/

    payment form conditions hide field condition priorities
  • Profile Image

    Answered by Ben on February 06, 2015 at 03:55 PM

    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