This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
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
- Open the survey that you wish to add your questions to, or create a new survey.
- Select the style.
- Click [Enter] to create the first part of the question.
- Enter the question text.
- 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.

- Select in the Toolbar Topic menu, and check the radio button.
- Click
to save your changes.
Setting up the address in Questionnaire properties
- In Questionnaire mode, click
to open the dialog. - Select in the left-thand pane.

- Type the web address with variables into the box. The variable must be entered as the variable name enclosed in curly brackets.
- 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.