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:

  1. With the form open in the designer,, from the Edit menu, select Event Handlers.

    The Event Handlers dialog box lists any event handlers created for the current form.

  2. Perform one of these sets of actions:
    • To add an event handler, click New. Specify the event for which you are creating an event handler, the sequence of the event handler, and the response type of the event handler.
    • To copy an event handler, select the one you want and click Copy. Then specify a unique Name for the new event handler and make any other specifications you need.
    • To edit an event handler, select the one you want and click Edit. Then adjust whatever specifications you need to.
    • To delete an event handler, select the one you want and click Delete. When prompted, confirm the deletion.