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
Justin DavisJustin Davis 

Proposal_Date__c >= CloseDate

I'm trying to get this validation rule to work, but it will allows a proposal date BEFORE the Close Date. I'm trying to write a validation rule where the proposal date is either ON or BEFORE the Close Date. I called basic support and they said it should work as written, although it looks backwards to me. Any help would be great.

 

Thanks

 

Justin Davis

Coverall Mountain and Pacific

Best Answer chosen by Admin (Salesforce Developers) 
Steve :-/Steve :-/

Try changing it to this (I don't think you need the equals sign). 


 

Proposal_Date__c > CloseDate

 Also, make sure that both field are the same data type "Date" only, not "DateTime" or you'll need to reformat them before you evaluate them.