Example: In this example we will create a question that prompts the participant why "x" is their favorite actor after they specified who "X" was from a previous question.
This page provides a simple example of how to redirect a participants response or selection and
place it in a question item located later in the survey.
Note: This assumes you've already built a survey with a page that includes a question that asks the participant who their favorite actor is. You may use the all types of question items EXCEPT the matrix question. As you may recall from the 'Piping' Help page, the piping functionality cannot be implemented on the first page.
Click the image located at the right corner of the Question Text box
A Pop-Up window should appear. It will give you two options, "Select Existing Pipe" or "Create New Pipe".
Assuming this is your first time creating a Pipe, Choose Option 2.
At this point, you have three requirements to fill:
Choose Pipe Source: This pull down item allows you to redirect different information other than the participants response. For instance, if you wanted the participants IP address to appear in a future question, you may do so by choosing the 'Response' option in the pull down menu. But for this example let's stick to the default of "Answer".
Choose an Item: This is where you specify the item in which you are piping the participants response from. Please note that they are number in the corresponding format x.x. The first number indicates the page, and the second represents the number on which it appears on the page. So for example, "4.2" means that this question appears on the fourth page and it is the second question on that page.
Pipe Name: You must specify the pipe name for this pipe. Usually it is good policy to keep it the same as the alias assigned to it. We'll call the pipe "actor_name".
Note: You cannot put a space between in the name of the pipe. The pipe's name is stored as a variable, and must not have any spaces between letters to function properly. If you need to use more than one word, be sure to use an "_" between words.
Once you have decided the name, click
the button.
You should now see the name of the pipe appended to the end of your question text. it will be denoted by two '@" prefacing the variable name you assigned. So, in this case, you should see "@@actor_name" at the end of the text. You should be able to place it inside the structure of the sentence. So, in conclusion the full question text should read as:
"Why is @@actor_name your favorite actor?
Upon activating or testing the survey, @@actor_name will be replaced with whatever the partcipant entered or selected as a response.