Name

The DOMActivate Event

Synopsis

Event type: (From DOM Level 2 Events)
Event target element: form control, possibly other elements such as hyperlinks
Bubbles: Yes
Cancelable: Yes

DOMActivate is probably the event most commonly used by XForms authors. Activation in this context can mean a mouse click, pressing the Enter key, or any other action indicating the user has requested that something special should happen.

Even though a DOM isn’t guaranteed to be present in an XForms engine, this event will always work as described here.

Get XForms Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.