Auto-populate fields in a web form or start an instance page with dynamic data using a custom URL. For example, you can create a custom URL per region and dynamically populate defaults for each region.
During setup of an action or Workflow, you can already easily set defaults for each field. For added customization you can create a custom URL.
- Reduce error rate in a web form by auto-populating the departments of each web form recipient.
- Auto populating the regional office and e-mail address fields in a web form based on user information from a data table.
You can auto-populate a form with defaults by appending a custom value to the end of a web form URL. Here is an example of a url that would auto-populate the department field with sales.
Each default value follows the same format:
?field-fieldname=default, whether you’re setting the default for a text, integer, single choice, or any other field.
field- is added before all field names.
If the field name you are auto populating has any spaces or special characters, replace those with a
- symbol. For example, for the field What is your name? the reference in the url would be
If your web form has a “Department” text field and you want the field to auto-populate with “Sales”, you would reference that field and format by adding:
?field-department=sales to the URL. Here is a step by step process:
- Start with the normal web form URL:
- Append a default value:
To add more than one default value, add each additional value with the syntax:
&field-fieldname=default. Each value after the first uses the
& character in place of the
- Start with a URL with one default value:
- Append an additional default value with an
&in place of the
- Continue adding more default values in the same fashion:
💡Tip: Since the information is stored in the URL, this shouldn’t be used for sensitive or confidential data. These auto-populated values are visible to any user with access to the url.
For each field type, a specific format is required. For example Choose Multiple items must be separated by commas without spaces.
|True or False||?field-fieldname=True|
|Date and Time||?field-fieldname=2018-05-14T16:20:45.266Z|
💡Tip: This format is case insensitive. If you have configured a Single Choice field with options [
Pear ] where the first character is capitalized, a custom url with the format
?field-fieldname=apple will correctly set the [