Realtime Form Validation Engine In jQuery - Checkify

Realtime Form Validation Engine In jQuery - Checkify

Checkify is a jQuery based form validator that provides realtime, client-side, mobile-friendly validation functionalities on form fields.

The plugin highligihts the invalid form fields and displays custom error messages in a tooltip popup. Word perfectly with Bootstrap framework.

Available validators:

  • Required
  • Max/min length.
  • Is number.
  • Is email.
  • REGEX.

How to use it:

1. Import the jQuery Checkify plugin's files into the document.

<link rel="stylesheet" href="/dist/checkify.css">
<script src="" 
<script src="/dist/checkify.js"></script>

2. Apply validation rules to your form fields using the data-checkify attribute:

  • required
  • minlen
  • maxlen
  • number
  • email
  • regex
<div class="myForm">
  <input type="text" class="form-control" data-checkify="minlen=2,required" />
<div class="myForm">
  <input type="text" class="form-control" data-checkify="maxlen=4,number" />
<div class="myForm">
  <input type="text" class="form-control" data-checkify="number" />
<div class="myForm">
  <textarea class="form-control" data-checkify="maxlen=5"></textarea>

3. Activate the form validator and done.

  // specify the trigger element
  // useful for multiple forms on the page
  container: null,
  // realtime validation
  // default: false
  realTime: true

4. Customize the error messages when invalid.

  message: {
    inactive: false,
    // if true. error message won't be shown for required cases
    inactiveForRequired: true,
    // horizontal gap for error message box
    hGap: null,
    // vertical gap for error message box
    vGap: null,
    // can be right or left
    position: 'left',
    required: 'This field is required.',
    email: 'Please enter a valid email address.',
    regex: 'Invalid data.',
    number: 'Please enter a valid number.',
    maxlen: 'Please enter no more than {count} characters.',
    minlen: 'Please enter at least {count} characters.',
    maxChecked: 'Maximum {count} options allowed.',
    minChecked: 'Please select at least {count} options.',
    notEqual: 'Please enter the same value again.',
    different: 'Fields cannot be the same as each other'

5. Available callbacks which will be fired when the form is valid or invalid

  onError: function () {
  onValid: function (e, x) {
    console.log(e, x);



  • v0.0.5


  • v0.0.3

This awesome jQuery plugin is developed by digitalify. For more Advanced Usages, please check the demo page or visit the official website.

  • Publication date: 29.09.2018
  • Source