
function checkForm(TheForm) {
// url, title, description

if (TheForm.Employees.value == "")
{
alert("Please provide the total number of employees.");
TheForm.Employees.focus();
return false;
}

if (TheForm.Month.selectedIndex == 0)
{
alert("Please select the Month you would like to start your program.");
TheForm.Month.focus();
return false;
}
if(isNaN(TheForm.Employees.value)) 
{ 
 alert("Invalid data format.\n\nOnly numbers are allowed."); 
 TheForm.Employees.focus();
 return (false); 
 }

return true;


}// end function checkalForm

