Custom Task Event Mapping Tab

This tab specifies Form Custom Tasks to be mapped to different events that occur when the Form is run. The Form Custom Tasks provide enhanced functions to perform a variety of actions, such as to connect to external data sources or to manipulate data on the form.

Each Custom Task that you map, is mapped to an event that is raised by the Form. The events that are available will appear in the dropdown control that appears in the Event Name column. The Form events that can be mapped to a Custom Task, and the order in which the events will be called, is displayed in the table below.

EVENT

DESCRIPTION

specific form event

This allows you to tie a Custom Task to a specific form control that is marked as an event field. Every control that is marked as en event field will appear in the dropdown.

[Event]

Any event from the form (a button, an event field being changed, etc.) will call this event.

[Form Creation]

This event is only called once per form instance to initialize the form data.

[View State Init]

This event is called every time a form is opened. It won't be called for postbacks on the current view.

[Before Conditions]

This event is called prior to evaluating the form conditions (which control the visibility, the required setting, the enabled setting, etc.).

[After Conditions]

This event is called after evaluating the form conditions.

[Before Validation]

This event is called if the user hits a complete button, prior to the form validation.

[After Validation]

This event is called if the user hits a complete button, after the form validation.

[Form Completed]

This event is called if the user hits a complete button, and the validation was successful.

[Form Display]

This event is called prior to displaying the form. This will be called on every postback, and when the form is first displayed.

The order of the events is very specific. For example, If the user changes a dropdown form field which is an event field, the Custom Tasks mapped to events in the following order will be called if configured: specific form event, [Event], [Before Conditions], [After Conditions], [Form Display].

If a user hits the OK button on a form, and the validation succeeds, the events will occur in this order: [Event], [Before Conditions], [After Conditions], [Before Validation], [After Validation], [Form Completed].

If a user hits the OK button on a form, and the validation fails, the events will occur in this order: [Event], [Before Conditions], [After Conditions], [Before Validation], [After Validation], [Form Display].

Documentation Example #

More Configuration Tabs

You can view the documentation for each of the other configuration tabs by using the Table of Contents displayed on the upper right corner of the page, or use one of the links below.

Properties: General Form definition properties.

Edit: Opens the editor for the form's visual template, the Online Form Designer.

Form Controls: Enables you to set individual properties for each field on the form.

Validation Rules: Enables you to add custom validation to the form.

Set Form Data: Enables you to set the value of Form fields automatically, based on events or conditions you specify.

Fill Dropdowns: Enables you to automatically set the options available in a dropdown control.

Other Tabs: Documentation for the Form Data SQL View, History, Meta Data, Versions, and Permissions tabs.