Support Forums : Pass Data into URL

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

Pass Data into URL

Add a New Topic Reply to Post
UserPost

4:40
July 22, 2008


Leibiniz

Member

posts 35

Hi,

I am trying to figure out how to pass data into a redirecting URL from a variable in the survey URL i.e. data=123, into another a url which is redirecting the participant to another site on survey completion. i.e. http://www.domain.com/?pass=#data#

I am not sure if this can be done and what coding is required to pass the data through to the url. I know you can pass data through from survey questions but cannot figure out how to get data from the survey URL. I tried the GET function but have had no joy.

5:18
July 22, 2008


Leibiniz

Member

posts 35

Looks like I solved it, rather than try to get the vlaue and code it into the URL it seems easier to pass the value as a hidden value and then pass it into the redirecting URL.

5:12
July 22, 2008


Chad

Moderator

posts 686

Hi Leibiniz,
Correct, the way to send query string variables when redirecting a survey is to load your variables into hidden fields in the survey (using the [%%GET_xxx] merge code).

Then inside the redirect action go to the Fields to Pass section, select the hidden field, give the query string variable a title and don’t forget to save!

Hope this helps,
Chad

Add a New Topic Reply to Post


Reply to Topic: Pass Data into URL

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 2 + 8        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)