Placeholder Reference

A comprehensive list of placeholders available for use in Formify Templates

Formify placeholders are used in Formify Templates as variables for form record data.

{{ handle }}

Renders the value of a particular field according to the field's handle.

Note: The text "handle" should be replaced with the actual field handle.

Modifiers

{{ handle[maxlength:'XX'] }}
{{ handle[format:'number'] }}
{{ handle[format:'currency'] }}
{{ handle[separator:'separator'] }}
{{ handle[html:'true'] }}
{{ handle[striptags:'true'] }}
{{ handle[allowedtags:'<tag><tag>'] }}


{{ user }}

Renders the information about the user that owns the record.

Properties

{{ user.username }}
{{ user.email }}
{{ user.attribute_handle }}
{{ user.id }}


{{ timestamp }}

Renders the date and/or time on which the record was submitted.

Modifiers

{{ timestamp[format:'F j, Y'] }}


Other Placeholders

{{ ip }} - Renders the IP address from which the record was submitted.
{{ id }} - Renders the ID number associated with the record.
{{ detailurl }} - Renders the URL that will display the record within a detail template.
{{ amountcharged }} - Renders the amount charged to the user that submitted the record.
{{ amountpaid }} - Renders the amount paid by the user that submitted the record.
{{ status }} - Renders the approval status of the record.


Formify-Repeat Attribute

<div> elements are used in the following examples, but the formify-repeat attribute may be used within any HTML element.

<div formify-repeat="a in answers"></div>
<div formify-repeat="x in handle"></div>


Formify-If Attribute

<div> elements are used in the following examples, but the formify-if attribute may be used within any HTML element.

<div formify-if="handle"></div>
<div formify-status="approved"></div>
<div formify-status="pending"></div>
<div formify-status="rejected"></div>
<div formify-comparison="="></div>
<div formify-value="comparison value"></div>