Are you looking to repeat questions or pages based on a respondent-entered value?
Say, for example, you want to collect the make, model and year of all cars a respondent owns. You start by asking how many cars the respondent owns and then repeat the make, model and year questions based on the number of cars the respondent said he or she owned.
We call this piping by value. It is compatible with Number questions as well as Radio Button or Dropdown Menu questions with numeric reporting values. There is a maximum of 150 for the piped value!
Here is a sample survey using the pipe by value option:
Add a survey to your US account to see how piping by value is setup!
Add a survey to your EU account to see how piping by value is setup!
To set this up:
1. Create the question to collect the value to pipe from. This can be a number question or a radio button or dropdown menu question with numeric reporting values.
2. On a subsequent page, set up the question/s you would like to repeat.
3. Once the question/s are set up, edit the page settings of the page you wish to repeat.
4. On the Repeat tab, select the number question you are piping from.
5. Below the piped question selection, select the option to Repeat this page for each answer based on the value instead of the number of selected answers
Displaying Piped Value in Question Text or Page Title
Using the [page("piped value")] merge code you can display the instance of the value in the question titles of each of your questions and/or in the page title. This will help your respondent to understand which instance of the piped value they are responding to.
The merge code can be copied and pasted from the Repeat tab in the page editor or from this tutorial or the merge code tutorial!
There is a maximum of 150 for the piped value. If your respondents enter a number larger than 150 the following error will be returned: "Error: Maximum piped responses exceeded (150)." If a very large number is entered they may receive a Server Error. We recommend setting validation on your textbox question to cap entries at 150 or less. because that's a lot of data!