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

    How show/hide fields upon choosing an option in a dropdown menu through conditionals

    Asked by locationres on February 10, 2013 at 03:25 PM

    I have been having a lot of trouble with using conditional logic to hide and show sections of a form with form collapse fields.  Based on the set up of the form builder and all documentation I can find it seems like what I want to do should be relatively straight forward but I have tried everything I can think of and I am about ready to give up on the site after wasting two days of work. 

    I would appreciate it if you could tell me if what I want to do is possible and if so what I'm doing wrong before I throw my computer against the wall.

    What I want to do is have one drop down menu with 5 options.  Then I want to split the rest of the form into sections.  When the user goes to the form they will see one required text field and the drop down but the other sections will be hidden.

    I want there to be a section that is only visible when options 3, 4 or 5 are selected (this section explains an additional fee to those users) and a section that will be used to collect general information that is visible when any of the 5 are selected.

    Then I would like to have another drop down where each option opens a different section (each section will be for a different type of event) with fields specific to that section (different options for specific types of events, eg: how many guests for a wedding, or whether a meeting will require a projection screen)

    I have tried multiple ways of doing this and it seemed to work at first but now some fields aren't being hidden, and some aren't showing up.

    I deleted the drop down field and replaced it with radio button field with the same 5 options to see if that would work but it didn't.  I deleted the radio button with 5 options and tried to add individual radio buttons in order to assign a condition to the individual fields but now the preview won't even update so I have no idea if that worked.  (that's another problem altogether, the form will not update for preview, it keeps showing a cached version)

    I also tried not separating the fields by form collapse fields and creating conditions for each individual field and that didn't work.

    I would rather not have to start over completely as I already created a couple dozen fields and I won't bother if what I want to do isn't possible in some way.

    Please help me figure this out before I waste any more time.  

    I have deleted all previous versions of the form so the only active form is the closeset I've come to making it work and the one that won't update.

    Thanks for your help,

    Evan G.

  • Profile Image

    Answered by jeanettebmz on February 10, 2013 at 07:22 PM

    "What I want to do is have one drop down menu with 5 options.  Then I want to split the rest of the form into sections  When the user goes to the form they will see one required text field and the drop down but the other sections will be hidden. each section can be stablished within a form collapse, however, if the form is not too large, show/hiding conditional logics should be applied directly to the options into the dropdown involved.

    "I want there to be a section that is only visible when options 3, 4 or 5 are selected (this section explains an additional fee to those users)  and a section that will be used to collect general information that is visible when any of the 5 are selected."

    To accomplish that add as many rules and actions as you want


     

    If you wish further assistance, please explain exactly the scenario you would like to accomplish and anybody in the support staff will be glad to assist you

  • Profile Image

    Answered by jeanettebmz on February 10, 2013 at 07:26 PM

    Please check this form example so you can see how it works