Skip to content

A drop in extension replacing error labels from jQuery Validation plugin with Twitter Bootstrap tooltips

License

Notifications You must be signed in to change notification settings

birdcone/jquery-validation-bootstrap-tooltip

 
 

Repository files navigation

jQuery-Validation-Bootstrap-tooltip

A drop in extension replacing error labels from jQuery Validation plugin with Twitter Bootstrap tooltips

Requirements

Usage

Tooltip options are given either through an element's data attributes or as objects set during validate initializing. An example would be:

    $("#theform").validate({
        rules: {     
           thefield: { digits:true, required: true } 
        },
        tooltip_options: {
           thefield: { placement: 'left' }
        }
     });

Changelog

  • 0.3 - Fixed IE 7/8 error caused but the rouge trim function
  • 0.2 - Added extra error check and added minified version.
  • 0.1 - Inital release.

Demo

Demo or it didn't happen


Special Thanks to dennysfredericci

Who's gist (found here)was the basis of this extension.

About

A drop in extension replacing error labels from jQuery Validation plugin with Twitter Bootstrap tooltips

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published