function validate_form() {
    valid = true;
    var txt = "";
    if ( document.Registerform.name.value == "" ){
        txt = "Please fill in the 'Your Name' box.\n";
        valid = false;
    }
    if ( document.Registerform.phone.value == "" ){
        txt += "Please fill in the 'Contact Phone' box.\n";
        valid = false;
    }
	if ( document.Registerform.employer.value == "" ){
        txt += "Please fill in the 'Your Employer' box.\n";
        valid = false;
    }
	if ( document.Registerform.employer_phone.value == "" ){
        txt += "Please fill in the 'Employer Phone' box.\n";
        valid = false;
    }
	if ( document.Registerform.recipe_name.value == "" ){
        txt += "Please fill in the 'Recipe Name' box.\n";
        valid = false;
    }
	if ( document.Registerform.directions.value == "" ){
        txt += "Please fill in the 'Recipe & Directions' box.\n";
        valid = false;
    }
    if(valid === false) alert(txt);
    return valid;
}
