Double click on the field to open the field properties
Click on the datavalidation and click on Add in the Data validation window
Select the field on which you want the datavalidation in the first drop down
Put the Condition in the second and third dropdowns and select the alert
type in the drop down
Click on OK 3 times to save changes