form.requestSubmit()

The form.requestSubmit(submitter) function requests form submission. It includes interactive constraint validation, dispatches a 'submit' event, adds an entry for the specified submitter button, in addition to what submit() does.

https://github.com/whatwg/html/issues/4187 requestSubmit() exposes what click() implementation of built-in submit buttons do. It would be helpful to make developer's own submit buttons.

Specification

Working draft or equivalent

Status in Chromium

Blink>Forms


In development (tracking bug)

Consensus & Standardization

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

Owner

Last updated on 2019-05-20