Dynamic Action
Form Events
The plug-in can be bound with form inputs using standard events such as Lose Focus and Change. For Interactive Grids, the Lose Focus event must be used to properly display validation results.
- When the event is set to 'Change': - 'Value is required' will not be checked when a user activates and leaves a field empty (but will be checked later when the user tries to save the form).
- Clicking on a quick pick value will trigger the plug-in. The demo app uses this event just to demonstrate incorrect input values.
- Assignments done by other dynamic actions will trigger the plug-in.
 
- When the event is set to ‘Lose Focus’: - Clicking on a quick pick value will not trigger the plug-in.
 
Triggering Elements
Automatic Constraint Validation Pro uses triggering elements to evaluate a set of DML form items (or interactive grid columns) to be validated. The Selection Type of the dynamic action is typically the jQuery Selector :input to validate all input fields of the current page, or a Region to validate all input fields of a specific region.
- When the jQuery Selector :input is used, all input items including select lists, popup LOVs, and other item types will trigger the plug-in.
- When the jQuery Selector input is used, only text, number, and date items will trigger the plug-in.
| Generic event handler | Region-specific event handler | 
|---|---|
|  |  | 
Help in the Page Designer
The plug-in attributes are exposed along with help text built into the page designer in the Help tab.
An example of the help for the plug-in attribute Settings \ Validation Settings is presented below.
