# React onFormSubmitted

**URL:** <https://community.hubspot.com/t/react-onformsubmitted/71542>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [December 19, 2022, 8:19pm UTC](https://community.hubspot.com/t/react-onformsubmitted/71542 "2022-12-19T20:19:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnkader](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@mnkader](https://community.hubspot.com/u/mnkader)\
**Post date:** [December 19, 2022, 8:19pm UTC](https://community.hubspot.com/t/react-onformsubmitted/71542/1 "2022-12-19T20:19:06Z")

</div>

Hi All,

I’m tring to use the onFormSubmit and onFormSubmitted to do different things… the onFormSubmit kicks off, but not the onFormSubmitted.  
onFormSubmitted only works if onFormSubmit isnt present.  
How do i get both of them to kick off? first onFormSubmit, then straight after, onFormSubmitted?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 20, 2022, 6:26pm UTC](https://community.hubspot.com/t/react-onformsubmitted/71542/2 "2022-12-20T18:26:25Z")

</div>

Hi, @mnkader 👋 Can you provide any details to help the community understand your specific issue? Code blocks or examples, as well as links to examples when possible, are all useful in helping our community members to understand how they can assist you.

Best,

Jaycee
