# Wix Forms V2 - onSubmitSuccess overrides Wix Automation

**URL:** <https://forum.wixstudio.com/t/wix-forms-v2-onsubmitsuccess-overrides-wix-automation/64762>\
**Category:** Ask the community\
**Tags:** wix-forms, code\
**Created:** [November 17, 2024, 12:58pm UTC](https://forum.wixstudio.com/t/wix-forms-v2-onsubmitsuccess-overrides-wix-automation/64762 "2024-11-17T12:58:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kreativthold](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/kreativthold/32/85715_2.png) [@kreativthold](https://forum.wixstudio.com/u/kreativthold)\
**Post date:** [November 17, 2024, 12:58pm UTC](https://forum.wixstudio.com/t/wix-forms-v2-onsubmitsuccess-overrides-wix-automation/64762/1 "2024-11-17T12:58:55Z")

</div>

Hi - I’m trying to run some code after a successful form submit.

Problems:

onSubmitSuccess overrides the Wix Automation I have implemented.

onSubmit triggers my code even if the form required fields aren’t filled out.

So… Help !
