Validation rules are only available on the following column types: Single Line Of Text, Choice, Number, Currency, and Date/Time.
On the Library tab, in the Settings group, click Library Settings (or List Settings on the List tab).
On the Library Settings page, in the Columns section, click a column title.
Scroll down to Column Validation and click the plus sign (+) icon next to Column Validation to expand the section.
For more information on column validation, click the SharePoint Help button (the question mark in the upper-right corner of a site) and then type formula as a search phrase.
In the Formula text box, enter a validation formula.
In the User Message text box, enter a message to display if the information entered in the field is not valid.
Click OK.
On the List tab, in the Settings group, click List Settings.
On the List Settings page, in the General Settings section, click Validation Settings.
Click Save.