Umbraco/Samples and Articles/Templates/ValidateInput

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Validating user input

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

[edit] Examples

Input must be between 5 and 10 characters:

^.{5,10}$