Special Characters in URL Parameters

Overview

When passing parameters through URLs, you typically need to encode characters on the sending end and then decode them when displaying the data, e.g., auto populating fields on a registration form.

For example, if you have captured a constituent's email via an inquiry form and would like to add an option to redirect the constituent to a registration form with pre-populated form fields, you'll need to ensure that any special characters are decoded in the target fields. Without decoding, an email address will display the ASCII value in the field, e.g., username%40email.com.

FormBuilder offers built-in options for decoding special characters. Follow the example instructions below.

Example: Decode the "@" Sign in an Email Address

  1. In Salesforce, go to Setup and search for "Custom Metadata Types" in the Quick Find box. Click the link when it appears.

  2. On the All Custom Metadata Types page, click on the Label for ERx FB Special Characters.

  3. Click the Manage ERx FB Special Characters button and then click the New button.



  4. Fill in the details like this:

  5. Click the Save button.
Tip:
Visit the W3 Schools URL encoding reference page for a list of special characters and their corresponding ASCII values.