function process() {
var form = document.forms[0];
var errorMessage = "You must fill in the following mandatory fields before submitting this form:\n\n";
var missedFields = "";

	
	if (form.name.value == "") {
		missedFields += "\tYour Name\n";
	}
	if (form.address.value == "") {
		missedFields += "\tYour Address\n";
	}
	if (form.phoneno.value == "") {
		missedFields += "\tYour Phone Number\n";
	}
	if (missedFields == "") {
		form.submit();
	}
	else {
		alert(errorMessage + missedFields + "\nPlease fill in the missing data and submit the form again.");
		return false;
	}
}
