This example shows a common site registration form. The form appears simple but it shows a few special things:
msgTarget:'none'so the errors are not displayed with the individual fields; instead event listeners are attached to the FormPanel to group up all error messages into a custom global error indicator, with a persistent tooltip showing the error details.
formBind:trueso it is only enabled when the form becomes valid.
The js is not minified so it is readable. See registration.js.