I really don't advise it but if you just remove the
onSubmit="return validatePage1();"
stuff the form will still work but it won't validate anything prior to submitting the form.
You could choose to move the Java to a separate file and just put a single line at the top of the form to include the javascript file.
Somewhere before the </head> tag:
<script src="{some path}/yourjava.js"></script>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can I remove function validatePage? I guess that I have to change onSubmit from current to what?
<form method=post enctype=multipart/form-data action=processor.php onSubmit="return validatePage1();">
Thank you.
I really don't advise it but if you just remove the
onSubmit="return validatePage1();"
stuff the form will still work but it won't validate anything prior to submitting the form.
You could choose to move the Java to a separate file and just put a single line at the top of the form to include the javascript file.
Somewhere before the </head> tag:
<script src="{some path}/yourjava.js"></script>