Skip to content

The form which triggered an event should be passed as the final argument to event handlers #22

@cwohlman

Description

@cwohlman

It should be possible to get the form instance which triggered an event from within any handler of that event:

'documentSubmit': function (e, tmpl, doc, form) {
  // in some cases form != tmpl.form because this handler is attached to a different template
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions