function submitrequest() {
	
	theform = document.RequestInfoForm;
	
	theform.FirstName.required = true;
	theform.FirstName.requiredError = 'The First Name field must be filled in.';
	
	theform.LastName.required = true;
	theform.LastName.requiredError = 'The Last Name field must be filled in.';
	
	theform.Address.required = true;
	theform.Address.requiredError = 'The Street Address field must be filled in.';
	
	theform.City.required = true;
	theform.City.requiredError = 'The City field must be filled in.';
	
/*
	theform.Country.required = true;
	theform.Country.requiredError = 'A Country must be selected.';
	theform.Country.disallowEmptyValue = true;
	theform.Country.disallowEmptyValueError = 'A Country must be selected.';
	
*/
	
/* We must validate the state regardless of country */
	theform.State.required = true;
	theform.State.requiredError = 'A State must be selected.';
	theform.State.disallowEmptyValue = true;
	theform.State.disallowEmptyValueError = 'A State must be selected.';
//	theform.Province.required = false;
	
	theform.Zip.required = true;
	theform.Zip.requiredError = 'The Zip Code field must be filled in.';
	theform.Zip.pattern = '';
	
	theform.DaytimePhoneP1.required = true;
	theform.DaytimePhoneP1.requiredError = 'The Daytime Phone (area code part) field must be filled in.';
	theform.DaytimePhoneP2.required = true;
	theform.DaytimePhoneP2.requiredError = 'The Daytime Phone (prefix part) field must be filled in.';
	theform.DaytimePhoneP3.required = true;
	theform.DaytimePhoneP3.requiredError = 'The Daytime Phone (suffix part) field must be filled in.';
	// the next 2 lines are needed to run the pattern check on the DaytimePhone number because it is in 3 separate form fields
	theform.DaytimePhoneP1.prefix = 'DaytimePhoneP2';
	theform.DaytimePhoneP1.suffix = 'DaytimePhoneP3';
	theform.DaytimePhoneP1.pattern = 'us phone number';
	theform.DaytimePhoneP1.patternError = 'The Daytime Phone is not valid.';

/*



/*	
	theform.DaytimePhone.required = true;
	theform.DaytimePhone.requiredError = 'Please enter your Daytime Phone number, digits only';
	theform.DaytimePhone.pattern = 'us phone number';
	theform.DaytimePhone.patternError = 'The Daytime Phone number is not valid.';
*/
/*	
	theform.EveningPhone.required = true;
	theform.EveningPhone.requiredError = 'Please enter your Evening Phone number, digits only';
	theform.EveningPhone.pattern = 'us phone number';
	theform.EveningPhone.patternError = 'The Evening Phone number is not valid.';
	
	theform.EveningPhone.required = true;
	theform.EveningPhone.requiredError = 'Please enter your Evening Phone number, digits only';
	theform.EveningPhone.pattern = 'us phone number';
	theform.EveningPhone.patternError = 'The Evening Phone number is not valid.';
*/

	theform.Email.required = true;
	theform.Email.requiredError = 'The E-Mail Address field must be filled in.';
	theform.Email.pattern = 'email';
	theform.Email.patternError = 'The E-Mail Address entered is not valid.';

	theform.ProgramsOfInterest.required = true;
	theform.ProgramsOfInterest.requiredError = 'A Program of Interest must be selected.';
	theform.ProgramsOfInterest.disallowEmptyValue = true;
	theform.ProgramsOfInterest.disallowEmptyValueError = 'A Program of Interest must be selected.';

	theform.College.required = true;
	theform.College.requiredError = 'Please select your preferred school.';
	theform.College.disallowEmptyValue = true;
	theform.College.disallowEmptyValueError = 'Please select your preferred school.';
/*
	theform.CollegeID2.required = true;
	theform.CollegeID2.requiredError = 'Please select your preferred campus.';
	theform.CollegeID2.disallowEmptyValue = true;
	theform.CollegeID2.disallowEmptyValueError = 'Please select your preferred campus.';
*/
	theform.YearHSGED.required = true;
	theform.YearHSGED.requiredError = 'A Year of High School Graduation or GED Completed must be selected.';
	theform.YearHSGED.disallowEmptyValue = true;
	theform.YearHSGED.disallowEmptyValueError = 'A Year of High School Graduation or GED Completed must be selected.';


	/*
	This is here so that if someone chooses another program WITHOUT choosing a campus, we throw an error.
	This is by design as the school was requested to be set up so that a person could click
	either the location or the program from the home page
	*/	
	if ((theform.CollegeID2.value == 0) && (theform.ProgramsOfInterest.options[theform.ProgramsOfInterest.selectedIndex].value != '')){
		alert('Please make sure you have chosen a campus with your program selection.');
		return false;
	}
		
//End of checking to see if we are not choosing collegeid 6
	

	
	var errors = getFormErrors(theform);
	if (errors.length > 0) {
		var errorMessage = 'The form was not submitted due to the following problem' + ((errors.length > 1) ? 's' : '') + ':\n\n';
		for (var errorIndex = 0; errorIndex < errors.length; errorIndex++) {
			errorMessage += '* ' + errors[errorIndex] + '\n';
		}
		errorMessage += '\nPlease fix ' + ((errors.length > 1) ? 'these' : 'this') + ' problem' + ((errors.length > 1) ? 's' : '') + ' and resubmit the form.';
		alert(errorMessage);
		return false;
	}
	
	// disable all buttons to avoid multi-submit
	disableButtons(theform);
	
	// alert to avoid multiple-submit
	//submitAlert();
	
	//return false;
	
	/* submit the form once all validation is complete */
	theform.submit();
}