You can create rules and conditions to build a dynamic form. Field Rules allow you to show or hide fields based on how someone has filled out other fields in the form. This allows you to customize the experience of people filling out your form, making sure they only see fields relevant to them.
To create Field Rules:
To create Field Rules, you need a form with at least two fields: one for the condition and the second for the action (to be shown or hidden).
|Show only when the condition is met—essentially you choose when to display a field on a form. The field is hidden when the condition isn’t met.
When a field is shown, the rules that refer to that field are reevaluated. All the conditions that use the previously hidden field will evaluate to true.
|Hide only when the condition is met—essentially you choose when to hide a field on a form. The field is shown when the condition isn’t met.
When a field is hidden, the rules that refer to that field are reevaluated. All the conditions that use the previously shown field will evaluate to false.
If a required field gets hidden, it's won't be required anymore—the person filling out the form will be able to submit the form without filling it out.
If any Field Rules conflict, you’ll see a warning when you save. Your form will still work if you don't make any edits, but in the event that someone taking your form meets both conflicting conditions, your form will only follow the rule that comes last (the higher number) in the list.
For example, if rule 1 shows a field and rule 2 hides that same field, rule 2 would take effect if someone met both conditions and we would hide the field because rule 2 (the higher number) comes after rule 1.