Modifier: :initials
Initials only. Write it after a colon: {Field:1:initials}
About
Reduces "Ada Lovelace" to "AL".
| Product | GravityView |
|---|---|
| Requires | GravityView 2.33 or later |
| Works on | Name fields |
| In the picker | Change the output |
How to use it
Sign off with initials
Use one part of a Name field: .3 is the first name, .6 the last.
Write
Approved by {Signed By:22.3:initials}{Signed By:22.6:initials}Get
Approved by A.L.Examples
Rendered by real Gravity Forms and GravityKit PHP against a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Signed By:22.3:initials} | A. | ada |
Where the merge tag picker offers it
Form fields: Name, one part.
Where it is left out
| Field kinds | Why |
|---|---|
| Name | Skipped on the whole field. The field is stored as several values, and GravityView skips it. Write one input instead, like .3 for a first name. |