|
Sample survey
URL Import and Piping' can be used together to import parameters from the address line into one of the questions on the first page of the survey and use them in the next questions or on the 'Thank you' page.
To use the combination of these features you need to design a survey and then:
- Add a question of the 'Single Line Text with Pre-Format Option' type on the first page of your survey.
- Insert the tag <import param="XXX"/> into the responses you need to import parameters from the address line. <more>
- Insert tokens [QX.AY] or {QX.AY} into the questions you need to use the imported data. <more>
Note
Question with imported parameters should precede the questions in which these parameters will be used.
Here is an example of using URL Import and Piping together:
The data have been imported from the following URL:
http://keysurvey.com/survey/16309/2835/?LQID=1&name=Pat &email=pat@a.net
| Question number |
Answer number |
Appearance in edit,preview, report, export etc. mode |
Appearance in report by respondent, running survey mode |
Imported Parameters |
| 1 |
|
Personal information: |
Personal information: |
|
| |
1 |
Name<import param="name"/> |
Name |
Pat |
| |
2 |
Email<import param="email"/> |
Email |
pat@a.net |
| 2 |
|
Dear [Q1.A1], your email address [Q1.A2] will be added to our database. |
Dear Pat, your email address pat@a.net will be added to our database. |
|
| Thank You page. |
|
Thank you, [Q1.A1], for your time. From now on we will contact you by Email using your email address [Q1.A2] to inform you of our updates. |
Thank you, Pat, for your time. From now on we will contact you by Email using your email address pat@a.net to inform you of our updates. |
|
You can also use piping to create URL with imported parameters within. When respondents follow this URL, they will be redirected to another survey with imported data from the first survey:
- Create both Start survey and Target survey.
- Adjust Target survey to activate the URL Import.
- Go back to the Start survey and insert Target survey link to the last page or to the Thank You Page.
- Add piping tags to the target survey URL. Thus the data respondents submit in the Start survey will be piped to the target survey URL. When respondents follow this link, they will be redirected to the target survey with the imported data within.
Note
As the URL Import feature requres special symbols in a link, respondents must use alternative representation of such symbols. If they don't, browsers can interpret such symbols incorrectly and URL Import will be broken.
Examples of special symbols: %23 instead of #, & instead of &.
|