# Using the new workflow I get phantom form submissions

**URL:** <https://community.weweb.io/t/using-the-new-workflow-i-get-phantom-form-submissions/982>\
**Category:** Ask us anything\
**Created:** [August 11, 2022, 3:48pm UTC](https://community.weweb.io/t/using-the-new-workflow-i-get-phantom-form-submissions/982 "2022-08-11T15:48:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peteletkemansst](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@peteletkemansst](https://community.weweb.io/u/peteletkemansst)\
**Post date:** [August 11, 2022, 3:48pm UTC](https://community.weweb.io/t/using-the-new-workflow-i-get-phantom-form-submissions/982/1 "2022-08-11T15:48:03Z")

</div>

I’ve attached a work flow to the change action of a select.  
Now as soon as that work flow executes the form is submitted as well as shown in this video

How can I fix this?

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [August 11, 2022, 4:41pm UTC](https://community.weweb.io/t/using-the-new-workflow-i-get-phantom-form-submissions/982/2 "2022-08-11T16:41:32Z")

</div>

I’m from mobile but it looks like the rest api request action is in a workflow triggered “on click” so it will execute every time the form element gets a click event.  
Your selector is contained by the form element so it will propagate every click to the form itself, that’s why the workflow executes.

Try changing the trigger of the workflow to “on submit”.

---

<div class="post-metadata">

**Author:** ![peteletkemansst](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@peteletkemansst](https://community.weweb.io/u/peteletkemansst)\
**Post date:** [August 11, 2022, 4:45pm UTC](https://community.weweb.io/t/using-the-new-workflow-i-get-phantom-form-submissions/982/3 "2022-08-11T16:45:50Z")

</div>

Yep using on submit fixed the issue

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [August 11, 2022, 4:49pm UTC](https://community.weweb.io/t/using-the-new-workflow-i-get-phantom-form-submissions/982/4 "2022-08-11T16:49:58Z")

</div>

> [@peteletkemansst](#):
>
> on submit fixed the issue

Wonderful! 🙂
