Hi, I tried your test and it worked and then I noticed that even though it works the html view in firebug still shows the onsubmit function as the original function...
So I tried it again with vbulletin and it is calling the new function now, even tho firebug still shows the form's onsubmit as the old function. Dont kno if this is a bug with firebug but at least this is working now.
Cheers mate.
--------------- Added [DATE]1312334345[/DATE] at [TIME]1312334345[/TIME] ---------------
Hmmm, one other thing...I need to declare the onsubmit in the form of
Code:
onsubmit = 'return override_submit';
So that I can stop the form from getting sent if the validation fails.
But it doesn't work when I use -- return -- and quotation marks.
Any ideas?