Sammy12, thank you. This seems to work so far, a variation of what you suggested:
Code:
<input name="Submit" class="submit-button" onClick="all_fields();if (validate_form()) document.form1.submit();">
felgall: it's not my usually style of creating a form. It's a script which I didn't create and it is set up in this way. I will try to see if I can recode it though it may be over my head.