Concept Loops: Creating a Concept Loop

This article explains the simplest form of setting up a concept loop within a survey.


Background

Looping can be utilized to reuse questions to iterate through a concept 1 or more times.  Looping is managed within each section of a survey.  


Adding a Loop

  1. To begin, add the required questions within a section of the survey as shown below. Utilize new sections for content that is not to be looped.  Be sure to add all of your questions before constructing your loop.  
    1. If you need to make changes after the loop is made, remove the loop, make the changes and add it back in. See Loops: Removing a Loop
  2. Each section has options for editing.  Click directly on the Section name to access these.
  3. This will open the section editor, which allows choosing or creating a new concept.
  4. Select '+New Concept' to build the concept for looping through the questions.  Name your concept and select 'Create'.
  5. Add the concept options and choose the number of concepts to iterate through.  The concepts can be entered similar to adding rows to a question.  In the example 2 of the 4 options.
  6. Scrolling in the setup, you will expose the logic options for setting the standards for the iteration.  The default is to show randomly using least filled by number.  The options can be modified using the drop down menus. Please review the following article to get more information on setting up concepts: Adding Concepts
  7. To pipe the concepts into the question text, return to each of the included questions and use the following syntax: [[loopname_TEXT]]
  8. It is important to use the double brackets and replace 'loopname' with the name provided when creating the concept.  In this example it is 'Hotels'.
  9. The survey is now ready to test.  Select 'Preview &Test' from the survey's menu:
  10. The results should then show as iterating through the survey.

Troubleshooting

  • While testing you may come across a scenario in which you get an error. The first thing to check is that you do not have any question name conflicts. 
    • Example: If you have a question named Q31 which is a checkbox with responses 1-10. This means the individual parts are Q31_1-Q31_10. Then you have another question called Q31_1 which is a separate radio question. The solution would be to remove the loop, rename the followup radio to Q31b for example and then add the loop back in.  
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.