Validation rules verifies that the data a user enters in a record meets the criteria that you specify, before the the record is saved.
AND(
NOT(ISBLANK(theField__c)),
DATEVALUE(theField__c) < Date(2022,05,1)
)
Another simple Example of validation rule - https://www.youtube.com/watch?v=IkXqE--1QsE
Comments
Post a Comment