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
@CreativeTim
Validation plugin for Bootstrap from @formvalidation. Give it a try, looks great!
@scokmen
You saved my day @formvalidation
@CurtStaubach
Be sure to check out Bootstrap Validator. It's the best I've found.
@Agarney
Money well spent. A must have plug-in if you use Bootstrap regularly.
@timkinnane
Just grabbed FormValidation license. It's perfect for #bootstrap projects. Very worth.
@RC_Programmers
Buy a license for @formvalidation. It's best tool I ever used.
@sitesbyjoe
Just bought a copy of formvalidation.io - looks extremely well built and is designed to work with bootstrap!
@barrylangdon1
Awesome jQuery plugin for form validation https://formvalidation.io @formvalidation #jquery #FormValidation.
@Mahdixco
Wow, Its Very Awesome for Form Validation I Recommend use it <3 @formvalidation
@imagineteamsol
Just had a fantastic development experience with @formvalidation using @twbootstrap and @jquery. You're a champion!
@JonStanton
Fantastic support from @formvalidation. Several emails back and forth and completely sorted within a couple of hours
@johnnydriesen
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