You need to sign in to do that
Don't have an account?
FQuinones
How to create a validation rule with a picklist field and a multiple select field?
Hello All,
I'm trying to create a validation rule for the field Ethnicity (picklist) and Cultural Identify (Multi-select picklist). Every time Ethnicity equals "Hispanic or Latino", I want to required the field Cultural Identity.
I was thinking in somehting like the following:
AND
(ISPICKVAL(Ethnicity__c,"Hispanic or Latino")&&
ISBLANK(TEXT(Identify_as__c))
)
Error: Field Cultural Identity is a multi-select picklist field. Multi-select picklist fields are only supported in certain functions.
Can someone help?
I'm trying to create a validation rule for the field Ethnicity (picklist) and Cultural Identify (Multi-select picklist). Every time Ethnicity equals "Hispanic or Latino", I want to required the field Cultural Identity.
I was thinking in somehting like the following:
AND
(ISPICKVAL(Ethnicity__c,"Hispanic or Latino")&&
ISBLANK(TEXT(Identify_as__c))
)
Error: Field Cultural Identity is a multi-select picklist field. Multi-select picklist fields are only supported in certain functions.
Can someone help?
Can you use the below validation rule.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
For multiselect picklist you have to use INCLUDES() function as below.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
Hello Sai,
Thank you for your quick response. I try that too and did not work.
The error is the following:
Field Ethnicity__c is a picklist field. Picklist fields are only supported in certain functions
Can you confirm if Ethnicity__c is Picklist or multiselect picklist and also can you confirm the API name of the value "Hispanic or Latino".
Thanks,
Can you confirm if Ethnicity__c is Picklist or multiselect picklist and also can you confirm the API name of the value "Hispanic or Latino".
Thanks,
Confirmed.
Ethnicity(Ethnicity__c) is a picklist and the API name of the value is "Hispanic or Latino". Cultural Identity (Identify_as__c) is a multi-select picklist.
Thank you.
Can you use the below validation rule.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
That works. Thank you.