I'm trying to have a text field required when a value is selected in Multi-picklist field
IF(
AND(TEXT(Environment_Access__c ) = "DevQA",
ISBLANK( Business_Justification__c )),
True,
False
)
First of all, you can always replace IF(condition, true, false)
with just condition
.
Second, you need to use INCLUDES
rather than TEXT
.
AND(
INCLUDES(Multi_Picklist__c, "SingleOption"),
ISBLANK(Other_Field__c)
)
For checking a value in multi select picklist, you will have to use INCLUDES
Your validation rule should be like this
IF(AND(INCLUDES(Environment_Access__c, 'DevQA'), ISBLANK(Business_Justification__c)), true, false)
Or
AND(INCLUDES(Environment_Access__c, 'DevQA'), ISBLANK(Business_Justification__c))
You can check this link for further help.