// JavaScript Document

function TermFormValidate(theForm)
{
  if( hasBannedPatterns(theForm) ) return false;
 
  if (theForm.shipperssignature.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.shipperssignature.focus();
    return (false);
  }

  if (theForm.shipperssignature.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Name\" field.");
    theForm.shipperssignature.focus();
    return (false);
  }

  if (theForm.date.value == "")
  {
    alert("Please enter a value for your the terms date signed.");
    theForm.date.focus();
    return (false);
  }  
  
  return (true);
}
