|
This feature allows you to take a response to a question and insert this response into following questions or into one of the answer options of a following question.
Sample survey
To use piping you should follow the steps bellow:
- Choose the question in which you need to use the response to the question above.
- Insert a token referring to the corresponding response into the question.
- Save your settings.
- Questions, Answer options and 'Thank You Page' text can contain tokens in the form of [QX], [QX.AY] or [QX.AY.CZ].
- [QX] refers to question number X. For example, [Q4] refers to question number 4.
- [QX.AY] refers to question number X and answer number Y. For example, [Q10.A3] refers to answer number 3 in question number 10.
- [Q2.A*] refers to all the answers to question 2 selected by the respondent (this token type is used for questions that allow more than one answer - 'Check All That Apply' and 'List box').
- [QX.AY.CZ] refers to 'Matrix' type question number X, answer number Y and column number Z.
Note
Using tokens in braces like this {QX} or {QX.AY} you will be able to format responses manually using HTML tags, for example <b><i>{QX.AY}</i></b> is identical to [QX.AY].
Autocomplete function allows you faster and easier enter piping expressions. After entering [Q], [QX.A] or [QX.AY.C] system will show you the list of available questions, answer options or answer columns (for 'Rate' and '3D Matrix' questions) accordingly. Picked element will be substituted by its survey sequence number.
There are several things you should keep in mind when using 'Piping' feature:
- Tokens are case and format sensitive. They will be identified only if written in uppercase without any spaces or other symbols. Such symbol strings as [q4], [ Q7.A2 ] or [Q10;A5] will not be treated as tokens. Be careful when using tokens you input manually, so some references can happen to be invalid.
- The numbers of question and answers each token refers to must be valid.
- Each token should refer to a question that precedes the one you want to apply piping to. You cannot use token [Q7] in the question number 5.
- Questions that are referred to for piping must be setup as 'Must answer', Mandatory Answer Options or 'Must Answer All Fields' for applicable question types and must not be 'Hidden'.
Note that if "Branch on range" has been set you may not mark the questions that are referred to for piping as 'Must answer'. In this case the tokens should be used in braces {}.
- You cannot use piping and randomizing (either questions or answers) simultaneously.
- You must go to a new page to use piping. Questions with tokens cannot be on the same page as the question it refers to.
Note that if "Branch logic" or "Branch on range" has been set you may not mark the []'New page' check box in the questions with tokens. In this case the tokens should be used in braces {}.
- It is recommended you use piping responses for the following question types: 'Multi-line text response', 'Single-line text response with pre-format option', 'Dropdown box', 'Pick one', 'Check All That Apply' and 'List box'.
- If you refer to the question as a whole not specifying answer number (token type [QX]) it is implied that there can be only one answer to that question ('Multi-line text response', 'Dropdown box' or 'Pick one' question types).
- If the type of response to which the token refers is 'Text' ('Multi-line' or 'Single-line' text responses or 'Other' response in a 'Pick one' question) the token will be substituted with the text typed in by the respondent.
- You cannot use piping to insert responses that already contain tokens. Piping based on piping is not possible.
- When the question order is changed and/or some questions are removed from and/or added to the question list the numbering in tokens changes automatically. For example, if you set a token [Q5] in one of your survey questions and then you add a new question to the beginning of the survey (all the questions move down the list), the token will be automatically changed to [Q6].
- If there is any mistake in tokens and the application cannot apply piping properly invalid tokens will be substituted with '___________'.
Note If tokens are used in braces {} there will be space instead of invalid tokens.
- Piping will be applied in the following cases: in the 'Preview' mode, while running the survey and in 'View Report by Respondent' mode. In all other cases (on the 'Edit' pages, in reports, charts and when exported to Excel/SPSS) tokens will be displayed as [QX] and/or [QX.AY].
- You can insert autofilled information in Survey Name using piping tags.
- Piping can be used to pass the input data to the Email Alert body. For details consult 'Email Alert' help chapter.
- The input data may also be piped in the Redirect URL which is specified on Rules page. Just embed the tokens in the Redirect URL string. After the survey has been submitted, the newly configured URL, which the respondents are redirected to, will have a modified string with content based on the responses to questions in the survey.
Here is an example of using tokens:
| Question number |
Answer number |
Appearance in edit, report, export etc. mode |
Appearance in preview, report by respondent, running survey mode |
Responses |
| 10 |
|
Please submit your personal information |
Please submit your personal information |
|
| |
1 |
Name |
Name |
Helen |
| |
2 |
City |
City |
Boston |
| |
3 |
Email |
Email |
helen@hotmail.com |
| 12 |
|
Dear [Q10.A1], your email address [Q10.A3] will be added to our database, please specify the subject line for your email below. |
Dear Helen, your email address helen@hotmail.com will be added to our database, please specify the subject line for your email below. |
Hello from Boston! |
| 13 |
|
[Q10.A1], Please indicate the best ways to contact you (You may select more than one way). |
Helen, Please indicate the best ways to contact you (You may select more than one way). |
|
| |
1 |
Email |
Email |
V |
| |
2 |
Phone |
Phone |
|
| |
3 |
Fax |
Fax |
V |
| Thank You page. |
|
Thank you, [Q10.A1], for your time. From now on your emails from [Q10.A3] will have subject '[Q12]'. To inform you of our updates, we will contact you by: [Q13.A*] |
Thank you, Helen, for your time. From now on your emails from helen@hotmail.com will have subject 'Hello from Boston!'. To inform you of our updates, we will contact you by: Email, Fax |
|
|