function formValidation(form){
if(notEmpty(form.name)){
if(notEmpty(form.email)){
if(notEmpty(form.phone)){
return true;
}
}
}
return false;
}
function notEmpty(elem){
var str = elem.value;
if(str.length == 0){
alert("You must fill in all required fields Please (*)");
return false;
} else {
return true;
}
}

