Skip to main content

Modifier :code

Country code instead of the country name. Example: {Shipping Address:131.1:code} gives 12 north main st., the same as the field alone. On the test form, this field is {Shipping Address:131.1} (Address, one part).

About

Only affects input .6 (Country) of an Address field. An entry saved before Gravity Forms 3.0.3 stored the country name, which this leaves as it is.

ProductGravity Forms
RequiresGravity Forms 3.0.2.2 or later
In the pickerWhat to show, for “Address, one part” fields

Works on

Form fields: Address, one part.

Left out

Field kindsWhy
AddressOutputs nothing on the whole field. Gravity Forms has no single value for this field as a whole, so the tag outputs nothing and so does any modifier. Use one part instead, like .3 for a first name.