<!--
// Sri Sathya System
// http://www.sathsys.com
// No part of this snippet should be used without written permission of Sri Sathya System.
// For queries write to jSnip@sathsys.com

function frmVldate() {
 if(!chkField("name1", "Please enter your Company Name to proceed","t", "\n\nIncorrect Company Name! Please recheck.\n\n\nNote\n *The characters a-z A-Z ,. are only allowed\n *Company Name should start with a character\n\n")) return false;
  if(document.st_form.name1.value.length > 50) {
 	alert("The Number of characters in the Company Name field has exceed the limit of 50.\n\nMake sure that you don't have more than 50 characters.");
	document.st_form.name1.focus();
	return false;
  }

if(isWhiteSpace(document.st_form.add1.value)) {
	alert("The address field can't be left blank. Please enter your address");
	document.st_form.add1.focus();
	return false;
}

  if(!chkField("res1", "Office phone Can't be Empty. Please enter your Office Phone Number to proceed","p", "Invalid Characters in Phone.\n\nNote:\n *The characters 1234567890()-_,[] +()* are only allowed")) return false;
  if(document.st_form.res1.value.length > 40) {
 	alert("The Number of characters in the Office Phone field has exceed the limit of 20.\n\nMake sure that you don't have more than 40 characters.");
	document.st_form.res1.focus();
	return false;
  }

  if(!chkField("res", "Residence phone Can't be Empty. Please enter your Phone Number (Resi) to proceed","p", "Invalid Characters in Phone.\n\nNote:\n *The characters 1234567890()-_,[] +()* are only allowed")) return false;

  if(!chkField("mob", "Mobile phone Can't be Empty. Please enter your Mobile Number to proceed","p", "Invalid Characters in Phone.\n\nNote:\n *The characters 1234567890()-_,[] +()* are only allowed")) return false;

  if(!chkField("fax", "Mobile phone Can't be Empty. Please enter your Mobile Number to proceed","p", "Invalid Characters in Phone.\n\nNote:\n *The characters 1234567890()-_,[] +()* are only allowed")) return false;

  if(!chkField("email", "E-Mail Can't be left Empty. Please enter your E-Mail to proceed","e", "Either the E-Mail you've entered is incorrect or it contains invalid Characters.\n\nNote:\n *The E-Mail should be in you@domain.com format. \n *The characters _-.@ 0-9 a-z A-Z are only allowed")) return false;
  if(document.st_form.email.value.length > 50) {
 	alert("The Number of characters in the Email field has exceed the limit of 50.\n\nMake sure that you don't have more than 50 characters and your email is correct.");
	document.st_form.email.focus();
	return false;
  }

if(isWhiteSpace(document.st_form.S1.value)) {
	alert("The comments/requirements field can't be left blank. Please enter your comments/requirements");
	document.st_form.S1.focus();
	return false;
}

  return true;
}

// Sri Sathya System
// http://www.sathsys.com
// No part of this snippet should be used without written permission of Sri Sathya System.
// For queries write to jSnip@sathsys.com

-->
