How can I get all picklist values in a validation rule?
I'm looking for a suitable function but I cannot find any.
What I need to achieve is that some string is among the picklist values.
Please advise.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityThere is no such function to get all picklist values. You can enable the "Strictly Enforce Picklist Values" function for a picklist, or use Apex code, but Validation Rules won't get you where you want to go.