'
';
xnew.appendChild(newdiv);
}
function MasterValidate() {
if (AlertIfEquals("firstname", "", "Please enter a value for the \"First Name\" field."))
return false;
if (AlertIfEquals("lastname", "", "Please enter a value for the \"Last Name\" field."))
return false;
if (AlertIfEquals("studentid", "", "Please enter a value for the \"StudentID\" field."))
return false;
if (CheckStudentID("studentid", "lastname") == false)
return false;
if (AlertIfEquals("organization", "", "Please enter a value for the \"Organization\" field."))
return false;
if (AlertIfEquals("address1", "", "Please enter a value for the \"Address\" field."))
return false;
if (AlertIfEquals("city", "", "Please enter a value for the \"City\" field."))
return false;
if (checkStateProvCountry("state", "province", "country") == false)
return false;
if (AlertIfEquals("zip", "", "Please enter a value for the \"Zip\" field."))
return false;
if (AlertIfEquals("phone", "", "Please enter a value for the \"Phone\" field."))
return false;
if (AlertIfEquals("email", "", "Please enter a value for the \"Email\" field."))
return false;
if (CheckValidEmailFormat("email") == false) {
SetFocus("email");
return false;
}
if ((GetControl("source_7").checked == true) && (GetControlValue("contxt") == "")) {
alert("You have selected \"Conference, exhibit, or tradeshow\". Please provide the name of the event.");
SetFocus("contxt");
return false;
}
if ((GetControl("source_8").checked == true) && (GetControlValue("othertxt") == "")) {
alert("You have selected \"Other\". Please tell us how you found us.");
SetFocus("othertxt");
return false;
}
if ((GetControl("source_7").checked == false) && (GetControlValue("contxt") != "")) {
alert("You entered text in the text field for \"Conference, exhibit, or tradeshow\" but did not check it's corresponding radio button. Please change your selection or clear the text field.");
SetFocus("contxt");
return false;
}
if ((GetControl("source_8").checked == false) && (GetControlValue("othertxt") != "")) {
alert("You entered text in the text field for \"Other\" but did not check it's corresponding radio button. Please change your selection or clear the text field.");
SetFocus("othertxt");
return false;
}
if ((GetControl("vares_0").checked == false) && (GetControl("vares_1").checked == false)) {
alert("Please indicate if you are a resident of Virginia.");
SetFocus("vares_0");
return false;
} // END validate student name & contact info
// BEGIN form validation for additional students
var numStudents = document.getElementById("studentCounter");
var students = numStudents.value;
for (cntr = 1; cntr <= students; cntr++) {
var addNameFirst = "ctl02_addnamefirst_" + cntr;
var addNameFirstObj = GetControl(addNameFirst);
var addNameLast = "ctl02_addnamelast_" + cntr;
var addNameLastObj = GetControl(addNameLast);
var addStuId = "ctl02_addstuid_" + cntr;
var addStuIdObj = GetControl(addStuId);
var addEmailId = "ctl02_addemail_" + cntr;
var addEmailObj = GetControl(addEmailId);
var addVaResY = "ctl02_varesSY_" + cntr;
var addVaResObjY = GetControl(addVaResY);
var addVaResN = "ctl02_varesSN_" + cntr;
var addVaResObjN = GetControl(addVaResN);
if ((addNameFirstObj.value == "") && (addNameLastObj.value != "")) {
alert("Please enter a first name for Additional Student #" + cntr + ".");
addNameFirstObj.focus();
return false;
}
if ((addNameFirstObj.value != "") && (addNameLastObj.value == "")) {
alert("Please enter a last name for Additional Student #" + cntr + ".");
addNameLastObj.focus();
return false;
}
if (((addNameFirstObj.value != "") || (addNameLastObj.value != "")) && (addStuIdObj.value == "")) {
alert("Please enter a Student ID for Additional Student #" + cntr + ".");
addStuIdObj.focus();
return false;
}
if (addStuIdObj.value != "") {
if (CheckStudentID(addStuId, addNameLast) == false) {
addStuIdObj.focus();
return false;
}
}
if (((addNameFirstObj.value != "") || (addNameLastObj.value != "")) && (addEmailObj.value == "")) {
alert("Please enter a valid email address for Additional Student #" + cntr + ".");
addEmailObj.focus();
return false;
}
if (addEmailObj.value != "") {
if (CheckValidEmailFormat(addEmailId) == false) {
addEmailObj.focus();
return false;
}
}
if (((addVaResObjY.checked == false) && (addVaResObjN.checked == false)) && (addNameFirstObj.value != "")) {
alert("Please enter the Virginia Resident status #" + cntr + ".");
addVaResObjY.focus();
return false;
}
} // END form validation for additional students
// BEGIN credit card validation
if (AlertIfEquals("Credit_Card", "Selectone", "Please select what type of credit card you wish to use."))
return false;
if (AlertIfEquals("CCnum", "", "Please enter a credit card number."))
return false;
if (checkCCnum("CCnum", "Credit_Card") == false)
return false;
if (AlertIfEquals("month", "month", "Please select the credit card expiration month."))
return false;
if (AlertIfEquals("year", "year", "Please select the credit card expiration year."))
return false;
if (checkCVV2("txtCVV2", "CCnum") == false)
return false;
if (AlertIfEquals("CC_Name", "", "Please enter the name on the credit card."))
return false;
if (AlertIfEquals("CC_Phone", "", "Please enter the \"billing\" phone number for this credit card."))
return false;
if (AlertIfEquals("BillToFirst", "", "Please enter a value for the \"Bill To Contact First Name\" field."))
return false;
if (AlertIfEquals("BillToLast", "", "Please enter a value for the \"Bill To Contact Last Name\" field."))
return false;
if (AlertIfEquals("BillToOrg", "", "Please enter a value for the \"Bill To Contact Organization\" field."))
return false;
if (AlertIfEquals("BillToAdd1", "", "Please enter a value for the \"Bill To Contact Address1\" field."))
return false;
if (AlertIfEquals("billtocity", "", "Please enter a value for the \"Bill To Contact City\" field."))
return false;
checkStateProvCountry("billtostate", "billtoprovince", "billtocountry")
if (AlertIfEquals("billtozip", "", "Please enter a value for the \"Bill To Contact Zip Code\" field."))
return false;
return true;
}
Management Concepts Course Registration Form (Credit Cards Only)
Course Information
Title:
Introduction to Grants and Cooperative Agreements for Federal Personnel
Course:
10-2040
Class:
13
Location:
Vienna, VA
Date(s):
9/13/2010-9/15/2010
Length:
3 days
Tuition: $810.00
To register for this course, please complete this form and press the Submit button.
Please note that fields marked with * are required.
Student Information
Additional Students
Payment Information
About SSL Certificates
If you prefer to send your registration by fax, our fax # is 703.790-1371.
For CustomerService, please call 703.790-9595.