Tutorial 03 · Basic logic
Required and optional answers
Require contact information only after a respondent gives permission, and allow it to remain blank otherwise.
1. Prepare the survey
Open a practice survey from Home and click Edit. Add these pages and questions in the order shown. Click a question type in the builder palette, then select the question to edit its label and choices. Use Add Page for later pages.
| Page | Question | Type and setup |
|---|---|---|
| Contact preference | May we contact you? | Single choice · Optional initially · Choices: Yes, No |
| Contact preference | Contact email | Email · Optional initially |
2. Configure the logic
Create the condition
Choose Make an answer required or optional. Set May we contact you? to equals Yes, then click Next.
Require the email
Set Action to Make required and select Contact email. This overrides the question’s normal required setting while the condition matches.
Make the other path explicit
Expand Otherwise. Add an action, choose Make optional, and select Contact email. The question stays visible on both paths.
Review the requirement
Click Next. Confirm that Yes makes Contact email required and No makes it optional. Use Try answers to inspect each branch.
3. Review the logic flow
Read the final flow before saving. For conditional rules, YES means the condition matches and NO means it does not. An unanswered source can leave the rule waiting. Use Try answers when it is available, or Back to adjust the setup. View full survey flow provides the surrounding page order and saved rules.
4. Save and publish
Save the reviewed logic
On the final wizard step, click Save logic. Your changes join the survey draft. If the tutorial creates more than one rule or setting, complete and save every part before publishing.
Confirm the draft is saved
Close Logic. Wait for the builder’s save/sync status to complete. You can reopen Logic to check the saved rule or setting. Save logic does not by itself update the public survey.
Publish the survey
Click Publish in the builder, then Publish Now in the confirmation. Use the public link to test the published survey. After later edits, publish again before checking the live result.
Test in a fresh respondent tab
Start with a fresh public survey tab. If you already had an older published version open, reload and start a new response. Use a practice survey for test submissions.
5. Test the respondent experience
Run both the matching and alternative cases. Change answers and revisit earlier pages where the test asks you to, rather than testing only one path.
| Try this | Expected result |
|---|---|
| Yes and a blank email | Submit is blocked and the email field is highlighted. |
| Yes and a valid email | The respondent can complete the survey. |
| No and a blank email | The respondent can submit without an email. |
Common mistakes and useful limits
- Making a field optional does not hide it. Add visibility logic only if you also want to remove it from view.
- Use an Email question so email-format validation is available.