Umbraco/Samples and Articles/Templates/ValidateInput

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

Validating user input[edit | edit source]

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

Examples[edit | edit source]

Input must be between 5 and 10 characters:

^.{5,10}$