This is not ending the submission of the form. What am I missing?
Code:<script language="JavaScript"> <!-- function addAnother(form){ if(form.ckAddAnother.checked) { if(form.LName.value != "") { LName = form.addITSS.LName; } else { alert("Plase fill in a last name!"); form.LName.focus(); return(false); } if(form.FName.value != "") { FName = form.FName.value; } else { alert("Plase fill in a first name!"); form.FName.focus(); return(false); } if(form.Region.value != "") { Region = form.Region.value; } else { alert("Plase fill in a region!"); form.Region.focus(); return(false); } if(form.administration.value != "") { administration = form.administration.value; } else { alert("Plase fill in an Administration!"); form.administration.focus(); return(false); } if(form.title.value != "") { title = form.title.value; } else { alert("Plase fill in a title!"); form.title.focus(); return(false); } } return(true); } --> </script>




Reply With Quote