Name

The xforms-submit Event

Synopsis

Event type: submission
Event target element: submission
Bubbles: Yes
Cancelable: Yes

This event indicates that the form is about to be submitted. In some situations, it might be necessary to prevent submission from happening, in which case the event can be terminated, blocking the submission. Otherwise, a listener for this event is a good chance to do any last-minute processing before the form data gets packaged and sent over the wire.

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.