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}givesAda 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}givesItem 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
| Product | Gravity Forms |
|---|---|
| Requires | Gravity Forms 2.4 or later |
| In the picker | What to show, for List fields |
Examples
Output from the real plugin code, run on a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Ingredients:20:text} | Flour,2 cups Ingredients: Sugar,1 cup | HTMLItem 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.
| Product | Gravity Forms |
|---|---|
| Requires | Gravity Forms 2.4 or later |
| In the picker | What to show, for Repeater fields |
Examples
Output from the real plugin code, run on a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Items:17:text} | Item Name: Widget Quantity: 3 Size: Large Item Name: Gadget Quantity: 1 Size: Large | HTMLItem Name Widget Quantity 3 Size Large Item Name Gadget Quantity 1 Size Large |
Works on
Form fields: Repeater.