Giter VIP home page Giter VIP logo

peterli888 / jquery-live-form-validation-for-twitter-bootstrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ddarren/jquery-live-form-validation-for-twitter-bootstrap

1.0 1.0 0.0 70 KB

This is an adaptation of the jQuery Live Form Validation found at http://www.geektantra.com/2009/09/jquery-live-form-validation/ for Twitter Boostrap. The modified script will allow for live form validation using the Twitter Bootstrap HTML pattern for forms.

jquery-live-form-validation-for-twitter-bootstrap's Introduction

----------------------------------
UPDATED 4/5/2012: Now works with Twitter Bootstrap 2 and its new control-group css class. 

Should still work with earlier versions of Bootstrap, as long as the error_container_class option parameter is passed in (default value is for Bootstrap v2). Other option is just to clone the revision 10f0dd18f0e648fa2e8a69256e4a850654d97a7b from Jan 22, 2012.
----------------------------------

This is an adaptation of the jQuery Live Form Validation found at http://www.geektantra.com/2009/09/jquery-live-form-validation/ for Twitter Bootstrap. The modified script will allow for live form validation using the Twitter Bootstrap HTML pattern for forms.

The main script is jquery.validate.js. This has a validate method that you can call on any jQuery input object.
For instructions please see the link above. The changes for Twitter Bootstrap are the names of couple of the parameters, and using a container div w/ class=validation-container instead of the input field to highlight a validation error.

The jquery.validation.functions.js file has not been modified in anyway and simply provides helper methods for date and radio button validation.


Original Script License: http://www.apache.org/licenses/LICENSE-2.0

Original Script Copyright:
@author GeekTantra
@date 20 September 2009

 



jquery-live-form-validation-for-twitter-bootstrap's People

Contributors

ddarren avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.