Closed (duplicate)
Project:
Address Field
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2012 at 14:02 UTC
Updated:
3 May 2013 at 19:41 UTC
I'd like to display administrative areas (eg US states or Canadian provinces) by their two-letter code rather than their full name. I know the code is used as the key in the module - is there a way to use it for the display?
Comments
Comment #1
amarcus commentedLook at the addressfield_tokens module, for field formatters and tokens that can display administrative areas using either the full-text version or the abbreviation.
Comment #2
rszrama commentedI fixed this in #1427682: [API change] Make expanding an administrative area code to its full options list value optional.