Skip or display questions
Use a participant's answers, profile data, or display type to control whether they see a question, a group of questions, or trigger an End Survey action.
-
From the Survey Builder
Toolbox, under
Survey Actions, do one of the following:
- Drag the Survey Logic action below the question you want to base the condition on.
- In the Table of Contents, highlight the question you want to base the condition on, and then click the Survey Logic action in the Survey Toolbox.
-
In the Table of Contents, click the
Survey Logic action.
Result: The Edit pane appears.
- Optional:
Edit the
Survey logic name.
Survey Logic names:
- Should be unique.
- Can contain all alphanumeric characters and all symbols.
- Are not displayed to participants.
Note: The maximum number of characters is 100. - Optional:
Add a
Description (maximum 2500 characters).
The description is not visible to participants, but it is useful for annotating what the Survey Logic action is intended to do. Descriptions are also displayed for Survey Logic actions that have been saved to the Template Library.
-
Create a condition.
-
From the
Sources list, select one of the following
options:
Option Description This Survey Creates a condition based on a question in the current survey that appears above the Survey Logic action in the Table of Contents. Profile Variables Creates a condition based on a piece of information associated with a member. Respondent Variables Creates a condition based on the participant's display type, locale, or memberId.
Tip: Use Respondent Variable conditions to create distinct branches in your survey for mobile users. For more information about mobile surveys, see Best practices for mobile surveys.Quotas Creates a condition based on an existing quota. For more information, see Quotas. Tip: You can use Survey Logic based on an updated profile value that was collected through a Profile action earlier in the same survey. To do this, set the Survey Logic source to This Survey and select the Profile action.Keep these considerations in mind when you do so:
- The Profile action must be visible to participants, not hidden.
- The Survey Logic uses the answers supplied by participants when they respond to the Profile action question. It does not fetch the profile variable value from the system.
- From the Question or Variable list, select the question or variable you want to base your condition on.
-
Select the
operator.
Note: The Is not operator does not look for other survey logic dependencies in the survey. So, participants who were skipped in previous questions will be included as they meet the Is not condition.
-
From the
Select answers/values list:
- For Choice questions, select an answer value.
- For Open End
questions, enter an answer value in the text field.
Note: Canadian postal codes are stored in the database with a space between the third and fourth characters, regardless of the format the participant used at the time they answered the question (for example, A1A 1A1). When creating a condition based on a Canadian postal code, use a space between the third and fourth characters or the condition will fail. For more information, see Create a Zip / Postal Code question.
Tip: Type the question, answer, or variable name to filter the options in the Select answers/values and Select answers/values lists. -
From the
Sources list, select one of the following
options:
- Optional:
Add another condition.
-
Click
Add next to the condition.
-
To define the relationship between the conditions, click
AND on the left-hand side of the new
condition.
- If you want participants to meet all conditions, select AND.
- If you want participants to meet any condition, select OR.
-
Click
Add next to the condition.
- Optional:
To remove a condition, click
Delete next to the condition.
-
Set the condition to show or hide the contained elements.
Option then, participants who qualified will: and everyone else will: Show questions and elements From the list, select See contained elements. To set this value to Skip contained elements. Hide questions and elements From the list, select Skip contained elements. To set this value to See contained elements. - Optional:
Delete the
Survey Logic action.
- In the Table of Contents, right-click the Survey Logic action, and select Remove.
- In the Edit Pane, click More, and select Remove.
Result: The Survey Logic action and any questions contained in it are removed from the Table of Contents. -
Add questions or page elements to your Survey Logic action.
For more information, see Add questions to a survey logic action.
- Test your survey logic by clicking Preview in the Build toolbar.
Note: Preview mode does not store member data,
therefore conditions based on profile variables may not work when you test your
survey. To view your survey's structure,
print your survey.