Skip to main content

Modifier :text

:text does different things on different tags and fields:

  • Plain text list on List fields, under What to show in the picker.
    Example: {Guests:136:text} gives Ada Byron,Fish Guests: Alan Turing,Vegetarian. On the test form, this field is {Guests:136} (List).
  • Repeater as plain text on Repeater fields, under What to show in the picker.
    Example: {Line Items:137:text} gives Item Name: Poster Units: 3 Color: Bright Red Item Name: Banner Units: 1 Color: Deep Blue. On the test form, this field is {Line Items:137} (Repeater).

Plain text list

ProductGravity Forms
RequiresGravity Forms 2.4 or later
In the pickerWhat to show, for List fields

Examples

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

Merge tagOutputWithout the modifier
{Ingredients:20:text}Flour,2 cups Ingredients: Sugar,1 cupHTMLItem Quantity Flour 2 cups Sugar 1 cup

Works on

Form fields: List.

Repeater as plain text

Plain text, keeping choice text instead of stored values.

ProductGravity Forms
RequiresGravity Forms 2.4 or later
In the pickerWhat to show, for Repeater fields

Examples

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

Merge tagOutputWithout the modifier
{Items:17:text}Item Name: Widget Quantity: 3 Size: Large Item Name: Gadget Quantity: 1 Size: LargeHTMLItem Name Widget Quantity 3 Size Large Item Name Gadget Quantity 1 Size Large

Works on

Form fields: Repeater.