function getform(id)
 {
 var temp = true;
 $("#"+id+" .none").each(function(){
 if ($(this).val()=="")
 {
   alert("此项不能为空");
   $(this).focus();
   temp = false;
   return false;
 }
 });
 if (temp) {
 $("#"+id+" .sql").each(function(){
var txt=new RegExp("[ ,\\`,\\~,\\!,\\@,\#,\\$,\\%,\\^,\\+,\\*,\\&,\\\\,\\/,\\?,\\|,\\:,\\.,\\<,\\>,\\{,\\},\\(,\\),\\',\\;,\\=,\"]");
  if (txt.test($(this).val()))
  {
   alert("此项中包含特殊符号");
   $(this).focus();
   temp = false;
   return false;
  }
  
 });
 }
 if (temp) {
$("#"+id+" .632").each(function(){
	  if ($(this).val().length>32 || $(this).val().length<6)
	  {
	   alert("此项不能小于6位或大于32位");
	   $(this).focus();
	   temp = false;
	   return false;
	  }
	 });
	 }
	 if (temp) {
	 $("#"+id+" .company").each(function(){
	 var reg=/^[A-Za-z0-9]{8}-[A-Za-z0-9]{1}/;  
	 if (!reg.test($(this).val()))
	 {
	   alert("此项企业机构代码不规范");
	   $(this).focus();
	   temp = false;
	   return false;
	 }
	 });
	 }
	 if (temp) {
	 $("#"+id+" .wordnum").each(function(){
	 var reg=/^[a-z,A-Z,0-9]{4,16}$/;
	 if (!reg.test($(this).val()))
	 {
	   alert("此项只能输入数字和英文");
	   $(this).focus();
	   temp = false;
	   return false;
	 }
	 });
	 }
	 if (temp) {
	 $("#"+id+" .email").each(function(){
	 var reg=/^\w{3,}@\w+(\.\w+)+$/; 
	 if (!reg.test($(this).val()))
	 {
	   alert("此项E-mail格式不正确");
	   $(this).focus();
	   temp = false;
	   return false;
	 }
	 });
	 }
	 if (temp) {
	 $("#"+id+" .chinese").each(function(){
	 var reg=/^[\u4E00-\u9FA5]{0,255}$/; 
	 if (!reg.test($(this).val()))
	 {
	   alert("此项只能为中文");
	   $(this).focus();
	   temp = false;
	   return false;
	 }
	 });
	 }
	 if (temp) {
	 $("#"+id+" .num").each(function(){
	 var reg=/^[0-9]{0,255}$/;
	 if (!reg.test($(this).val()))
	 {
	   alert("此项只能为数字");
	   $(this).focus();
	   temp = false;
	   return false;
	 }
	 });
	 }
	 if (temp) {
		 $("#"+id+" .word").each(function(){
		 var reg=/^[a-z,A-Z]{0,255}$/;
		 if (!reg.test($(this).val()))
		 {
		   alert("此项只能为英文字母");
		   $(this).focus();
		   temp = false;
		   return false;
		 }
		 });
		 }
	 if (temp) {
		 $("#"+id+" .url").each(function(){
		 var reg=/http:\/\/(.)*\b$/;
		 if (!reg.test($(this).val()))
		 {
		   alert("此项链接地址不正确");
		   $(this).focus();
		   temp = false;
		   return false;
		 }
		 });
		 }
 return temp;
 }