You need to sign in to do that
Don't have an account?

Validation help
Hi Friends,
I have Term__c as parent and Stats__c as child .
On the Term__c object I have Allow_Update_for_Past_Dates__c and End_Date__c fields.
My requirement is to allow the user to save the Stats__c record whent the Allow_Update_for_Past_Dates__c checkbox is checked or End_Date__c is in future. If these two coditions failed, then the stats record should not be saved.
Please help me to achieve this.
Thanks,
Vijay
Hello,
Create this validation rule on Stats__c
IF(NOT(Term__c.Allow_Update_for_Past_Dates__c = true && Term__c.End_Date__c > Today()))
All Answers
Hello,
Create this validation rule on Stats__c
IF(NOT(Term__c.Allow_Update_for_Past_Dates__c = true && Term__c.End_Date__c > Today()))
AND(NOT(Allow_Update_For_Past_Dates__c), End_Date__c <= TODAY())