Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Copper Super Contributor
Posts: 40
Registered: ‎05-13-2009

Bind Country Code to DB For address

How do you change the AddEditAddress.ascx page to allow the Country Picklist code (Short Text) to be posted to the Database instead of the Picklist text.

I tried changing the StorageMode to "Code" but it made no difference.


Basically I want to display the Code and the Text when the user opens the picklist but only display and store the 2 character Country code.


My picklist looks like this:

Code, Text

====  ====

CA, Canada

US, United States

UK, United Kingdom



Paul Fisk

Paul Fisk