Desktop User Guides > 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 A fixed number of iterations, and then type the number of iterations.
The questions in the loop will be shown to all respondents the same number of times.
To ask the questions in the loop based on responses you provide
1 Select the Iterator tab in the Design pane.
2 Select A new set of responses, and then type the appropriate responses in the Response column that displays.
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 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. To do this, use substitution text in the loop description: 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 in the Routings pane, and then either click Edit > Convert to Loop, or press Alt+E, L.
The Routing pane displays 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