Data Piping

You can take data entered or selected as a response and pass it forward to be displayed at another location in the survey with the Data Piping feature.  It is recommended that you have all your survey questions created first.  

 

Note!

You cannot pipe data from matrix, side-by-side matrix, or HTML snippet question types.

 

Note!

You must have a Page Break before the receiving question in your question list for the data to be piped in.

 

To pipe data, a special syntax is required to pass the piped field and display it.  Piping syntax is inserted into the receiving question.  The syntax uses the wsb number (ID number) of the question as follows:

 

%q0lbl%

Note!

If the piping syntax does not contain the 'lbl' designator,  the ID number of the selected response will be displayed instead of the response text.

 

If you cannot see your wsb numbers, check My Preferences to make sure they are not set to be hidden from view.  

 

How To Set Up Data Piping

Piping syntax can be inserted in your receiving question using the Insert Piped icon (see image below) on Editing Tool Bar, or you can type it in manually.  

Method One (auto)

  1. Click on your receiving question to edit it.  You will leave space in the question text where the piped value will be displayed.  

  2. With you cursor in the location where the piped data is to be displayed, click the Insert Piped button.

  3. A dialog is displayed with a drop-down list of the available questions to pipe from.

  4. Select the data to be piped from the drop-down list.

  5. Click OK to close the piping dialog.

  6. The piping syntax is now inserted into your question text in the Question Edit dialog.

  7. Click OK to close the Question Edit dialog.

Method Two (manual)

  1. Click on your receiving question to edit it.  You will leave space in the question text where the piped value will be displayed.  

  2. With your cursor in the location where the piped data is to be displayed, click the HTML icon.

  3. The question is changed to HTML edit mode.

  4. Type in the piping syntax in the appropriate location in the question text.

  5. Clicking the Design icon will return the question view to normal.

  6. The piping syntax is now inserted into your question text in the Question Edit dialog.

  7. Click OK.

 

Data Piping Setup

 

 

Example:

Assume you have a Choose One question:

 

What is your favorite color?

This question has an ID number of wsb0.

 

-----SIMPLE PAGE BREAK-----

 

Your receiving question will look like this:

 

Why is %q0lbl% your favorite color?

 

When the survey is taken, the syntax in the receiving question (%q0lbl%) will be replaced by whatever response the user selected in the first question.