﻿ Skip Logic

Skip logic allows respondents to skip over sections of the survey that don't apply to them, typically based on their previous answers.  At the bottom of each question, there is an Add Skip link that allows you to specify which questions to skip, based on logic you specify.  For example you could set up a skip like this:

Skip to: Disqual

If Age < 18

This skip logic will skip to the Disqual question if the respondent's answer to the Age question is less than 18.

Skip Types:

If Skip to is selected, the skip logic is evaluated after the question is displayed and answered. This allows you to include the answer for the question in its own skip logic.

Skip this question and go to:

If Skip this question and go to is selected, the skip logic is evaluated before the question is displayed. This can be very useful if you simply do not want to show the question based on the answer to a prior question.  Let's say for example that we set up the following skip logic for a question named Q2:

Skip this question and go to: [Next Question]

If Brand = Company A

If the respondent answers Company A for the Brand question on a prior page, Q2 will not be shown and the survey will automatically advance to the next question in the survey.

If, Always, Custom

Selecting the If option allows you to specify logic to determine whether or not the skip should be run.  If the Always option is selected, than the skip will always run for every respondent.

Selecting Custom allows you to enter custom logic.  This is useful if you need to enter advanced logic (e.g. maybe you need to do some simple math, include Sawtooth Script, or use parentheses).  For example:

Skip to: Q14

Custom If: Q2 + 3 > 15

Multiple Rows of Logic

If you need to add additional logic, select Add Logic.  The additional logic is joined to the logic above it by using And or Or.  If And is used, both rows of logic have to be true.  If Or is used, either of the two rows of logic can be true.

Two logic rows joined with an And will be considered before two joined with Or.  This reflects the basic math order of operations: And is treated like a multiplication operator while Or is treated like an addition operator, so And is evaluated before Or.  For example:

Skip to: Q18

If Q15 = 5

Or Q15 = 7

And Q16 = 1

If the logic above included parentheses it would be similar to this:

Q15 = 5 Or (Q15 = 7 AND Q16 = 1)

The skip is executed if Q15 is 5.  But if Q15 is not 5, then Q15 has to be 7 and Q16 has to be 1 in order to skip.

Multiple Skips

Multiple skips can be included with any question. The first skip that evaluates to true is followed. The rest are ignored.