Hello! How can we help?

Search our knowledge base for loads of useful advice and answers to common questions

If you're still stuck you can always submit a support request and we'll get back to you ASAP

How do I add and edit Skip Logic rules?

Jess Henderson -

Please note: while the written guidance in this article should be up to date, the screenshots may not be. Please bear with us. We’re carrying out work to update all the screenshots in the Knowledge Base for Citizen Space 7 and (hopefully) to automate the process for future. Thank you for your patience!

Skip Logic, also known as survey routing or branching, allows you to change the way a respondent progresses through your online survey, depending on their answer to particular questions, on a page-by-page basis.

Before you start adding skip logic rules, make sure you have added all pages and questions to your survey, decided which questions will be used to control conditional skip logic, and planned the possible routes through the survey.  

You can make changes after you've added skip logic rules, but any changes may impact routing. For an overview of skip logic and hints on how to plan your survey please see "How do I design a survey with skip logic?"

Be very cautious when deleting and moving questions and pages that have skip logic rules set to them. Best practice is to remove the skip logic rule first and then delete/move the question as required.

The Skip Logic Settings page

At any time while editing your online survey, you can access the Skip Logic Settings page via the link on the sidebar. This can be accessed via the 'Online Survey' page from the dashboard.  Note that only linear surveys support skip logic.  Any skip logic rules applied to non-linear surveys will be ignored.

The online survey page with the skip logic setting button in the left sidebar highlighted by a red box.

The Skip Logic Settings page gives you an overview of the possible routes through the survey.  On a newly-created survey without any skip logic rules, this page shows that all respondents proceed through each page in sequence from the Introduction page through to the end of the survey.

Adding a Skip Logic Rule

To add a skip logic rule, first make sure the button marked "Edit Skip Logic Rules Individually" is selected.

The skip logic settings page with the option to edit skip logic rules individually highlighted with a red box.

Refer back to your plan to work out which pages will need skip logic rules,  then click the 'Add Skip Logic' link in the grey box corresponding to the relevant page.  Citizen Space will then guide you through adding a skip logic rule as a series of steps.

You should always move respondents forward through your survey. Moving respondents back to an earlier page may cause them to lose the answers they have put in so far, or create an infinite loop.

Step 1: choose a rule type

The first page of adding a skip logic rule: choosing a rule type. Shows two radio buttons offering options of conditional or unconditional rule, and a 'Next' button.

Refer to your plan to establish whether you need to add a conditional or unconditional rule.  If the current page does not contain any suitable questions on which to base conditional rules, then the option to add a conditional rule will be disabled.  Click 'Next' to continue adding your skip logic rule.

Step 2 (Unconditional skip logic): choose your destination

The second page of adding an unconditional skip logic rule: choosing the destination page. Shows a dropdown list containing all the pages in the survey, and a 'Finish' button.

If you chose to add an unconditional rule, the final step is to choose where you should jump to.  Select the destination page from the dropdown list, and click 'Finish'.  You will be taken back to the Skip Logic Settings page.

Step 2 (Conditional skip logic): choose your conditional question

The second page of adding an conditional skip logic rule: choosing the conditional question. Shows a dropdown list containing all the suitable questions on the page, and a 'Next' button.

If you chose to add a conditional logic rule, the next step is to choose which question should be used to determine the respondent's next steps through the survey.  The dropdown list will include all question components on the current page that are suitable for use with conditional skip logic rules.  Select the required question component and click 'Next'.

Step 3 (Conditional skip logic): choose your destinations

Third page of adding an conditional skip logic rule: choosing the destination pages. Shows all the possible answers for the selected question, each followed by a dropdown list containing all the pages in the site.

For conditional skip logic rules, the final step is to choose the destination page for each possible answer to your chosen routing question.  You can choose the same destination page for more than one answer if required (see the 'walking' and 'cycling' examples above).

You should also choose a destination for the case where the respondent chooses not to answer the question.  This is still necessary even if the question is set as 'required'.  This helps to provide a safe fallback option if, for example, the question is edited after the conditional rule has been set up.

Click 'Finish'.  You will be taken back to the Skip Logic Settings page.

Setting Skip Logic Rules for Multiple Pages at Once

In some circumstances you will have several pages that should jump to the same destination page when submitted.  This often happens when you have several conditional branches that all need to resolve to a general "Thankyou" page at the end of the survey.  In the case of our example survey, there are three branches for different commuting methods: walking/cycling, private vehicles and public transport.  After finishing any of these branches, the respondent should be taken to the "General commuting questions" page.

To achieve this, you could add an unconditional rule to each of these pages as described in the previous section.  Alternatively, you can select the button labelled "Set Destination for Multiple Pages at Once", at the top of the Skip Logic Settings page.

The skip logic settings page with the option to set desitnation for multiple pages at once highlighted with a red box.
In this mode, you can tick the boxes next to the relevant pages, then scroll to the bottom and select the destination page from the dropdown list.  Once you click "Submit" this will automatically add an unconditional rule to each of the selected pages, redirecting them to the chosen destination.  This will replace any conditional or unconditional rules that had previously been applied to these pages.

Hint: you can also use this mode to remove skip logic from several pages at once, by choosing "Next page in survey (no skip logic)" as the destination.

Reviewing and Editing your Skip Logic Rules

Once you have added skip logic rules, the Skip Logic Settings page provides an overview of how respondents will move through the survey:

The skip logic settings page with the rules applied to each question and answer component listed. Page one shows it using conditional logic to skip respondents to other pages dependent on their answer to the question and page two shows unconditional logic to skip people to page 7.

Boxes are highlighted in blue to represent pages with skip logic rules.  In these boxes, 'Edit Rule' and 'Delete Rule' links have replaced the 'Add Skip Logic' link.  Deleting a rule restores the page to its default behaviour, which is to continue straight onto the next page in the survey.  Editing a rule follows the same steps as the section 'Adding a Skip Logic Rule' above.

Testing your Rules

Before publishing you should always test your survey in preview mode.  Try every possible answer to your conditional logic question(s), and make sure that in each case, the route through the survey makes sense and includes all the necessary pages.

Skip logic is an advanced feature.  Incorrectly configured rules could make respondents miss important pages, or even create an infinite loop that would prevent respondents from completing and submitting the survey.  Always test your survey before publishing it!