0

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.

4

There 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.