Skip to main content The new Salesforce certifications experience is live! Visit Trailhead Academy to explore your new certifications homepage.
Ok - I'm racking my brain as to why this isn't working properly.

 

I have a validation rule to check if a text area has a value or not. Here's my code:

 

"ISPICKVAL( Status  , "Unable to contact") ||

 

ISPICKVAL( Status  , "Long Term Follow-Up")  || 

 

ISPICKVAL( Status , "Unqualified")  || 

 

ISPICKVAL( Status , "Bad Information")  ||

 

ISPICKVAL( Status , "Dead")  

 

&& ISBLANK(  Results__c  )"

 

Validating works just fine. But when I populate the field, it still gives me the error. Thoughts??
3 answers
Loading
  1. Nov 11, 2016, 9:22 PM

    Try this:

    AND(

    ISBLANK( Results__c ),

    OR(

    ISPICKVAL( Status , "Unable to contact") ,

    ISPICKVAL( Status , "Long Term Follow-Up"),

    ISPICKVAL( Status , "Unqualified"),

    ISPICKVAL( Status , "Bad Information"),

    ISPICKVAL( Status , "Dead")

    )

    )

     

     
0/9000