Routing - the PageBreak question revisited
Routing and skip logic is handled by the PageBreak question (as described earlier). Set the Condition: and the Skip to: items in the PageBreak question to control which page will come next.
For instance, if you want to skip people who select code 1 for ‘age’ to Q4 you need the following:
If age=1 skip to: Q4
which is seen in the editor as
Condition: age=1 Skipto: Q4
All other answers will just continue to the next page as normal.
Note that you can have multiple conditions. The rule is that the last condition that is true will be used for the Skip to: value
Skip to:
Skip to: is the page to go to next. It can be used in the following way
Skipto: 4 which would skip to page 4.
Skipto: q12 which would skip to the page with question q12 on it
Skipto: +2 which would skip ahead two pages
Predefined pages are End, ScreenOut, QuotaOut are predetermined exit points for the questionnaire.
If you have multiple conditions, then the ‘Skip to:’ used will be the last one in the list that is true (and if none are true it will be +1 for the next page)
Condition:
The condition needs to be something that generates a true or false value.
A simple value test would be:
age=1
which would check if age is coded as 1
However, for more complex question types you can set formula for the ‘Condition’ – for example
age=1 AND gender=1
Cxoice has many different question types which generate different types of data (see the section on Data types and formulae)
For multiple type questions where several answers can be selected use MULTICHECK
MULTICHECK(owned,1,3,8)
ie check if any of items 1,3 or 8 are selected for question ‘owned’
For grids use # to pick out each row of the grid. For instance
Grid#2=1
For lists you can also use COUNT() to count how many answers have been selected
COUNT(owned)<2