Ratufa Documentation

Templating reference

The email notifications and auto-response support the Mustache template system. You can use the fields from the form in the template.

All fields table

{{allFields}} creates a table of all fields in the form. If you want to add a caption to the allfields table, use this format:

{{allFields caption="Order Details"}}

Individual fields

You can have the value (only the value) of the field using the format:
{{fd.fieldname}}
for example, {{fd.email}} or {{fd.name}}

Use the name of the field exactly as it is in your form, also when it has spaces or brackets:
{{fd.Email Address}} or {{fd.contact[email]}}

If you want to display the label and the field value, use this format: {{field "fieldname"}}
for example {{field "email"}} or {{field "name"}}

If you want to use a different, custom caption, use this format:
{{field "age" caption="another caption"}}

Form submission ID

Each form submission has a unique alpha-numeric ID. {{ID}} is the format for showing the ID. Similarly, the sequential ID can be displayed using {{SeqID}}. SeqID is a sequential unique ID of the form submission.