Skip conditions: an introduction

Compatibility:IdSurvey 6IdSurvey 7

IdSurvey processes pages sequentially: by answering questions on the first page and clicking on the “Next” button, you will be directed to second page and so on. With skip conditions you can change and customize this flow according to a specific answer.

When selecting an answer linked to a skip condition and clicking “Next”, IdSurvey will ignore the standard flow and display immediately the question specified in the condition. You can skip to a single question or a sequence of questions. Questions sequence can also be randomized.

Skip conditions can only be enabled in answer options. When you select the answer with skip condition set, IdSurvey will then display the question, page or element specified.

Skip condition may land in: questions, group of questions, pages, sections.


Skip conditions can be divided into 4 types.

Simple skip

GoTo (Q15)

IdSurvey displays question specified. Then the normal questionnaire flow will be followed and next page proposed.


  • Possible answers to questions skipped will be deleted. If the skip condition lands in a previous question, the data won’t be deleted.


Skip with sequence

GoTo (Q15,Q17,Q21)

IdSurvey displays questions in the exact order specified in the sequence. Then the normal questionnaire flow will be followed and next page proposed.


  • You can use a skip with sequence to create a simple skip without clearing the skipped questions. You need to indicate the first page where you want to land and using ” (two single quotes) instead of another page codeGoTo (Q15,'')


Random skip

GoToRnd (P18,P19,P20,P21)

IdSurvey randomly displays pages specified between inverted commas.

The last code is the code of the page where the standard flow will be restored.

Skip with condition

if(Q1==3) GoTo (P32)

When the answer with this skip condition is selected, IdSurvey will check if at question Q1 option 3 was selected. If this condition is true then you will skip to page P32.

You can similarly insert also more complex condition. If you need help with condition syntax please check related article.


  • You can use skip conditions to land on previous or following objects. A GoTo directed to a previous question is useful to force the respondent to correct a contradictory answer. You can learn more on this in the article “How to set a control page”.
  • IdSurvey processes one sequence at a time. If, during the flux of a skip condition, IdSurvey finds another skip condition, the first will be ignored and from that point onward, the flux of the second condition will be followed instead.
  • When you are using a lot of skip and display conditions in a questionnaire you have to be careful not to cause loops or clashes. We suggest to always test the questionnaire carefully before starting the survey.

Leave A Comment?