Getting flash button to submit form properly

I’m using a flash button as a submit button for a form, and it is working. I used…

getURL("javascript:document.formenter.submit();");

…within an on(release) and it does submit the form, but it won’t run the javascript validation. Here is my form tag:

<form name="formenter" method="post" action="enter_step2.php" 
onsubmit="javascript:return validateForm(this)">

With a graphic button, it worked perfect. But with this flash button, it submits, but won’t run the validation.

Can anyone help?

Thanks,
Dan