Pular para o conteúdo principal
Base de Conhecimento da FocusVision

Answer Piping

1:  About Answer Piping

Answer piping allows you to show the answer options from one question in another question, based on what the respondent selects (or does not select).

This feature allows you to:

  • Show rows based on:
    • the answers for rows of a previous question
    • the answers for columns of a previous question
    • the answers for choices of a previous question
  • Show columns based on:
    • the answers for rows of a previous question
    • the answers for columns of a previous question
    • the answers for choices of a previous question
  • Show choices based on
    • the answers for rows of a previous question
    • the answers for columns of a previous question
    • the answers for choices of a previous question

General information:

  • The number of answer options (rows, cols or choices) in the new question and the target question must be the same.
  • If the number of answer options between two questions is not the same, the target question is included in the dropdown but it cannot be selected.
  • Target questions can be single-select elements with rows and cols, multi-select elements, select elements with choices and rows or columns, or number elements with rows or columns.

Definitions:

  • Target question: The question and answer options used as the source for the pipe.
  • 1-dimensional question: A question that only has rows or columns or choices.
  • 2-dimensional question: A question that has rows and columns, or rows and choices, or columns and choices.

2:  Setup Answer Piping

This example uses rows, but the process is the same for showing columns or dropdown choices.

In order to pipe answers the survey must have a target question (i.e., the question and answer options you will use for showing rows or columns based on the response).

Add the target question and answer options. Then click "Answer Actions" and select "Copy all Answer Text."

Next, add a new question that appears after the target question in the survey.

There must be a page break between the target question and the new question in order for the logic to function.

The number of answer options (i.e., rows, columns or choices) for the two question must be the same.

Click "Answer Actions" and select "Answer Piping."

The next steps vary slightly based on the question type of the target question (i.e., the source for the pipe).

Jump to the section:

2.1:  From a 1-Dimensional Question

In the "Show rows/cols if" section in the general options panel, click on the dropdown menu and select the target question.

If a 1-dimensional question is selected as the target question, a second dropdown menu will appear below the first.

Choose:

  • "is selected" to show rows were selected in the target question in the new question
  • "is not selected" to show rows that are not selected in the target question in the new question.

The logic condition is set. In our example, Q3 will display rows that the respondent selected in Q2.

2.2:  From a 2-dimensional question

In the "Show rows/cols if" section in the general options panel, click on the dropdown menu and select the target question.

If a 2-dimensional question is selected as the target question, a list of the rows or columns will appear in checkbox form. Select the rows or columns that must be selected in order to show the answer options from the target question. If multiple options are checked, choose "and" or "or" from the dropdown to complete the condition.

The logic condition is set. In our example, Q5 will display rows that the respondent selected in Q4 row in column c1.

2.3:  From a Number Question

In the "Show rows/cols if" section in the general options panel, click on the dropdown menu and select the target question.

If a 2-dimensional number question is selected as the target question, a text area will appear. Enter the number or range that must be entered in order to show the answer options from the target question. In this example we want q6(rows) to show when a number greater than 0 is entered (i.e., the respondent has 1 or more children in an age group), so we enter ">0" in the text area.

Examples of possible number entries:

  • Single number: 25
  • List of numbers (no spaces): 25,26,32
  • Range of numbers (no spaces): 25-49
  • Inequality signs: <50 or >60
  • Combination of the above (no spaces): >25,30-50,75

The logic condition is set. In our example, if the respondent enters a number greater than 0 in any row in Q6, the row will show in Q7.

3:  Deleting an Answer Condition

To delete a row, column or choice condition for answer piping, locate the question and click on the "Show rows/cols if" item in the general options panel. Then click on the "X" next to the condition you want to delete.