Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

The jQuery validation plugin for bootstrap.

License

wayn3h0/bootstrap-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#jQuery Validation Plugin for Bootstrap

##Sample

###HTML

<input type="password" 
id="password" 
name="password" 
class="input-xlarge" 		
placeholder="Password"
    
data-validators="required pattern" 
data-required-message="Please input your pasword!" 
data-regex-pattern="^[\w]{6,18}$" 
data-pattern-message="Password should be 6-18 characters">

<input type="password" 
id="passwordconfirm" 
name="passwordconfirm" 
class="input-xlarge" 
placeholder="Confirm Password" 
    
data-validators="required compare" 
data-compare-target="password" 
data-required-message="Please confirm your password!" 
data-compare-message="Your password mismatched!">

Javascript

$('form').validation()

About

The jQuery validation plugin for bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published