Working with form event handlers
In a Mongoose-based application, form event handlers are objects specific to a form that supplement, alter, or cancel the default event-handling behavior of the application. You can create and name form event handlers that execute when an event matching the name of the event handler is generated. The event can be generated by Mongoose as the user interacts with a form, or it can be generated programmatically.
To create, copy, edit, or delete event handlers for a form: