+ Start a Discussion
himanshu huske 7himanshu huske 7 

State Abbreviation Logic

Please provide any salesforce standard logic for state abbreviation.
eg: California - CA , Alaska - AL
for User state picklist
VinayVinay (Salesforce Developers) 
Hi Himanshu,

You need to configure the two-digit state codes in setup under:
Data Management > State and Country/Territory Picklists > Configure States and Countries and Territories > United States


Vinay Kumar
himanshu huske 7himanshu huske 7
Hi Vinay, 
Thanks for that but I am getting US for United states but not in case of states
what will be the setting for states... it is not rendering state codes in fields.
please help
State code is stored as the value. But on screen it shows the state name only.
himanshu huske 7himanshu huske 7
Thanks for reply Ritu,
But is it possible to render abbreviations instead for stateName
VinayVinay (Salesforce Developers) 
Currently,  this is cannot be achieved through inbuild functionality.  You would need to implement it.

Kindly review below idea link and vote for this feature.


You can try something like below.


Hope this helps..

You can change the name of the each state. But it will be a time consuming activity.

User-added image