For a form using the below example if a user selects "football" then I would like fields 2 and 3 display (fields 4 and 5 would be hidden). If volleyball is selected then fields 4 and 5 display(fields 2 and 3 would be hidden)
1-Select Sport (Football/Volleyball)
2-Have you ever had a concussion (yes/no)
3-If you did have a concussion or showed symptoms of a concussion do you agree to report your symptoms to a coach (yes/no)
4-Have you ever broken your hip (yes/no)
5-Fill in the amount of traveling tournaments you can participate in during 2017
Solved! Go to Solution.
Just for further clarification, they would select a choice field (sport in the above example). When that choice field is selected than I would like to hide other fields which may be choice fields or single line fields. There are no look-ups or mutiselect fields.
Regarding your rendering question - how would I check this ? When I go to the form I see Control Settings - Choice for the field I want to evaluate, but nothing regarding dropdown/radio/buttons. To me visually it look likes a normal drop-down.
As Marian has pointed out, it depends on what types of controls/columns you have used to pose your questions. I've got a few examples for you below using a choice field for the sporting type and a yes/no field for your questions. You'll note that yes/no actually renders the answer as true/false rather that yes/no whereas the choice field just uses the text.
To hide the football questions when the user has selected volleyball, you only need one rule:
To hide the volleyball questions, you need a very similar rule:
but you can go a step further and only show the symptoms question only if they have ticked the concussion box. Note that both rules have been applied to this field (and label).
Hope that helps.
I 'd just add, that if you need to apply formatting rules to several controls it's a good practice to place all such controls into a common panel and apply rule to the panel instead of single controls. this makes better/more reliable experience with controls resizing/repositioning as single rules are applied
Regarding your rendering question - how would I check this ?
it's one of control's settings
Thanks for the tip on formatting as that will impact my form. Obviously I can Google, but if you knew of a helpful link on how to create the panel/provide more background that would be ideal.