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

Next Topic

Book Contents

Book Index

Routing through different versions of your survey using the ID.site paradata

Provide an appropriate title for each version of the survey.

  1. Open Snap and click New button or select File|New to create a new survey.
  2. Specify the Publication Medium as Web
  3. Change to the Questionnaire window if it is not already in that mode.
  4. A space for a title is created automatically in the survey. Type Title for Product website and press [Return].
  5. Change the style of the second line to Title (select Title from the drop-down list at the left of the questionnaire window ribbon). Enter Title for Development website and press [Return].
  6. Repeat for the third title, Title for Services website.

    Titles and question for Snap site variable survey

  7. Edit the look of the titles so they are different.
  8. Click Save button to save the survey.

Including the ID.site variable

The paradata variables are not automatically included in your survey. You must explicitly add the ones you want to use.

  1. Click Questionnaire properties button on the questionnaire window toolbar to open the Questionnaire Properties dialog.
  2. Select Paradata in the list of options on the left.

    Paradat with site selected

  3. Select Site in the list of system variables and check the Use in survey box. Click [OK].

    The ID.site variable will be added at the top of your survey.

ID.site variable at top of survey

Setting up the routing

You must decide what the possible site variables are going to be. In this worksheet, 1 represents the Product site, 2 represents the Training site and 3 represents the Service site.

  1. Click anywhere in the first title to select it.
  2. Click Routing button on the Questionnaire Design toolbar to open the Routing Rules dialog.

  3. Click [Add] to create a new routing rule.

    New routing instruction dialog: conditionally ask

  4. Select Conditionally Ask Question from the Type box and click [OK].
  5. The Rule details dialog appears. The cursor will be in the If box. Type ID.site=1 in the If box. This means that this question (in this case a title) will only appear if the value in the ID.site variable is 1.

  6. Click [OK]. The routing rules box disappears, and a routing arrow is shown on the questionnaire by the first title. This tells you that there is routing associated with that question. The arrow does not appear on the published questionnaire.

    Title with routing arrow

  7. Create a routing rule in the same way for the second title, but this time type ID.site=2 in the If box.
  8. Repeat for the third title, but type ID.site=3 in the If box.
  9. Hide the paradata variable, by selecting it, right-clicking and choosing hide all from the menu that appears.
  10. You must then link to the survey using the correct information in the survey link, so the site identifier is seeded loaded into the paradata variable. This is described in Using the survey link to seed data into the survey.

See Also

Applying a static mask

Applying dynamic masking

Creating and applying a conditional mask using a derived variable