| Re: Country Code To all the screen, i worked on, Country code refers to country_code3_gid. I dont think, personally, that its possible to populate country_code2 value.
But still I can provide 2 workarounds.
1. Need to create country codes with 2 letter code. Simple as that.
Otherwise
2. You need to modify related XSL for display purpose alone. That is, u can modify 'Picklist' format to 'Dropdown' format and then display psuedo values with 2 letter codes which is actually mapped with 3 letter country codes by placing the following code in XSL dropdown template where the country_code3_gid is referred to.
<options>
<option name='PK' value='PAK'>PK</option>
<option name='US' value='USA'>US</option>
</options>
Hope this helps.
But there should be some reason country_code2_gid still exist in table even though code3 value is used.
Please do let us know if you find any direct solution for you issue.
Cheers! |