Show and hide questions with form logic
Form logic lets your form respond to what people answer: questions appear only when they apply, so a member who picks Marketing sees the marketing questions and everyone else skips them. You set it up with the logic icon in the form builder, which looks like a little path.
Before you set a rule
Build your form first, and put every question on it, including the ones that should stay hidden until an answer reveals them. If the questions use database fields, follow Add database fields to a form the right way first. Need a brand-new form? Start with Create a form.
Set up a Show/Hide rule
Open your form in the builder. A rule watches one field, checks the answer against a condition, and then shows or hides the fields you choose.
Click the logic icon (it looks like a little path).
Choose Show/Hide fields.
Pick the field your rule watches, such as Areas of Interest.
Choose the condition: is equal to, is not equal to, is empty or is filled.
For is equal to or is not equal to, type the answer to match, such as Marketing.
Choose what happens: show or hide specific fields. In our example, when Areas of Interest equals Marketing, show the marketing questions.
Add more rules if you need them. Rules stack, and each one works on its own.
Save your form.
Field types have their own conditions. For the full list of conditions by field type, plus rules that combine several fields, see Set up conditional logic in forms and surveys.
Send people to a different thank-you page or message
Logic can also change what happens after someone submits: send them to a different thank-you page, or show a different message, based on how they answered.
Click the logic icon (the little path) in the form builder.
To send people to a different page, choose the redirect option and enter the page address.
To show a message instead, choose the custom message option and write it.
Save your form.
Not sure which page to send people to? See Choosing What Happens After Form Submission.
Test every path before you share the form
Preview the form and walk through it with different answers, once for each path you built: check that the right questions appear, the ones that should stay hidden do, and every path can be completed.
Only set a question to Required when everyone sees it. Making a hidden field required is one of the most common logic mistakes.