Event Handler Parameters
This form consists of two sections: The top section is common to all form event response types. The bottom section varies according to the Response > Type that is chosen on the Event Handlers tab of the Details panel.
The top section, common to all form event response types includes these fields and options (all of which are optional):
Field/Option | Description |
---|---|
Error Message | Enter the message to be displayed when the event handler returns an error. You can include translatable string names and any of the substitution keywords. |
Success Message | Enter the message to be displayed when the event handler succeeds. You can include string names and any of the substitution keywords. |
Only When Current Collection Is | Specify whether you want the handler to act on the primary collection, a secondary collection, or all collections associated with the form. |
Only When Platform Is | Select the name of the platform ( Normally, event handlers execute regardless of the currently active platform. |
=Windows, , or )
to which this event handler applies.
KEEP | Select the attribute that is to be applied to the KEEP parameter of the event handler:
|
Ignore Failure | To classify any result returned by this event handler as a success,
select this option. Use this setting if you want subsequent event
handlers to continue to execute even if this event handler returned a
failure. Otherwise, clear this check box. Use this setting if you want the failure of this event handler to stop the execution of subsequent event handlers. |
Message as Toast? | (Web client only) To display the success and error messages in a
"toast" pop-up format, select this option. When this option is selected, the user is not forced to click a button to make the message disappear: The message disappears automatically after 5 seconds. If the user wants to make it disppear before that, the user can click inside the message box. |
Message on Status Line? | (Windows client only) To display the error and success messages in the
application’s Status bar, select this option. To have these messages display in a pop-up dialog box, clear this option. |
Disabled | To temporarily disable the event handler, select this option. The
application does not run a disabled event handler, even if its other
execution criteria are satisfied. To re-enable the event handler, clear this option. |
For the fields and options associated with the various response types, see these topics: