Originally Posted by andrew55
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.
Simply move the onclick code from the button to the form tag and then change onclick
onClick="all_fields();if (validate_form()) document.form1.submit();"
gets deleted from the button and
onsubmit="all_fields();if (validate_form()) document.form1.submit();return false;"
gets added to the form tag.
Helping others to solve their computer problem at http://www.felgall.com/