Modifier :label
Field label instead of the value. Example: {Company:101:label} gives Company. On the test form, this field is {Company:101} (Single line text).
About
Empty if the field is empty or holds 0.
| Product | Gravity Forms |
|---|---|
| Requires | Gravity Forms 1.9 or later |
| In the picker | What to show, for form fields |
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
Output from the real plugin code, run on a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Full Name:1:label} | Full Name | ada Lovelace |
Works on
Form fields: Single line text · Paragraph text · Email · Website · Hidden · Signature · Drop down · Radio buttons · Checkboxes · Checkboxes, one choice · Multi select · Image choice · Multiple choice · Post category · Number · Product · Product price · Quantity · Option · Shipping · Shipping (single) · Total · Date · Time · Name, one part · Address, one part · Phone, standard format · Phone, international format · File upload · Post image · List · Repeater.
Left out
| Field kinds | Why |
|---|---|
| Consent · Calculation · Product (single) · Product (hidden) · Name · Address | Outputs nothing on the whole field. Gravity Forms has no single value for this field as a whole, so the tag outputs nothing and so does any modifier. Use one part instead, like .3 for a first name. |
| Date, after a custom format | Locked there. "Custom date format" replaces the value, so this would change nothing. Remove it first. |