This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Example: using a variable label to specify a website to go to on submit

This example uses a single-response question label as part of the web address to go to on submit. You could also use a derived variable containing a complete web address as the label.

Set up the question with the labels to use

  1. Open the survey that you wish to add your questions to, or create a new survey.
  2. Select the Multi Choice style.
  3. Click [Enter] to create the first part of the question.
  4. Enter the question text.
  5. Click [Tab] to create the different choices and complete the code labels. In the example we are using four search engine names, Yahoo, Google, Ask and MSN. Since it is a single-response question, the code labels will replace the variable in the web address.

  6. Select Response in the Toolbar Topic menu, and check the Single radio button.
  7. Click Save button to save your changes.

Setting up the address in Questionnaire properties

  1. In Questionnaire mode, click Questionnaire properties button to open the Questionnaire Properties dialog.
  2. Select Replies in the left-thand pane.

  3. Type the web address with variables into the Web Page after Submitting box. The variable must be entered as the variable name enclosed in curly brackets.
  4. In the example above, the web address is made up of the code label for the question "Which search engine would you like to use now?" and the rest of the web address. Fortunately all the search engines have a similar address structure so you don't need to set up a derived variable to provide separate addresses.

See Also

Using survey variables to specify the website that a participant goes to when they finish

Advanced example: Using one survey to automatically add respondent details to a second survey via an ASP page. WebHost editions only.