$(document).ready(function() {
	// validate signup form on keyup and submit
	$("#bannerForm").validate({
		rules: {
			title: {
				required: true,
			},
			description: {
				required: true,
			},
			picture: {
				required: true,
			}
			},
		    messages: {
			title: {
				required:"Please Enter Title.",
			},
			description: {
				required:"Please Enter Description.",
			},
			picture: {
				required:"Please Select Banner.",
			}
		}
	});
});