function validateForm()
{
	trimFields();
	if(obj.full_name.value == "")
	{
		alert("Please enter your Full Name.");
		obj.full_name.focus();
		return;
	}
	var str_pat1 = /^[a-z.,\s]*$/i;
	if(!str_pat1.test(obj.full_name.value))
	{
		alert("Please Enter a Valid Name.");
		obj.full_name.select();
		return;
	}
	if(!chkString(obj.full_name.value))
	{
		alert("Please enter a valid String. Any special character should not be there.");
		obj.full_name.focus();
		obj.full_name.select();
		return;		
	}			
	if(obj.category.selectedIndex == 0)
	{
		alert("Please select your Category.");
		obj.category.focus();
		return;
	}
	
	/*if(obj.email.value == "")
	{
		alert("Please enter your Email.");
		obj.email.focus();
		return;
	}	
	if(!chkEmail(obj.email.value))
	{
		alert("Invalid Email!Please review and correct it.");
		obj.email.focus();
		obj.email.select();
		return;
	}*/
	
	if(obj.pp_name.value == "")
	{
		alert("Please specify your Pani Panchayat Name.");
		obj.pp_name.focus();
		return;
	}
	if(!chkString(obj.pp_name.value))
	{
		alert("Please enter a valid String. Any special character should not be there.");
		obj.pp_name.focus();
		obj.pp_name.select();
		return;		
	}				
	if(obj.pp_category.selectedIndex == 0)
	{
		alert("Please specify your Pani Panchayat Category.");
		obj.pp_category.focus();
		return;
	}
	if(obj.district.selectedIndex == 0)
	{
		alert("Please choose your District.");
		obj.district.focus();
		return;
	}
	if(obj.description.value == "")
	{
		alert("Please enter a Description.");
		obj.description.focus();
		return;
	}
	if(obj.code.value == "")
	{
		alert("Please enter security code.");
		obj.code.focus();
		return;
	}	
	//All okay??
	obj.action = "submit_feedback.php?opt=submit";
	obj.submit();	
}

