Passing Field Information to a Form Via the URL

Passing data in a hyperlink (HTTP GET)

Data can be passed by appending Certain name-value pairs in the hyperlink that contains the URL of the form.

Example: To pass the username jfkennedy@whitehouse.gov and password “jackie” to the form, use the following hyperlink:

https://www.certain.com/system/profile/form/index.cfm?PKformID=0x1219985d6&username=jkennedy@whitehouse.gov&password=jackie

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.

<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=" 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

http://www.certain.com/event/profile/form/index.cfm?PKformID=0x33042a978&reg_ans_field04=Testing123

http://www.certain.com/event/profile/form/index.cfm?reg_ans_field04=Testing123&PKformID=0x33042a978

Related articles