Umbraco/Samples and Articles/Templates/ValidateInput

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Validating user input[edit]

When creating Umbraco document types you can validate content entry by using regular expressions in the Validation field.

Examples[edit]

Input must be between 5 and 10 characters:

^.{5,10}$