When creating a Pre-fill URL to populate a form, particular characters are not supported by the URL and this is where we will need to follow the method of percent-encoding.

URLs don't like certain characters and we may cause a break if we include them.

To include certain characters in a URL, we can use something called percent-encoding, where a code represents a character, preceded by a%.

Let us look at an example of using the method of percent-encoding.

Below we have two URLs.

  1. Our original pre-fill URL.
  1. An altered pre-fill URL using the method of percent-encoding.

Take a look at these supported codes.