Wednesday, June 11, 2014

Feature Spotlight: Advanced Piping


A few weeks ago we shared a Feature Spotlight on Piping 101 that served as the foundation to the basics of piping and showed how to add it to your survey. Now, we are taking that a step further by expanding on the subject and offering you Advanced Piping. If you need to pipe selected answers to multiple pages or pages further down in the survey, then advanced piping is for you. Keep reading to learn how to apply it to your survey.




Piping allows you to carry text over from one question to another question. For example, if a survey respondent selects an answer indicating that they recently traveled to San Francisco, you can grab that text and insert it into another question asking them about their visit to San Francisco. You can also do this with open-ended text for follow-up.


If you want to pipe selected answers to multiple pages, or move those answers further down in the survey, follow these instructions. Go to "Edit Survey", "Logic", and then "Branching". Next, assign your answer options to a custom variable. You can add up to 255 variables. In the question template, switch out ${piping_text} to ${custom#} to pipe the selected answer anywhere you want it. Keep in mind that you need to insert a page break in between piped answers.


If you want to pipe answers that don't have any branching logic available, follow these instructions. First, set up branching logic to enable piping text. Next, replace the text for the # which the respondent selected on questions and use ${custom#}.


Finally, if you need to pipe answers from a multiple select question type, set up looping. Looping is when the same question is asked multiple times in different ways for different options. Think of looping as being equal to piping and multi-select answers combined. To set it up, go to "Edit Survey", "Logic", and "Branching". Then type in the desired piping text. Remember to click on the enable looping button, which will allow you to branch a single question multiple times.

In the question template, swap out x for ${piping_text}, then don't forget to add a page break and close the loop.


Last but not least, remember the key to piping! This format is going to be used anywhere you have piping in your surveys. We hope this Feature Spotlight was informative and clear, if you have any questions please do not hesitate to reach out.
iframe {max-width:100%;} .embed{ width: 100%; }