Support Forums : Passing variables with email address

We encourage an open exchange of information. Ask your questions or make suggestions. We are here to help, but we also encourage all of you to help one another.
Click on the Subscribe Flag to be notified by email of replies to your post.
Current User: Guest Login Register
Please consider registering

Passing variables with email address

Add a New Topic Reply to Post
UserPost

10:05
August 29, 2008


kd2402

New Member

posts 2

I have a survey in which we know that some of the respondents should skip sections of the survey based on the services they receive from my company.  We don't want to add a question asking them to pick the services they've received becasue in the past we've learned a lot of times they don't select correctly.  Therefore, I created a database an email field, name field and survey type field which lets me know which services they receive.  Is it possible to pull the survey type field into the link and have it passed through to the survey so that we can use the variable in skip logic?

4:36
August 29, 2008


Mario

Moderator

Boulder, CO

posts 543

You can add query string variables to the survey link and then capture that information within hidden value fields in the survey (We are hoping to pull together a full blown tutorial on using query string variables soon).

For example, here is a made up basic survey link:

http://www.surveygizmo.com/s/12345/my-survey

You could have your website build the link and add a variable named 'name':

http://www.surveygizmo.com/s/12345/my-survey?name=Bob

These are automatically captured by the survey, but to be able to use the value within the survey for skip logic, it would be best to save it in a hidden value field (ADD ACTION > HIDDEN VALUE).

The 'value' of the hidden value field would be the merge code: [%%GET_name]

All query string merge codes take the form of [%%GET_xxx] where xxx represents the variable name. This stores the value of 'Bob' because that was what name= was in the query string. You would have one hidden value field for each variable in the query string, such as name and type … ?name=Bob&type=survey

Add a New Topic Reply to Post


Reply to Topic: Passing variables with email address

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 6        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.4 (Build 357)