+ Start a Discussion

Possible to write a validation rule that can evaluate if a field contains SAVED data?

I need a validation rule that can 


If the Reject comments field does not contain SAVED data (not that it is empty) and the picklist value = Rejected = error message


Is there a function that can help me evaluate if a field contains SAVED data?


(LEN (Reject_comments__c) = 0),
ISPICKVAL( ts2__Status__c, "Rejected"))

Best Answer chosen by Admin (Salesforce Developers) 
Hi strekte9,

what actually you need.you want validation rule when the picklist value is rejected and Reject comments is null then you want to through error message.
Then try this
AND(ISPICKVAL( ts2__Status__c, "Rejected"),ISBLANK(Reject_comments__c))