Validate items based on a data template
To validate data entered into all items based on a data template, configure validation rules in the standard values for the template.
To configure default validation for all items based on a data template:
-
In the Template Manager or the Content Editor, select the data template and, on the Configure tab, in the Template group, click Edit.
-
On the Builder tab, click Builder OPTIONS.
-
On the ribbon, in the Template group, click Standard values.
If the standard values item does not exist, Sitecore inserts a standard values item under the data template item.
-
On the View tab, select the Standard fields check box.
-
On the Content tab, in the Validation Rules section, select Validation rules.
-
Hide the standard template fields.