xforms-onbeforechange |
This event is fired before the data is changed on the model.
Event Information
To invoke |
Change the value of a HTML element bound to a model. |
Default Action |
Initiates any action associated with the event. |
Named Script |
xforms-onbeforechange |
Event Object Properties
Property |
Description |
---|---|
model |
Object that denotes the Model which fired the event. |
srcElement |
Denotes html control whose data has been changed because of this event. |
returnValue |
Boolean that denotes whether the change operation can be continued or not.
|
businessObject |
Object that denotes the business object that is originally present in the Model data. |
currentContext |
The xml node under the business object which has multiple values whose value has been changed. |
An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.
Remarks
The event fires before the data associated to the HTML control is changed on the model.