Author > Creating questions and responses > Question type overview > Creating loops to ask the same questions for different subjects > Setting the number of times to ask the questions in the loop
 
Setting the number of times to ask the questions in the loop
To ask the questions in the loop a fixed number of times
1 Select the Iterator tab in the Design pane.
2 Select the A fixed number of iterations option, and enter the appropriate number of iterations.
The questions in the loop will be shown to all respondents the same number of times (five times in the above example).
To ask the questions in the loop based on responses you provide
1 Select the Iterator tab in the Design pane.
2 Select the A new set of responses option, and enter the appropriate responses in the Response column that displays.
Note If you choose a different iteration option after entering your list information, the list information will be lost.
To base the loop on the number given in response to a numeric question
1 Select a numeric question from the Routings pane.
2 In the Properties pane for the numeric question, enter a minimum and maximum value. You are not required to set minimum or maximum values when iterating a numeric; you can leave the maximum value blank to provide flexibility in regards to the quantity of loop iterations based on a numeric response.
3 Select the loop in the Routings pane.
4 Select the Iterator tab in the Design pane.
5 Select Responses to a previous numeric question, and then select the appropriate numeric question from the list.
Each respondent will see the questions in the loop the number of times they enter in response to the numeric question.
To base the loop on the number of responses given to a question:
1 Select the loop in the Routings pane.
2 Select the Iterator tab in the Design pane.
3 Select Responses to a previous categorical question, and then select the appropriate categorical question from the list.
4 Choose All Responses, Chosen, or Not Chosen.
Each respondent will see the questions in the loop once for each response that they selected in the question.
You can also change the text in the questions inside the loop so that each time the question is asked it refers to the correct iteration of the loop. For example, you can change the text to refer to the response that the respondent selected. You do this by using substitution text in the loop description. For more information, see Substituting text in a question.
Converting a grid to a loop
To convert a single response, multi response, or numerical grid question into a loop of questions, select a grid from the Routings pane and select Convert to Loop from the Edit menu (or press Alt+E, L).
If the conversion is successful, the Routing pane refreshes to display the selected grid as a loop.
Creating an unbounded loop
For more information, see Creating database question loops.
See also
Creating loops to ask the same questions for different subjects