Skip to main content
You are viewing the documentation of release 26.1, which is no longer the current one. Go to the documentation of the current release 26.2.
Circularo offers option to integrate directly to templates. You can pre-fill fields via URL with JavaScript function encodeURIComponent. More information about JavaScript function encodeURIComponent on http://w3schools.com.

Example of pre-filling field Location in template

Localise Key for value Location
For finding key you want to use, open template you are using, choose field you want to pre-fill and copy value “Key” The Key of a field in the template editor Adding value to Location which will be pre-filled by using JSON. In our example we want to pre-fill Praha to location:
Using URI for encoding variables
To create address with pre-filled value “Praha” in Location field, add encoded variables behind defaults in address. See the address for using Praha in Location and pre-filled value in picture below:
The form opened with the Location field pre-filled You can add more options using comma and adding another key to JSON, after encoding, paste value behind defaults like in previous example