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

(new related group 1)

Passing information to the updatesurvey.asp page

Example of updating an existing respondent with seeded survey data

Example of adding a new respondent with email data

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

Next Topic

Book Contents

Book Index

Using the survey link to seed data into the survey

If you are using a Snap installation of Snap WebHost, use the link https://www.snapsurveys.com/wh/ (or https://wh.snapsurveys.com/).  If you are using a non-Snap installation of Snap WebHost, replace www.snapsurveys.com (or wh.snapsurveys.com) with the path location of your Snap WebHost server.

If you are providing a link to your survey, you can put special text in the link to load data directly into the variables when the respondent clicks on the link. You can define the special link in a web page, or by put it in your own email invitations. (If you are using Snap WebHost emails, you can set this up using the database link to seed the information.)

You use:

http://www.snapsurveys.com/wh?k=surveyid&variablename=value

If you wish to seed more than one variable, repeat the seeding instruction.

http://www.snapsurveys.com/wh?k=surveyid&variablename1=value1&variablename2=value2&variablename3=value3

You can load data into any variable with this method. If you wish to seed a coded variable, enter the code number to be selected. If you wish to set multiple codes in a survey variable, separate the code numbers to be set with a semi-colon, e.g. Q3=4;7

You can also use a clickable link stored anywhere on the internet. Since you would not be able to identify which respondents use the link, this would be more suitable for identifying which link they clicked on.

Since Snap WebHost survey links already use the "?" tag to identify which Snap WebHost survey is being completed, you immediately use the & to start seeding data.

For example: http://www.snapsurveys.com/wh/s.asp?k=12341234&ID.site=snap

There are single-letter shortcuts for the paradata variables Respondent, Password and Site. The u and the p can only be used if you have previously uploaded respondents with a username and password to your survey.

Paradata

Letter

Respondent

u (username)

Password

p

Site

s

If you want to include a space in a parameter, use %20 instead. For example, to associate "snap surveys" with the Site paradata variable, use:

http://www.snapsurveys.com/wh/s.asp?k=12341234&s=snap%20surveys. The other special characters that you must encode are given below.

Replace the character on the top row with the three character code on the bottom row.

Character
Code

!
%21

*
%2A

"
%22

'
%27

(
%28

)
%29

;
%3B

Character
Code

:
%3A

@
%40

=
%3D

+
%2B

$
%24

,
%2C

/
%2F

Character
Code

?
%3F

%
%25

#
%23

[
%5B

]
%5D

space
%20

&
%26

Note: You can only use the u (username) and p (password) parameters if you have published the questionnaire with a list of respondents' logins.

See Also

Including a respondent Id or a login

Setting up a database link for respondents (for seed data, email invites and/or logins)

Publishing and checking a Snap WebHost questionnaire

Exporting a questionnaire containing data

Generating a new respondent file to upload to Snap WebHost

Setting what happens when the participant submits a questionnaire in Snap WebHost

Setting what happens when the participant saves a questionnaire in Snap WebHost