fbpx Loop | 1KA
Create a survey


A loop allows for the iteration of a question based on the answers to previous questions. This can also be done with the use of conditions; however, this can be considerably more complicated and time-consuming.

An example: you are interested in which type of fruit the respondent has already eaten (e.g. Q1) and how much the respondent likes this fruit (e.g. Q2). If the respondent chooses multiple options in Q1, you must inquire about each individual type of fruit in Q2. When you are creating Q1 and Q2 in the 'EDIT' – 'Questionnaire' tab, use the following procedure:

  1. In the left-hand side menu click on the plus icon, by which a menu with different types of questions will appear. Under the 'Advanced features' menu, click 'Loop' or drag and drop it into the editor. By doing this, a loop will be added to the questionnaire, which is marked with the elements 'LOOP' and 'END LOOP'.
  2. In the 'Loop for' dropdown menu, select Q1, i.e. which type of fruit the respondent has already eaten. The loop only works if the previous question type is Categories - Multiple answers.
  3. You must also select the values that you wish to include in the loop. 1KA marks all the available answers by default, which means that the loop will include all the possible answers to the question, in case they are selected by the respondent. If this is the case, simply retain the default settings.
  4. On the right-hand side of the loop window, you can click on the 'Loop edit' option, which enables you to set for each possible answer to Q1 in which cases the question should also appear in a loop: when the options are selected, when the options are not selected, always, never. In this case, select the default option 'Checked'.
  5. You can also set the maximum number of loop iterations at the bottom of the loop window; therefore, it is not necessary that the loop is repeated for each answer. In this case, select the default option 'All'.
  6. Click 'Close' in the right-hand side menu 'Edit loop'.
  7. Click on Q2 and drag it to the loop (before the ENDLOOP mark).
  8. The loop is now operational.

You can consult the data piping manual for text in Q2, which will help you link the two questions (e.g. 'How much do you like #Q1#?'). The respondent is displayed “How much do you like Kiwi?” if they chose this option.

Example of a survey with a loop >> (also available in the 'Public library')

Loop is only available to 3KA private package users.

Related content: