$(document).ready(function() {
	// validate signup form on keyup and submit
	$("#customerForm").validate({
		rules: {
			first_name: {
				required: true,
			},
			last_name: {
				required: true,
			},
			email: {
				required: true,
			},
			phone: {
				required: true,
				number:true,
				maxlength:10,
				minlength:10
			},
			password: {
				required: true,
			},
			con_password: {
				required: true,
				equal:"#password",
			},
			},
		    messages: {
			first_name: {
				required:"Please Enter First Name.",
			},
			last_name: {
				required:"Please Enter Last Name.",
			},
			email: {
				required:"Please Enter Email-ID.",
			},
			phone: {
				required:"Please Enter Mobile No.",
			},
			password: {
				required:"Please Enter Password",
			},
			con_password: {
				required:"Please Enter Confirm Password",
			}
		}
	});
});