﻿function CCVerify()
 {
     if (document.getElementById("DPC_Date").value == "") {
        alert("Please Select a Date")
        document.getElementById("DPC_Date").focus();
        return false;
  
    }
    	else 
		{
		return CheckTime();
		}
	}
	
function CheckTime()
        {
            if (document.getElementById("Time").value == "") {
            alert("Please Select a Time")
            document.getElementById("Time").focus();
        	return false;
        }
            else 
		{
		return CheckLocation();
		}
	}
	
function CheckLocation()
        {
            if (document.getElementById("Location").value == "") {
            alert("Please Select the Location")
            document.getElementById("Location").focus();
        	return false;
        }
            else 
		{
		return CheckWait();
		}
	}    
	
	function CheckWait()
        {
            if (document.getElementById("Wait").value == "") {
            alert("Please Select How Long You Waited")
            document.getElementById("Wait").focus();
        	return false;
        }
            else 
		{
		return CheckCourtesy();
		}
	}
	
	function CheckCourtesy()
        {
            if (document.getElementById("courtesy").value == "") {
            alert("Please Rate the Professionalism and Courtesy Level")
            document.getElementById("courtesy").focus();
        	return false;
        }
            else 
		{
		return CheckSatisfaction();
		}
	}
	
	function CheckSatisfaction()
        {
            if (document.getElementById("satisfaction").value == "") {
            alert("Please Choose Whether or Not the Transaction was Completed to Your Satisfaction")
            document.getElementById("satisfaction").focus();
        	return false;
        }

    
    
    else {
        return true;
    }
}

function resetform()
{
document.getElementById("ccard").reset();

}