# @js-toolbox/js-disable-submit

> Javascript Disable Submit

Latest version **1.0.1** (published 2021-05-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @js-toolbox/js-disable-submit
pnpm add @js-toolbox/js-disable-submit
yarn add @js-toolbox/js-disable-submit
bun add @js-toolbox/js-disable-submit
```

## 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 | 1.0.1 |
| Published | 2021-05-04 |
| First published | 2021-05-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Homero Cavazos |
| Maintainers | homiehomes |

## Links

- npm: https://www.npmjs.com/package/@js-toolbox/js-disable-submit
- Repository: https://github.com/homerocavazos/dsubmit
- Homepage: https://github.com/homerocavazos/dsubmit#readme
- Issues: https://github.com/homerocavazos/dsubmit/issues
- npm.io page: https://npm.io/package/@js-toolbox/js-disable-submit

## Recent versions

- 1.0.1 (latest) — 2021-05-04
- 1.0.0 — 2021-05-04

## README

# dsubmit - Disabled Submit

This app disables the submit button and enables after all required fields have been filled.

### Demo

[See demo and instructions](https://ds.homerocavazos.com/)

### NPM

```
npm i @js-toolbox/js-disable-submit
```

### CDN

```
<script src="https://cdn.jsdelivr.net/gh/homerocavazos/dsubmit@main/dsubmit.min.js"
integrity="sha384-RXWyNs/55QPKPWDP2rO/L2NxsGG0WH30v3+5mdN3IWZZY3qxO0mtxriXBTONKX/4" crossorigin="anonymous"></script>
```

### Usage

Input elements must have a required attribute.

```
<input type="email" id="email" name="email" value="" required>
```

```
<script>
  const example = new dSubmit();
  example.init()
</script>
```

---
_Source: https://npm.io/package/@js-toolbox/js-disable-submit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
