Using page logic (routing) and piping in the questionnaire

Page logic allows you to route your community members to different pages of your Questionnaire based on their responses to individual questions. You can choose to route a community member when their answer is equal to, not equal to, greater than, less than, one of the following answers, not one of the following answers, answered or not answered.

You can add page logic to your Questionnaire by following the steps below:

  1. Go to Activities at the top menu in Admin.
  2. Choose Questionnaire at the left menu.
  3. Click Program at the Options dropdown menu or three dots next to the Options button.
  4. Add any pages you intend to use for page logic.
  5. Scroll down. Here you will see a blue bar that says There is no logic for this page yet, add logic. Click it and set your preferences.
  6. Don’t forget to click the Save button in the upper right corner

Using Piping

Piping allows you to insert or pipe answer text from a previous required question into a question that appears at a later page in your questionnaire. You can pipe answer text from the following question types: Multiple Choice [Single Answer], Date Select, Numerical, and Open. The pipe-from question must be a required question to ensure that your pipe to the question makes sense. The pipe-to question must be on a page that comes after the pipe-from question. The pipe-to question can be any question type and does not need to be a required question.

Example: Let’s say that on the first page of your questionnaire you ask: “On a scale from 1 to 10, how do you rate this product?” Then, on page 2, you have an open-ended question that reads, “You rated the product with a {answer of question 1}. Can you explain why?” The answer that the user gave in question 1 will automatically be shown in question 2.

Add piping to a questionnaire

You can add piping to a questionnaire by following the steps below:

  1. Go to Activities at the top menu in Admin.
  2. Choose Questionnaire from the dropdown.
  3. Choose the Options button next to the questionnaire and click Program.
  4. Or click on the three dots next to the Options button you would like to add piping to. You can add piping to a new question or an existing question, but keep in mind (since piping involves a pipe-from and a pipe-to question) that when you set a piping rule, you add it to the pipe to question.
  5. Make sure your pipe-to question is created on another page.
  6. Place your cursor in the pipe-to question title where you would want to insert the piped text and type a hashtag (#). When you type a hashtag you will see all of the questions that can be used to pipe-from appear in a drop-down. Select the question that you want to pipe-from and you will see a tag appear in your question title. The tag will show a default value in the admin section, but in the front-end, it will be replaced with the answer that the user gave to the pipe-from question.
  7. To remove piped text, click the X next to the tag that you would like to remove.