/**
 * @author daniellerivers
 */

$(function() {

	// get error container with error message labels

	var errorContainer = $('div.errorContainer');
	// validate the form when it is submitted using the validate method of 
	// jquery.validate.js plugin, passing it the error container
	var validator = $(".generalForm").validate({
		errorContainer: errorContainer,
		errorLabelContainer: $("ol", errorContainer),
		wrapper: 'li',
		meta: "validate"
	});
	
});
