﻿// JScript File
function validateSubmission()
{
    if( document.frmConference.Referral.value == '' ) 
    {
	    alert( 'You must supply a value for the Class(es).' );
	    document.frmConference.Referral.focus();
	    return false;
    }
    if( document.frmConference.FirstName.value == '' ) 
    {
	    alert( 'You must supply a value for the First Name.' );
	    document.frmConference.FirstName.focus();
	    return false;
    }
    if( document.frmConference.LastName.value == '' ) 
    {
	    alert( 'You must supply a value for the Last Name.' );
	    document.frmConference.LastName.focus();
	    return false;
    }
    if( document.frmConference.JobTitle.value == '' ) 
    {
	    alert( 'You must supply a value for the Job\/Position Title.' );
	    document.frmConference.JobTitle.focus();
	    return false;
    }
    if( document.frmConference.companyName.value == '' ) 
    {
	    alert( 'You must supply a value for the Agency\/Company.' );
	    document.frmConference.companyName.focus();
	    return false;
    }
    if( document.frmConference.Email.value == '' ) 
    {
	    alert( 'You must supply a value for the Email.' );
	    document.frmConference.Email.focus();
	    return false;
    }
    if( document.frmConference.Description.value == '' ) 
    {
	    alert( 'You must supply a value for the Biography.' );
	    document.frmConference.Description.focus();
	    return false;
    }
    
    document.frmConference.action = "Submission_Confirmation.asp";
    document.frmConference.submit();
}

