Oh, for crying out loud!
OF COURSE the validation STOPs with the gender check!
*** LOOK AT YOUR CODE ***
After I have formatted it into a semblance of readability:
var booValid = true;
var strErrorMsg = "";
if ((!formtag.gender.checked) && (!formtag.gender.checked))
strErrorMsg += "Must select Female or Male\n";
IF THE GENDER IS NOT CHECKED, then you RETURN FALSE right then and there!
But your whole validation is nearly worthless!
If I bring up the page and *ONLY* check male or female and *ONLY* check "agree to terms"--NOTHING ELSE--and then hit the SUBMIT FORM button, look what happens.
Yes, you give messages about the missing name, phone number, etc., BUT YOU STILL SUBMIT THE FORM!!!
What is the point in giving those messages if you are going to submit the form, anyway?
IF THERE IS AN ERROR, of any kind, in the validation, then the validation function *MUST* return false
or the form *WILL* be submitted.