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

how to deactiavte picklist from state field but keep only one?

in the State and Country Pick list business would like to deactivate all states besides one state . Also see if that one state can be the default value for the State. As well as the United States for the Country Pick list This change will be reflected in the Address files across all object in Salesforce and affects all users in the system. I also read that appears we can't set the State a default. So what is the bst way to achive this
Deepali KulshresthaDeepali Kulshrestha
Hi mitsvik,

When you enable state and country picklists, the picklists are immediately available to users. However, it can take some 

time for Salesforce to populate the ISO code fields on existing records. If users try to edit the state or country on a 

the record before the code field is populated, they are prompted to select a code value.

Please refer to the following links as they may be helpful in solving your problem:


I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha