In my earlier article, I wrote about column level validation in SharePoint 2010.
List level validation will trigger before saving the content. The validation should return TRUE to save the content.
Library Information List:
I have created sample list Library Information with the following columns.
Due date should be greater than Issue Date.
Go to List Settings and click on Validation settings.
Specify the validation rule “DueDate > IssueDate”, then specify the error message to be displayed for the user.
Save the Validation Settings.
Create new item in list.
If the validation fails, the error message will be displayed to the user.