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
Dan KiddDan Kidd 

Hitting error on Validation Rule with a multiselect picklist

Hi,

I'm hitting an error on a validation rule using a mutli-select picklist that doesn't make any sense. The multi-select picklist field is Client_Prducts_c: 

Error is:
 Error: Field Type is a picklist field. Picklist fields are only supported in certain functions.

Rule is:

AND( 
 Type  = "Customer", 
AND( 
 ISBLANK(Client_Prducts__c)
)

But I'm using ISBLANK on the multi select picklist, which according to this thread is allowed:

https://help.salesforce.com/articleView?id=tips_for_using_picklist_formula_fields.htm&type=5

Help!

Thanks
Dan

Maharajan CMaharajan C
Hi Dan,

You got the error due to the Type field which is the picklist field not related to multipicklist:

The formula should be like below:

AND( 
 ISPICKVAL(Type, "Customer"), 
 ISBLANK(Client_Prducts__c)
)


Can you please Let me know if it helps or not!!!

If it helps don't forget to mark this as a best answer!!!


Thanks,
Raj

 
GauravGargGauravGarg
Hi Dan,

Please use 
ISBLANK(TEXT(Field_name))

Thanks,
Gaurav
skype: gaurav62990
Support: gauravgarg.nmims@gmail.com
Dan KiddDan Kidd
Oh my word, I'm so dense. Thanks everyone. I'll test this and come back to you with the "best answer" :)