'submitter' property of 'submit' event

The 'submit' event, which is dispatched on form submission, gets its own interface, SubmitEvent, which has a 'submitter' property.

Some web applications do their own form submission by preventDefault()ing 'submit' event. However, the event didn't tell which submit button triggered this submission. Adding 'submitter' property to the event enables application to refer to an entry data, the formaction attribute, the formenctype attribute, the formmethod attribute, and the formtarget attribute of the submitter button.



Working draft or equivalent

Status in Chromium


Enabled by default (tracking bug) in:

  • Chrome for desktop release 81
  • Chrome for Android release 81
  • Android WebView release 81

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Public support
  • No public signals
  • No public signals
  • Positive


Last updated on 2020-01-22