O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Form validation

Ext.NET provides support for both client-side and server-side (remote) validation. Here we provide an overview of available constraints, validation message appearance configuration, some of the different validation types, and custom validators.

Constraining and guiding input

Some fields allow defining the range of acceptable values. TextField and TextArea have MinLength/MaxLength. NumberField has MinValue/MaxValue. DateField has MinDate/MaxDate as well as options to disable specific dates. These properties help to alert the user if the entered value is beyond these bounds.

TextField also has the additional property, EnforceMaxLength, which can be set to true to set maxlength on the underlying HTML input to constraint what you type. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required