The DOMFocusIn event

Release 2.0 - ...

Dispatched in response to: a form control receiving focus.

Event Properties

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

The default action for this event results in the following:

  • None, notification event only.

Example

XML CopyCode image Copy Code
<xforms:input id="input_year" ref="/car/year">
   <xforms:label>Car year</xforms:label>
   <xforms:action ev:event="DOMFocusIn">
      <xforms:message level="modal">DOMFocusIn event</xforms:message>
   </xforms:action>
</xforms:input>

Specification

Link to the XForms specification: the DOMFocusIn event.