Decide on the position of where to situate the loop. It can either be at the level of a previously created Sequence, Condition or Loop.
If the loop is within a sequence or loop, click the black + sign in the grey square, at the correct parent level
If the loop is within a condition, then click the black + sign in the grey square, either in the ‘True’ branch or in the ‘False’ branch, as indicated on the light blue bar within the condition.
Alternatively, click on the nearest the black + sign in the grey square, and then once created, move the loop to the correct position through drag and drop.
A Construct Type option box will appear. Click Loopto add a loop.
Add a label for your question in the Label field. See Construct a Label for more details.
In the Variable field add the loop variable. This will usually be a name related to the subject of the loop question, for example ‘hospital stay’.
In the Start Value field add the start value, for example ‘1’.
(Optional) In the End Value field add the end value if there is one. This will be the number of times that the respondent is required to answer the question, for example ‘5’ for five hospital stays.
(Optional) In the Loop While field add the loop logic if there is any.
Click Submit to save your new loop. Once it appears on the page, you can drag and drop it to other places in the questionnaire if needed.
Repeat as required.
You can view your new loop in the View screen. Select the prefix of your questionnaire in the breadcrumb at the top of the page. This is useful for reviewing the entry.
Return to the Build screen by selecting the option from the breadcrumb.
To delete a construct you will need to click on the label and select Delete from the options provided on the right hand side of the page. You may need to refresh the page for the construct to disappear.