We've written our own Handlebars helpers you can use to access the values of other fields and variables in your form. FIELD and VARIABLE work server-side and browser-side (eg in the email action and in the HTML templates) RENDEREDFORM is only used server-side by the email action field.
If you need to embed an image or file upload into your template, see File Upload Helpers.
FIELD
You can access the value of a field using the FIELD helper, like this
Parameters
Name | Description |
---|---|
pageInstance | The index (zero-based) of the page instance to query to if the field is on a repeating page |
If you are looping over a repeating page using INSTANCES (see Page Instance Handlebars Helpers) you have access to the this object:
{{FIELD "TEXT" pageInstance=this.pageInstance}}
Field Placeholders
You can access field names without having to type them in.
Use the field name button and pick the field you'd like to insert from the menu.
VARIABLE
Variables can be used in templates in a similar way to field values. They are accessed using
RENDEREDFORM
Examples
See the Displaying Field and Variable Values in your Form knowledge base articles for more information and working examples.