JustValidate
Modern form validation library
Simple, powerful and lightweight (~5kb gzip). Written in Typescript, and has no dependencies (no JQuery!).
Customizable
Plenty pre-defined rules, but you could also write your own! Support
custom styles and css classes for fields and labels, custom error
and success messages. Support plugins.
No dependencies
No JQuery, no React or other libraries!
Lightweight and small.
Lightweight and small.
Advanced
Support localization, async validation, files and dates.
Error messages tooltips.
Written in Typescript.
>95% test coverage.
Error messages tooltips.
Written in Typescript.
>95% test coverage.
Why JustValidate?
It's a right choice for you, if you have a site, a landing page without React, JQuery etc. and you want to quick, simple and powerful solution for validating your form.
Features
- small size and zero dependencies
- no need to change your HTML
- a wide range of pre-defined rules
- custom rules
- support plugins
- custom styles and css classes for invalid fields and error messages
- custom messages
- showing tooltips as error messages
- custom places for the error labels
- localization (defining error messages for different languages)
- user-friendly setup: console warning messages if something incorrect
- written in Typescript and great test coverage