Is it possible to to submit an HTML Form (with a PHP action) and include a javascript onsubmit="VerifyFields()?
I am trying to do it now, but it seems that it will do the PHP action and not do the onsubmit.
Update:
Thanks for all of your help.
The problem was that I was putting my VerifyMe() function in the <head></head>, as opposed to the <body></body>.