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.
How to Setup Show/Hide a Field Condition for Several Options?Asked by SCMarket on October 06, 2015 at 08:58 PM
I am putting in conditionals. The first one works and all the others do not. I am trying to hide certain fields if a company name. Can someone take a look at this and let me know what I might be doing wrong?
Thank you very much!
name all and company
I've cloned your form and tried your conditions. You set conditions for only two company name, so the conditions are working for only those two companies.
If your settings is going to same for all other companies' options, you can simply add new "IF" statement on a same condition.
To do that,
1) Open "Conditions" and click to pencil shaped icon to edit current condition.
2) On the upcoming window, you will see the settings for current condition. All you need to do is adding new "IF"s to that condition. Repeat this for every company option.
After this operation, you don't need other "Show/Hide a Field" condition, because we've already added this condition for all companies in one "Show/Hide a Field" condition.
Also, you can preview or clone the demo form from the link below. I added all the companies into one "Show/Hide a Field" condition.
If you stuck somewhere in the process or need extra information, please let us know.
Have a nice day.
Thanks! that's very helpful. Some of the conditionals need to be adjusted but when I go into the conditions field it gives me the old view which is probably why it's not working that well when I add the hide conditions. It doesn't give me the new conditions column like the one above
I get this for conditions, not the newer one.
Firstly, sorry for this issue. Currently, we are testing modern look, so some users have it randomly, some users not.
However, there is nothing to worry about, because old wizard has the same feature.
To add multiple "IF" state into a same "Show/Hide a Field" condition,
After opening the "Show/Hide a Field" from the conditions, click to "Add New Rule" to add a new "IF" state, then the process continuous on the same way with the previous answer.
If you need any extra information, please let us know.
Thank you Mert for your help. I actually did exactly this for all of the companies and then went into preview. I did the If field and then the then field (for example if "select your company name" "equals" "alaska seafood" ... "then" "hide multiple" and I click the guest names that should be hidden.
Am I doing the hide multiple part incorrectly? It just doesn't calibrate when I preview it. All the guest fields stay the same and nothing shortens.
Have you tried using the Form Collapse field instead to hide multiple fields without selecting all of them? Here's a guide that you can refer to: http://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool
I cloned your form and also checked it directly. I see that you are using multiple "Hide" actions on each field. I would advise using "Show Multiple" instead. When you used "Show Multiple", it will only show the fields if the conditions have been met, when the condition is NOT MET, it will automatically HIDE the said fields.
To select multiple fields, press CTRL+click on the fields you want to select.
Please do make sure that you are using the same actions in all of those conditions that involved the same fields to avoid conflicts, which means if you use "Show Multiple" to one condition, you should use that same action to the other fields.
Do let us know if that works.