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.
| Product | Gravity Forms |
|---|---|
| Requires | Gravity Forms 1.9 or later |
| Works on | form fields |
| In the picker | What 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 LovelaceExamples
Rendered by real Gravity Forms and GravityKit PHP against a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Full Name:1:label} | Full Name | ada 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.