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
Himanshu PuranikHimanshu Puranik 

Picklist Validation rule not working


I have a validation rule setup to check if a given picklist value is empty. I have tried following ways but the rule does not trigger:

#Type 1:
ISBLANK(TEXT(picklist ))
(RecordType.Name = "name1" 
RecordType.Name = "name2" 
RecordType.Name = "name3" 

#Type 2:

AND(ISPICKVAL(Picklist , ""), NOT(ISBLANK(TEXT(Text_Field))),OR(RecordType.Name = "name1", RecordType.Name = "name2", RecordType.Name = "name3" ))

Please let me know why this doesn't work. Thanks a lot
Best Answer chosen by Himanshu Puranik
Foram Rana RForam Rana R
Hi Himanshu,

You can check picklist field is empty by using below code :
IF(ISPICKVAL( Test__c, '') , true, false)

Here Test__c is picklist field.

Foram Rana