1.0.9 • Published 4 years ago

d1valid v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

DEPRECATED - d1valid

This is no longer maintained.
Please consider using d1-web instead.


Add-on for d1.
Custom form validation.
Demo & docs

Install

npm install d1valid

Usage

On page load call:

d1valid.init(options);

Options

cLiveVal

CSS class of forms, for which inputs are validated on the fly and submit buttons are disabled if form is in invalid state.
Default: "js-live-val"

cUnhint

CSS class of forms, for which default brower-specific tooltips are disabled and empty required inputs are not reported as invalid until submitting.
Default: "js-unhint"

qsValidate

Query selector of forms that require custom validation.
Default: "form"

Browser Support

  • IE 10+
  • Latest Stable: Chrome, Firefox, Opera, Safari

License

MIT

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago