Tagged: Forms

Episerver Forms validator with settings

When you have worked with Episerver Forms you know you can enable validators on a form element. You have the Required validator, the Regular Expression validator, the Email validator and more. Most of these validators have a simple on/off configuration, but when you look at the Regular Expression...

Custom validators with Episerver Forms

A few weeks ago Episerver Forms was released. We have seen several blogs about creating custom forms types like a Color Picker or a Constrained Textbox. But what about creating your own validators? To create you own validator simply inherit from ElementValidatorBase. You can also use RegularExpressionValidatorBase, which...