US State Field Type
The US State field type creates a dropdown list of US states to choose from.
Parameters
Parameter | Example |
---|---|
State Display | Allows you to choose between showing the full state name (ex: Florida) or the abbreviated version (ex: FL). You can still display the full name or abbreviation in your layouts, this is just what displays in the dropdown. |
Output
The state field allows you to display the abbreviation or full version of the state using the following parameters:.
Parameter | Description |
---|---|
{{ field_slug:abbr }} | The state abbreviation. Ex: FL. |
{{ field_slug:full }} | The full state name. Ex: Florida. |