/*
 * 	Additional function for forms.html
 *	Written by ThemePixels	
 *	http://themepixels.com/
 *
 *	Copyright (c) 2012 ThemePixels (http://themepixels.com)
 *	
 *	Built for Amanda Premium Responsive Admin Template
 *  http://themeforest.net/category/site-templates/admin-templates
 */

jQuery(document).ready(function(){
	
	///// FORM TRANSFORMATION /////
	jQuery('input:checkbox, input:radio, select.uniformselect, input:file').uniform();

	///// FORM VALIDATION /////
	jQuery("#form1").validate({
		rules: {
			CustomerName: "required",
			BuildingName: "required",
			ArchiveTitle: "required",
			content: "required"
		},
		messages: {
			CustomerName: "请输入业主姓名！",
			BuildingName: "请输入楼盘名称！",
			ArchiveTitle: "请输入进度标题！",
			content: "请输入进度描述！"
		}
	});

});