The xforms-next and xforms-previous events
Release 2.0 - ...
Dispatched in response to: user request to navigate to the next or previous Core Form Control.
Event Properties
Event Properties | Value / Description |
---|---|
Target | Core Form Controls |
Bubbles | No |
Cancelable | Yes |
Context Info | None |
The default action for these events results in the following:
- Navigation according to the default navigation order. For example, on a keyboard interface, "tab" might generate an xforms-next event, while "shift+tab" might generate an xforms-previous event.
Example
XML | Copy Code |
---|---|
<xforms:trigger id="nexttrigger"> <xforms:label>Next</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:dispatch name="xforms-next" targetid="input1"/> </xforms:action> </xforms:trigger> |
Specification
Link to the XForms specification: the xforms-next and xforms-previous events.