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 to show multiple questions using Condition Statement

    Asked by vigon1988 on August 26, 2014 at 04:18 PM

    Hello,

     

    I am having trouble with the conditional formatting. I am trying to set up my form so that when a respondent chooses option x from a drop down, the non-applicable fields are hidden.

    The question in my form is the "select only one option from the mechanism of injury list" near the end of my form.  For example, if the respondent chooses "falls, trips and slips of a person" from the dropdown, I want all the following fields to be hidden aside from the field for "Group 0 - Falls, trips and slips for a person" .

    When setting up the conditional formatting, it only works when I select that first option of "falls, trips and slips of a person" and not for any other options.  Even though I have made the same conditions for the other options in the drop down (see uploaded screenshot).  

    Does anybody know what might be the issue here?

    Thanks,

    Nick

    Page URL:
    http://form.jotform.us/form/42374939423158?

    Screenshot
    hidden select conditions show multiple group fields show collapse
  • Profile Image
    JotForm Support

    Answered by jonathan on August 26, 2014 at 07:40 PM

    Hi Nick,

    Please review this user guide http://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool

    It will be easier if you add collapse field in the group of fields you wanted to group. This way your conditional statements will be easier to manage.

    AND by default you should always use SHOW Actions if you want to HIDE fields. If you observe how the condition statement works. If you use SHOW it will definitely HIDE the fields by default. (since its needs to be hidden before it can be shown)

    I used your form to show you how to do this. See screens below

     

    the final conditions is like this

     

    Here you can try my test form http://www.jotform.me/form/42377460705456 and you can see it working as intended.

     

    Hope this help. Inform us if you need more assistance.

    Thanks.

     

     

     

     

     

  • Profile Image

    Answered by vigon1988 on August 27, 2014 at 10:03 AM

    Thank you so much for you help! Everything works great now.

  • Profile Image
    JotForm Support

    Answered by david on August 27, 2014 at 12:15 PM

    Hi,

    On behalf of my colleague you are very welcome!  Please let us know if there is anything else we can help with and we will be happy to do so.

    Thank you for using JotForm!