O'Reilly logo

Ext JS 6 By Example by Anand Dayalan

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

The form field validation

Most fields have its own validation rules, for example, if you enter a nonnumeric in the number field, it will show an invalid number validation. The text field comes with allowBlank, minLength, and maxLength. Further, Regex can be used for custom validations.

Events in the form panel

Some of the supported events in the form panel are:

  • beforeaction: This event will be fired before executing any action
  • actionfailed: This event will be fired when an action fails
  • actioncomplete: This event will be fired after an action is completed
  • validitychange: This event will be fired when the validity of the entire form changes
  • dirtychange: This event will be fired when the dirty state of the form changes

Form field containers

The following ...

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