Toggle menu

Field Value and Variable Helpers

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 {{FIELD "FIELDNAME"}}. There is no need to specify the page the field is on.

Parameters

NameDescription
pageInstanceThe 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.

Handlebars Template Editor Fields
 

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 {{VARIABLE "VariableName"}}.

RENDEREDFORM

{{{RENDEREDFORM}}} is used in the email action field to insert a full copy of a form's data. Placing {{{RENDEREDFORM}}} in the body or PDF body property will insert an HTML escaped copy of the values of all of the fields on your form.

Examples

See the Displaying Field and Variable Values in your Form knowledge base articles for more information and working examples.

Last modified on November 06, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon