function checkWholeForm(theForm) {
    if (theForm.course_name.value == "") {
        alert( "Please enter a course name for your course." );
        theForm.course_name.focus();
        return false ;
    }
    if (theForm.department.value == "") {
        alert( "Please enter your Department name." );
        theForm.department.focus();
        return false ;
    }
    if (theForm.cours_number.value == "") {
        alert( "Please enter the course number." );
        theForm.course_number.focus();
        return false ;
    }
    if (theForm.rational.value == "") {
        alert( "You need to enter a rationale for the course." );
        theForm.rational.focus();
        return false ;
    }
    if (theForm.skills.value == "") {
        alert( "The skills and methods field is required." );
        theForm.skills.focus();
        return false ;
    }
    if (theForm.success_factors.value == "") {
        alert( "Please enter information about the University Sucess Factors." );
        theForm.success_factors.focus();
        return false ;
    }
    if (theForm.submitted_by.value == "") {
        alert( "Please enter you name as the submitter." );
        theForm.submitted_by.focus();
        return false ;
    }
    if (theForm.email.value == "") {
        alert( "Please enter your email address so that we can contact you." );
        theForm.course_name.focus();
        return false ;
    }
    if (theForm.upload.value == "") {
        alert( "You must upload a syllabus for this course." );
        theForm.upload.focus();
        return false ;
    }
return true;
}
