function checkForm(){

	// find the error div
	var name_error = document.getElementById("nameWarning");
	var email_error = document.getElementById("emailWarning");
	var comments_error = document.getElementById("commentsWarning");
	var generic_error = document.getElementById("userGenericWarning");
	
	// the input div values
	var name_input = document.getElementById("name").value;
	var email_input = document.getElementById("email").value;
	var comments_input = document.getElementById("comments").value;
	
	// check the inputs to see if any info has been input
	if(name_input == ''){
		name_error.style.display = 'inline';
	}else if(name_input != ''){
		name_error.style.display = 'none';
	}
	
	if(email_input == ''){
		email_error.style.display = 'inline';
	}else if(email_input != ''){
		email_error.style.display = 'none';
	}
	
	if(comments_input == ''){
		comments_error.style.display = 'inline';
	}else if(comments_input != ''){
		comments_error.style.display = 'none';
	}
	
	
	// check to see if all are empty or not
	if(name_input == '' || email_input == '' || comments_input == ''){
		generic_error.style.display = 'inline';
		return false;
	}else{
		generic_error.style.display = 'none';
		return true;
	}
}
