sagarrabadiya / bootstrap_handy_validations

this provide easy to handle jquery validation inside bootstrap environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:HTML 100.0%