Use Survey Logic actions to skip or display questions, determine endpoints, and create branches in your survey.
Display or skip a question
Survey Logic either displays or skips a question, a group of questions, or End Survey action using conditions that you define in your survey.
Conditions move participants through your survey based on one of the following:
- Previous answers to
questions in the survey
Tip: In order for survey logic to work correctly, the survey question you are referencing and the Survey Logic action must be on separate pages.
- Respondent variables
- Profile variables
- Quotas
Survey logic allows you to create distinct branches in your survey for different target groups. It also helps you direct unneeded participants away from specific questions or question groups.
Survey logic for question group example
You author a survey, and you have a series of questions you only want to ask vehicle owners. To do this, you first ask the following question:
| Do you own a vehicle? |
|---|
| Yes |
| No |
You then add a Survey Logic action, below the question in the Table of Contents.
After you
add the Survey Logic action to your survey, create a condition to display this
group only to participants who answered Yes
to your vehicle question.
You then add the questions you want to ask vehicle owners to the Survey Logic action.
Survey logic to exclude specific responses
You want to ask your participants how they commute to work and then ask a series of questions to everyone except for those who commute to work by car. To do this, you first ask the following question:
| How do you commute to work? |
|---|
| Public transit |
| Cycling |
| Walking |
| By car |
Then you add a Survey Logic action, below the question in the Table of Contents.
After you
add the Survey Logic action to your survey, create a condition to display this
group only to participants who did not answer By car
to your work commute
question.
You then add the questions you want to ask your target participants to the Survey Logic action.
Create distinct branches for mobile participants
Survey Logic allows you to create distinct branches in your survey for desktop and mobile participants.
For more information about mobile surveys, see Best practices for mobile surveys.
Survey logic based on a participant's display type
You want to create a Highlighter question asking participants to identify the areas of your website they use the most. Depending on the participant's display type, they will see either a Desktop or Mobile version of the Highlighter question.
To do this, first you add a Survey Logic action to your Table of Contents and
name it Display Desktop
. In the Edit Pane, set the condition to show the
contained elements to participants who are viewing your survey on a desktop
computer.
Then you add a Highlighter question to the Survey Logic condition, and upload an image of your website as it appears to users who access the site on a desktop computer.
Duplicate
your Survey Logic condition. In the Edit Pane, rename the Survey Logic action
Mobile
, and then set your condition to show the contained elements to
participants who are viewing your survey on a mobile device.
Open the Highlighter question you duplicated. Rename the question Display
Mobile
, and then upload an image of your website as it appears to users
who access the site on a mobile device.
After you create the branches in your survey, you can continue adding questions to your Survey Logic action targeted to desktop and mobile users. Participants who respond to your survey from a desktop computer will only see the desktop versions of your questions. Participants who respond to your survey from a mobile device will only see the mobile versions of your questions.