DEPRECATED
This is no longer maintained.
Please consider using d1-web instead.
Add-on for d1.
Custom form validation.
Demo & docs
npm install d1valid
On page load call:
d1valid.init(options);
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"
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"
Query selector of forms that require custom validation.
Default: "form"
- IE 10+
- Latest Stable: Chrome, Firefox, Opera, Safari