# Getting flash button to submit form properly

**URL:** <https://forum.kirupa.com/t/getting-flash-button-to-submit-form-properly/55276>\
**Category:** Uncategorized\
**Created:** [June 22, 2004, 3:19pm UTC](https://forum.kirupa.com/t/getting-flash-button-to-submit-form-properly/55276 "2004-06-22T15:19:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dshallenberger](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dshallenberger](https://forum.kirupa.com/u/dshallenberger)\
**Post date:** [June 22, 2004, 3:19pm UTC](https://forum.kirupa.com/t/getting-flash-button-to-submit-form-properly/55276/1 "2004-06-22T15:19:15Z")

</div>

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

```auto
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:

```auto
<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
