The xforms-recalculate event

Release 2.0 - ...

Dispatched in response to: a request to recalculate all calculations associated with a particular XForms Model.

Event Properties

Event Properties Value / Description
Target model
Bubbles Yes
Cancelable Yes
Context Info None

The default action for this event results in the following:

  • The values of all instance data items match their associated 'calculate' constraints, if any. All model item properties that can contain computed expressions are resolved.

Example

XML CopyCode image Copy Code
<xforms:action ev:event="xforms-recalculate">
   <xforms:message level="modal">xforms-recalculate</xforms:message>
</xforms:action>

Specification

Link to the XForms specification: the xforms-recalculate event.