Guardian jQuery Plugin

Copyright (c) 2014, Michael Eisenbraun

Guardian is a all-purpose form validation jQuery plugin. It was designed to be flexible and easy to extend to meet any need.


Guardian requires jQuery 1.7.2 or higher.

<script src=""></script> <script src="js/"></script> 

Initialize Guardian:

$(document).ready(function() { $('#example').guardian(); }); 

CSS: (optional)

<link rel="stylesheet" href="css/guardian.css"> 


<form id="contactForm"> 	<input  		type="text"  		name="Address"  		id="Address"  		class="text"  		tabindex="3" value=""  		required=""  		data-pattern="alphaNum"  		data-error-message="Address is required" 	> </form> 

Full Documentation

Visit for full documentation.