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
Carlos Tasayco SilvaCarlos Tasayco Silva 

Any value picklist

Hello community,

Is there a function where the condition might be choose any value of the picklist?

I have a picklist with a lot of options, but I want a validation for a field which it would depend of the previous picklist, but I want any value.
VinayVinay (Salesforce Developers) 
Hi Carlos,

Can you please elloborate on your ask, when should validation rule fire?

Thanks,
Carlos Tasayco SilvaCarlos Tasayco Silva
Yes, I have dos fields in the object Opportunity:
- Field 1 is a picklist with A,B,C... options
- Field 2 is a checkbox true and false

When the salesman have to close the opportunity should be mandatory to always have a value in Field1 and Field2 should be True.

Warm regards