Merge tag: {approval_status}
Approval status. The entry's GravityView approval state as words -- Approved, Disapproved or Unapproved. Add :value for the number behind them.
| Product | GravityView |
|---|---|
| Requires | GravityView 1.18 or later |
| Needs an entry | Yes: its value comes from a form entry |
Modifiers
What the merge tag picker offers on this tag.
What to show
| Modifier | Description | Requires |
|---|---|---|
value | Status number. The stored number instead of the words: 1 approved, 2 disapproved, 3 unapproved. Any other modifier falls through to the words. | GravityView 1.18 or later |
Examples
Rendered by real Gravity Forms and GravityKit PHP against a test entry.
With a modifier
| Merge tag | Output |
|---|---|
{approval_status:value}Rendered against an entry nine days older, where the result differs. | 3 |