function checkForm(){
if (document.regForm.one.value.length <>
alert("Empty Form field...! Please fill.");
return false;
}
if (document.regForm.two.value.length <>
alert("Empty Form field...! Please fill.");
return false;
}
if (document.regForm.three.value.length <>
alert("Empty Form field...! Please fill.");
return false;
}
if (document.regForm.four.value.length <>
alert("Empty Form field...! Please fill.");
return false;
}
return true;
}
No comments:
Post a Comment