Name

The xforms-reset Event

Synopsis

Event type: interaction
Event target element: model
Bubbles: Yes
Cancelable: Yes

This event indicates that the form is about to be reset. In some situations, it might be necessary to prevent a reset from happening, in which case the event can be terminated, blocking the reset. Otherwise, a listener for this event is a good chance to do any last-minute processing before everything in the XForms Model resets to its initial state.

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.