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
Victor ApolinarioVictor Apolinario 

(Validation Rule) - Return Date can not be earlier than today or Rent Date

I´m trying to write a validation rule to make sure a Return Date for a item can´t be earlier than today or the day the item was rented
AnkaiahAnkaiah (Salesforce Developers) 
Hi Victor,

Try with below validation rule.
OR(Return_Date__c<=Now(), Return_Date__c<=Rented_Date__c)

If this helps, please mark it as best answer.

Thanks!!
Deepa K 27Deepa K 27
Hi Victor,

Try this validation rule. Hope this help you.

OR(Return_Date__c < TODAY()  ,  
  Rented_Date__c  < Rented_Date__c)

Thank you