Short-codes
Every field in your form has a unique short-code, enclosed in double curly braces {{
and }}
, that can be used to display response values automatically.
Short-codes are commonly used to personalize auto-reply emails/SMS and confirmation pages using the information provided in a submitted form.
Dynamic values
Short-codes can also be used as a default value in a form field to prefill information from another field or multiple fields.
When a default value is set, this field will automatically populate with the same response value entered in the field(s) represented by the short-code.
Finding short-codes
To find the short-codes for a specific form field, navigate to
and click the Insert form answers button.The complete list of available shortcodes for the given form presents.
To ensure short-codes work as expected, copying short-codes directly from this list is recommended.
Special codes
There is also a range of unique codes that you can use to insert database information that a form user does not enter.
Special code | Inserts |
---|---|
{{_autodatetime}} |
Current date and time stamp. |
{{_allfields}} |
All fields table. |
{{_responseid}} |
Form response ID. |
Changing field names and updating short-codes
Modifying a field name automatically updates its corresponding short-code.
However, short-codes already in use are not updated to match the changed field name.
If a field name is changed, all instances where the previous short-code is referenced must be manually updated to reflect the field name change
Troubleshooting
Short-codes have a consistent form.
If the field name is A Field Name, the short-code will be {{a field name
.
That is, short-codes are always entirely lowercase and otherwise match the question field names in your form.
For example, if the question is First Name, the short-code format will be {{first name}}
The short-code will not be {{First Name}}
.
Despite their consistent form, for the avoidance of typos, copying and pasting — ⌘/Ctrl+C, ⌘/Ctrl+V — short-codes directly from the short-codes list is recommended.