Passing Field Information to a Form Via the URL

Passing data in a hyperlink (HTTP GET)

You can pass data by appending the Certain name-value pairs in the hyperlink containing the URL of the form. For example, to pass the username "jfkennedy@whitehouse.gov" and password “jackie” to the form, use the following hyperlink:

Note that the Password field must be set to "Hide Text? = No" in order to pre-populate that form field. You can change this setting on the Form's > Entry page in your event.

The URL for your online registration form is found on the Form's > Setup page.

Passing data in a form submission (HTTP POST)

You can also pass data to the first page of the Certain online registration form by posting a form submission to the URL of the registration form and passing the Certain variables as hidden fields. For example:

<form action="https://www.certain.com/event/profile/form/index.cfm?PKformID=0x21239a912" method="POST"> <input type="hidden" name="username" value=" jkennedy@whitehouse.gov "> <input type="hidden" name="password" value="jackie"> <input type="submit" name="go" value="Register Online Now"> </form>

Advanced developers can achieve the same result using JavaScript or server-side commands.

The POST method of data transfer has several advantages over GET:

Important items to consider

(Incorrect)

(Correct)

Source: https://platform-support.certain.com/hc/en-us/articles/200211670-Passing-Field-Information-to-a-Form-Via-the-URL

Published:

Keywords: Certain, HTTP GET, HTTP POST, URL encoding, ®