function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
khushbu dubeykhushbu dubey 

what would be field type for country and postal code

Vijay NagarathinamVijay Nagarathinam
Hi,

If you are configured state and country picklist option, then country will be displayed as picklist and postal code displayed as text, by default the country and postal code will be text.

Thanks,
Vijay
ManojjenaManojjena
Hi khushbu ,

Country and state is a standard picklist which needs to enable  . Postal code you can create as text else comma will come in between if you will create with data type number .
Check below link which will help for country picklist
https://help.salesforce.com/apex/HTViewHelpDoc?id=admin_state_country_picklist_enable.htm

for postal code you can add validation like belwo .
 
OR(LEN( Postalcode__c) <> 6,NOT(ISNUMBER(Postalcode__c)))
Let me know if it helps !!
Thanks
Manoj