

<!-- Begin
function verify() {
var themessage = "You are required to complete the following fields:\n";
if (document.form.name.value=="") {
themessage = themessage + " - Name\n";
}
if (document.form.email.value=="") {
themessage = themessage + " - Email\n";
}
if (document.form.address.value=="") {
themessage = themessage + " - Address\n";
}
if (document.form.tel.value=="") {
themessage = themessage + " - Phone Number\n";
}
if (document.form.fuel_type.value=="") {
themessage = themessage + " - Type of Fuel\n";
}
if (document.form.fuel_qty.value=="") {
themessage = themessage + " - Quantity of Fuel\n";
}
if (document.form.home_use.value!="confirmed") {
themessage = themessage + " - Home Use Confirmation Tickbox";
}
//alert if fields are empty and cancel form submit
if (themessage == "You are required to complete the following fields:\n") {
document.form.submit();
}
else {
alert(themessage);
return false;
   }
}
//  End -->