all things Sitecore related

Sitecore Validation Rules

By on May 13, 2008 in Sitecore with 0 Comments

In Sitecore you can use validation rules. By default there are three validations rules on each template:

  • Is Integer
  • Max Length 40
  • Requirer

You can modify or add new rules in the sitecoresystemsettingsvalidationfield section in the content editor

With the use of an multilist you can set the rules for your template.
Sitecore Validation Rules GetFile.aspxFileValidationRules
ATTENTION: Validation rules are already built in for version 5.3.1 but you can’t use them. Therefore you need to upgrade to version 5.3.2, which costs about an our. You can use regular expressions in version 5.3.1

Tags: ,

About the Author

About the Author: Mark van Aalst is a Solution Architect for Sitecore Netherlands. Prior to working for Sitecore he has worked with the Sitecore CMS for more than 6 years and was a Sitecore MVP. Mark is also the initiator of the populair Sitecore Shared Source WeBlog module which he develops together with Nick Wesselman and Alistair Deneys. You can follow Mark on Twitter @markvanaalst or Google+ .

Subscribe

If you enjoyed this article, subscribe now to receive more just like it.

Post a Comment

Your email address will not be published. Required fields are marked *

Top