FormValidation

The best validation library for JavaScript

  • Written in ES6
  • Type safety using TypeScript
  • Zero dependencies
  • No jQuery
  • Can be used as AMD, ES6 modules and global scripts
Demo

Trusted by

Biggest collection of validators

40+
Validators
50+
Plugins
  • Cover most various types of form field
  • Develop, reuse custom validator
  • Support sync and async validators
  • Plugin based architectue
  • Small core
  • Everything else is built around as a plugin

Flexible

  • Customize icon
  • Customize error message
  • Dynamic field
  • Customize valid and invalid colors
  • Enable, disable validators on the fly
  • Customize error message location

Localization

39
Languages
41
ID validators
37
Vat validators
  • Language packages for error message
  • Support custom message
  • Support custom validators
  • Switch between locales
  • Validate ID and VAT numbers in many countries

Declaring validation rules

Declare the validator options via HTML attributes
            
< form id = " registrationForm " >
< input
name = " userName "
data-fv-not-empty = " true "
data-fv-not-empty___message = " The username is required "
data-fv-string-length = " true "
data-fv-string-length___min = " 6 "
data-fv-string-length___message = " The name must be more than 6 characters long "
/>
form >

Integration with your stack

14+
CSS frameworks
10+
JS frameworks
  • Support native form
  • Support popular CSS frameworks via plugins
  • Support popular JavaScript frameworks
  • Easy to integrate with a framework

Play nice with form libraries

  • Autocomplete
  • Color picker
  • Custom checkbox
  • Custom radio
  • Date picker
  • International telephone input
  • Mask input
  • Rich editor
  • Select
  • Star rating
  • Tag input
  • Time picker
  • Toggle
  • Wizard

Supported browsers

  • Chrome
  • Firefox
  • Safari
  • Opera
  • Edge
  • Internet Explorer 11

Happy customers

2.8k+
Developers
1.5k+
Designers
3.2k+
Teams
Validation plugin for Bootstrap from . Give it a try, looks great!
You saved my day
Be sure to check out Bootstrap Validator. It's the best I've found.
Money well spent. A must have plug-in if you use Bootstrap regularly.
Just grabbed FormValidation license. It's perfect for #bootstrap projects. Very worth.
Buy a license for . It's best tool I ever used.
Just bought a copy of formvalidation.io - looks extremely well built and is designed to work with bootstrap!
Awesome jQuery plugin for form validation https://formvalidation.io #jquery #FormValidation.
Wow, Its Very Awesome for Form Validation I Recommend use it <3
Just had a fantastic development experience with using and . You're a champion!
Fantastic support from . Several emails back and forth and completely sorted within a couple of hours
AMAZING solution and very declarative source code. This is TOP support! Keep on doing the good work. I became a fan!
FormValidation
The best validation library for JavaScript
Purchase