Two ways to create skip patterns
Skip logic (also called "skip patterns" or "logical branching") routes respondents forward through a survey by skipping over sections of questions that are not relevant to a particular response. Magpi has two types of skip logic:
- Jump To logic (very simple to create) - suitable for most purposes
- Advanced Skip Logic (a bit harder)
1 - Jump To logic
Jump To logic is created by using the Jump To menus in the Response Options table of any multiple choice question. You simply pull down the menu and indicate where you'd like the user to jump to if the option in that row is chosen. In the example below, the designer has indicated that if Male is selected, the user will jump to question 23 (the end of the survey), but if Female is chosen, the user will jump to the next question (this is the default action).
2 - Advanced Skip Logic
Advanced skip logic allows you to program much more complex logical skip patterns than just by using the Jump To menus. Advanced skip logic is accessed by clicking the Logic button on any question.
If-Then Skip Logic
The example above is of complex skip logic based on the value “Gender”. If the response is “Male” it will skip all non-relevant fields and jump to the end of the survey. The construction of the If Logic statement would be as follows:
If [Gender] has option selected ‘Male’ jump to [23)End of Survey]
This particular skip could be much more easily be created using the Jump To logic option detailed above.
If-Else Skip Logic
Advanced Skip Logic allows for more than one branch of Logic. The example below shows that a question about pregnancy can be designated to be displayed only if the response to the Gender selection is Female – and otherwise the user will jump to another question.
After the Logic statement has been created, click on “Save Logic” and then save the form.