This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
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.
This example describes how to add a new respondent "jrdallas" to a survey. The survey is an educational survey and the subject is the name of the instructor. The survey has a k number of 124713335122 and the password for Enabling database updates is "Good!".
You could set these details up with the string
https://www.snapsurveys.com/wh/updategroupsurvey.asp?a=add&k=124713335122&kp=Good%21&p=jrdallas&s=Dr%20John%20Goodwin
Note that the ! in the password must be percent-encoded to %21, and the spaces in the instructor name must be percent encoded to %20.
If the database contains other information that must be seeded into the survey, you need to pass the data for the survey to updategroupsurvey.asp via the d parameter. For example, to include the information to set the open response variable q9 to fred you would need the following string.
updategroupsurvey.asp?a=add&k=124713335122&kp=Good%21&p=jrdallas&s=Dr%20John%20Goodwin&d=Q9%3Dfred
Note that instead of Q9=fred, you must enter Q9%3Dfred.
If the variable is multi-choice, you must use the code number rather than a string, e.g.
Q11%3D2 to set Q11 to the second code.
Making multiple changes
If you wished to delete all instances of the database records that referred to the instructor Dr John Goodwin you could do this by using the ws option:
updategroupsurvey.asp?a=delete&k=124713335122&kp=Good%21&ws=Dr%20John%20Goodwin
|
See Also |