triggerFieldChange(propName, value)
Runs validations on a specified control and triggers the
FIELD_CHANGE
event.
Returns
Not applicable.
Parameters
Name | Type | Description | Required |
propName | string | The name of the control on which the FIELD_CHANGE
event must be invoked. | ✅ |
value | any | The value of the control that will be validated and passed when
invoking the FIELD_CHANGE event. | ✅ |
Usage example
In this example, the API validates and invokes the FIELD_CHANGE
event as triggered by the specified control.
getPConnect().getActionsApi().triggerFieldChange(propName, value);
Previous topic showPage(pageName, className, options) Next topic updateFieldValue(propName, value, options)