Validation Rules – Define Min and Max Length for Field Type

Image Posted on Updated on

In this post, I’ll try to show you how to set up the field validation rules in Sitecore CMS User Interface. Once you’ve created a template under Sitecore Template Manager, you can define the Min and Max Length of the field.

Validation Rule

If you want a custom length for Min and Max Length of the field. Just create an additional rule on the System -> Settings -> Validation Rules -> Field Rules -> Sample. You can find the template for creating additional validation on: /sitecore/templates/System/Validation/Validation Rule

add additional custom validation rule

Advertisements

One thought on “Validation Rules – Define Min and Max Length for Field Type

    Devangi said:
    September 26, 2014 at 3:31 am

    Thanks for your post. But can you please explain how do you add that rules for the items created?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s