Skip to main content

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.

ProductGravity Forms
RequiresGravity Forms 1.9 or later
In the pickerWhat 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 Lovelace

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutputWithout the modifier
{Full Name:1:label}Full Nameada 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 kindsWhy
Consent · Calculation · Product (single) · Product (hidden) · Name · AddressOutputs 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 formatLocked there. "Custom date format" replaces the value, so this would change nothing. Remove it first.