This article explains Question and Answer Piping, which allows you to display answer text from one question within the text of another question or within answer report text.
Piping is the ability to display answer text within the text of another question. You can use piping in two ways:
- Question Piping - display an answer (or its report text) from a previous section within question text or instruction text
- Answer Piping - include the answer to any question (including the current one) within the answer report text
On this page
Question Piping
Within question text or instruction text, you can display an answer (or its report text) from a previous section using the following merge strings:
| Merge String | Description |
{ResponseAnswer.AnswerText[Sn SSn Qnn]} |
Displays the answer text from a question in a previous section. |
{ResponseAnswer.AnswerReportText[Sn SSn Qnn]} |
Displays the answer report text from a question in a previous section. |
Tip: Use the RepText parameter to access Report Text 2 or Report Text 3.
You can use multiple merge strings in a single question or instruction.
Example: Multiple merge strings in one question
A question configured as:
{ResponseAnswer.AnswerText[S1 SS1 Q10]}, you scored Product Safety {ResponseAnswer.AnswerText[S2 SS2 Q20]}, can you tell us why you gave it that score?
Would appear in the response entry screen as:
Tom, you scored Product Safety 8, can you tell us why you gave it that score?
Answer Piping
Within the Answer Report Text, Report Text 2, and Report Text 3 fields, you can include the answer to any question using the following merge string:
| Merge String | Description |
{ResponseAnswer.AnswerText[Sn SSn Qnn]} |
Displays the answer to any question, including the current one. |
Note: Answer piping can reference questions that appear later in the assessment, as long as the answer has been entered before the report is generated. The answer text may come from a text box entry or a selection from a list.
Comments
0 comments
Please sign in to leave a comment.