It says "Error: Field Named_Partner__c is a picklist field. Picklist fields are only supported in certain functions. "
Named Partner is the field I want required and is a picklist. Any suggestions?
AND(
CONTAINS(TEXT( Account_Name__r.VRank_Category__c ),
LOWER('strategic')),
TEXT(ISBLANK( Named_Partner__c ))
)
14 个回答
Hi Brittney,
One thing to note for the CONTAINS function is when using this function in a validation rule or workflow rule, fields that are blank are considered valid. For example, if you have a validation rule that tests to see if the serial number of an asset contains “A,” all assets that have a blank serial number are considered valid.Can you try the following:
AND(
NOT(ISBLANK(TEXT(Account_Name__r.VRank_Category__c ))),
CONTAINS(LOWER(TEXT(Account_Name__r.VRank_Category__c)),
'strategic'),
ISPICKVAL( Named_Partner__c,"" )
)