The xforms-value-changed event

Release 2.0 - ...

Dispatched in response to: a change to an instance data node bound to a core form control.

Event Properties

Event Properties Value / Description
Target Core Form Controls
Bubbles Yes
Cancelable No
Context Info None

The default action for this event results in the following:

  • None, notification event only.

This event is dispatched during the xforms-refresh event if the bound instance data node has been marked for dispatching this event due to a change.

Example

XML CopyCode image Copy Code
<xforms:input ref="/car/make">
   <xforms:label>Car make</xforms:label>
   <xforms:action ev:event="xforms-value-changed">
      <xforms:message level="modal">xforms-value-changed</xforms:message>
   </xforms:action>
</xforms:input>

Specification

Link to the XForms specification: the xforms-value-changed event.