Modifier :country
Country code (ISO 3166-1 alpha-2). Example: {Mobile Phone:133:country} gives GB. On the test form, this field is {Mobile Phone:133} (Phone, international format).
About
| Product | Gravity Forms |
|---|---|
| Requires | Gravity Forms 3.0 or later |
| In the picker | What to show, for “Phone, international format” fields |
| Combining | Use it alone. With other modifiers, it is ignored. |
Examples
Output from the real plugin code, run on a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Cell Phone:12:country} | US | +1 413-555-0147 |
Works on
Form fields: Phone, international format.
Left out
| Field kinds | Why |
|---|---|
| Phone, standard format | Needs the international phone format. Gravity Forms only splits a phone number into these parts when the field uses the international format. |