# form-request-submit-polyfill

> .requestSubmit() polyfill

Latest version **2.0.0** (published 2019-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install form-request-submit-polyfill
pnpm add form-request-submit-polyfill
yarn add form-request-submit-polyfill
bun add form-request-submit-polyfill
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2019-09-16 |
| First published | 2019-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 65 |
| Author | Javan Makhmali |
| Maintainers | javan |
| Keywords | html, form, polyfill |

## Links

- npm: https://www.npmjs.com/package/form-request-submit-polyfill
- Repository: https://github.com/javan/form-request-submit-polyfill
- Homepage: https://github.com/javan/form-request-submit-polyfill#readme
- Issues: https://github.com/javan/form-request-submit-polyfill/issues
- npm.io page: https://npm.io/package/form-request-submit-polyfill

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2019-09-16
- 1.0.0 — 2019-09-12

## README

# &lt;form&gt;.requestSubmit() polyfill

> **[`form.requestSubmit([submitter])`](https://html.spec.whatwg.org/multipage/forms.html#dom-form-requestsubmit-dev)**
>
> Requests to submit the form. Unlike [`submit()`](https://html.spec.whatwg.org/multipage/forms.html#dom-form-submit), this method includes interactive constraint validation and firing a `submit` event, either of which can cancel submission.
>
> The *submitter* argument can be used to point to a specific submit button, whose `formaction`, `formenctype`, `formmethod`, `formnovalidate`, and `formtarget` attributes can impact submission. Additionally, the submitter will be included when constructing the entry list for submission; normally, buttons are excluded.

## References
- https://github.com/whatwg/html/issues/4187
- https://github.com/whatwg/html/pull/4597
- https://www.chromestatus.com/feature/6097749495775232

---

Distributed under the MIT license. See [LICENSE](LICENSE) for details.

© 2019 Javan Makhmali

---
_Source: https://npm.io/package/form-request-submit-polyfill · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
