Skip to main content

Modifier: :label

Field label instead of the value. Write it after a colon: {Email:3:label}

About

Outputs the field label. Blank when the field itself is empty.

ProductGravity Forms
RequiresGravity Forms 1.9 or later
Works onform fields
In the pickerWhat to show

How to use it

Show a field name next to its value

Write

{Full Name:1:label}: {Full Name:1}

Get

Full Name: ada Lovelace

Examples

Rendered by real Gravity Forms and GravityKit PHP against a test entry.

Merge tagOutputWithout the modifier
{Full Name:1:label}Full Nameada Lovelace

Where the merge tag picker offers it

Form fields: Single line text · Paragraph text · Email · Website · Hidden · Consent · Signature · Drop down · Radio buttons · Checkboxes · Checkboxes, one choice · Multi select · Image choice · Multiple choice · Post category · Number · Calculation · Product · Product (single) · Product (hidden) · Product price · Quantity · Option · Shipping · Shipping (single) · Total · Date · Time · Name · Name, one part · Address · Address, one part · Phone, standard format · Phone, international format · File upload · Post image · List · Repeater.