Name

The xforms-enabled and xforms-disabled Events

Synopsis

Event type: notification
Event target element: form control
Bubbles: Yes
Cancelable: No

These events serve as notifications as to whether a form control is enabled or disabled, as controlled by the relevant model item property. Normally, a form is designed so that different form controls become relevant on an as-needed basis, which makes this notification especially common and useful. Either of these events will be dispatched only when the relevant state of the form control changes.

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.