Add a loop¶
It is often useful to repeat a certain set of questions multiple times in a survey. Colectica supports three different types of loops.
- Repeat a section as long as specified condition remains true
- Repeat a section until a specified condition becomes true
- Similar to a While loop, but also allows you to specify initialization code
Click the Add an item button.
In the popup menu, click the button corresponding to the type of loop you would like to create.
A new loop is created and its editor is opened.
Enter the condition that must remain true for your loop to continue executing.
To add questions or other nested items within the loop, click the drill into button for your loop.
You will be taken to an empty survey designer. Anything you add here is only applicable to your chosen branch.
To go back to the top level of your questionnaire, use the breadcrumb bar.