This package has been deprecated

Author message:

Use d1-web instead

d1valid

1.0.9 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i d1valid

Weekly Downloads

2

Version

1.0.9

License

MIT

Unpacked Size

5.19 kB

Total Files

5

Last publish

Collaborators

  • vadimkor