Skip to content

this provide easy to handle jquery validation inside bootstrap environment

Notifications You must be signed in to change notification settings

sagarrabadiya/bootstrap_handy_validations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootstrap data validations

bower: bower install bootstrap-data-validation

this provide easy to handle jquery validation inside bootstrap environment under the hood it uses jquery validations plugin to validate inputs

check the demo folder for example

add data-validation attribute in any form specify validation rules based on data attributes with messages

	<input type="text" data-required="true" data-message-required="this field is required">
	<input type="text" data-required="true" data-email="true" data-message-required="this field is required" data-message-email="email is invalid">

to access the validator instance in any javascript use the data('validator') on form

for example

    $('form').data('validator') // will give the jquery validator instance

About

this provide easy to handle jquery validation inside bootstrap environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages