Merge Tags Reference

Overview

This article explains how to use merge tags in Gravity Forms to dynamically insert field values and other information into notifications, confirmations, post content templates, calculation fields, and more.

What are merge tags?

Merge tags are placeholders that Gravity Forms replaces with dynamic content when a form is submitted. Most merge tags reference form field values, but they can also pull in information about the entry, the current user, the date, and more.

Merge tag syntax

Field merge tags use the field label and field ID enclosed in curly brackets:

{Field Label:4}

The field label is optional. The field ID is all that’s required, so {:4} is valid. An optional modifier can be appended to control how the value is output:

{Field Label:4:modifier}

Where merge tags can be used

Merge tags are supported in notifications, confirmations, post content templates, and calculation fields. Not all merge tags are available in every context, so check the documentation for the specific merge tag you’re using.

Finding a field ID

Every field in a form is assigned a unique ID automatically. To find it, open the form editor and select the field. The field ID appears in the field settings panel on the right.