<!--- === This script validates the form fields have been entered on Contact Request Form === --->
function validateForm() {
  var okSoFar=true;  //-- Changes to false when bad field found. 
  if (document.Form1.first_name.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your First Name');
    document.Form1.first_name.focus();
    }
  if (document.Form1.Last_Name.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your Last Name');
    document.Form1.Last_Name.focus() ;
    }
  if (document.Form1.company.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your Company');
    document.Form1.company.focus() ;
    }
  if (document.Form1.address1.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your Address');
    document.Form1.address1.focus();
    }
  if (document.Form1.city.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your City');
    document.Form1.city.focus(); 
    }
  if (document.Form1.zipcode.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your Zip Code');
    document.Form1.zipcode.focus(); 
    }
  if (document.Form1.userpassword.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your Password');
    document.Form1.userpassword.focus(); 
    }
  if (document.Form1.email.value=='' && okSoFar) {
    okSoFar=false;
    //alert ('Please enter your Email Address');
    document.Form1.email.focus();
    }
  if (okSoFar==true) {
    //document.Form1.submit();
    return true;}
  else {
    return false;}
}
<!--- === This script validates the login fields have been entered on Partner Login === --->
function validatePLogin(){
  if (document.PLogin.login.value=='' && okSoFar) {
    okSoFar=false;
    alert ('Please enter your login');
    document.PLogin.login.focus(); 
    }
  if (document.PLogin.password.value=='' && okSoFar) {
    okSoFar=false;
    alert ('Please enter your password');
    document.PLogin.password.focus();
    }
  if (okSoFar==true) {
    //document.Form1.submit();
    alert ('Login failed. Either the password or the login you entered are incorrect. Please try again.');
    return true;}
  else {
    return false;}
}
<!--- === This function checks the No Preference checkbox on Contact Request Form === --->	
function NoPreferenceChecked(bNoPref)
{
	var FileLoop2;
	var vLength;
	
	//Set vLength to last position, aka NoPreference checkbox
	vLength = document.Form1.ReachWhen.length - 1;
	if (bNoPref == true)
	{
		// Uncheck all other Reach When checkboxes
		for (FileLoop2 = 0; FileLoop2 < vLength; FileLoop2++)
		{
			document.Form1.ReachWhen[FileLoop2].checked = false;
			//document.requestinfo.Control[FileLoop2].disabled = true;
		}
	}
	else
	{
		// Uncheck No Pref checkbox
		document.Form1.ReachWhen[vLength].checked = false;	
	}
}