
function validate_form ( )
{
    valid = true;

      
   if ( document.contact.NAME.value == "" )
    {
        alert ( "Please fill in the 'Full Name' text box." );
        valid = false;
    }
	   if ( document.contact.EMAIL.value == "" )
    {
        alert ( "Please fill in the 'Email' text box." );
        valid = false;
    }
    
    	   if ( document.contact.PHONE_NUMBER.value == "" )
    {
        alert ( "Please fill in the 'Phone Number' text box." );
        valid = false;
    }
    
	   if ( document.contact.RESIDENTIAL_ADDRESS.value == "" )
    {
        alert ( "Please fill in the 'Residential Address' text box." );
        valid = false;
    }
   
       if ( document.contact.SUBURB.value == "" )
    {
        alert ( "Please fill in the 'Suburb' text box." );
        valid = false;
    }


    return valid;
}
