# Form Buttons in action?

**URL:** <https://community.auth0.com/t/form-buttons-in-action/194605>\
**Category:** Get Help\
**Tags:** platform-infrastructure, general-architecture-question\
**Created:** [November 17, 2025, 10:34pm UTC](https://community.auth0.com/t/form-buttons-in-action/194605 "2025-11-17T22:34:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurt.dunn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kurt.dunn/32/72021_2.png) [@kurt.dunn](https://community.auth0.com/u/kurt.dunn)\
**Post date:** [November 17, 2025, 10:34pm UTC](https://community.auth0.com/t/form-buttons-in-action/194605/1 "2025-11-17T22:34:41Z")

</div>

I have a form with 2 buttons. I need to run the associated action with ‘Continue’, the other is a ‘Skip’ button that i need to skip all the logic in the action.

How can this be acheived? I have tried this.. But there is no reference.

```auto
  const action = event.request.body?.action;

  if(action === 'skip'){
    return;
  }

```

 ![Screenshot 2025-11-18 at 9.32.33 am](https://global.discourse-cdn.com/auth0/original/3X/8/b/8b2fe702682dea7dd0d7fd818845e51c378e3925.png)

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [November 18, 2025, 4:49pm UTC](https://community.auth0.com/t/form-buttons-in-action/194605/3 "2025-11-18T16:49:13Z")

</div>

Hi @kurt.dunn

Thank you for reaching out to us!

Based on the Forms behaviour that you wish to accomplish, I believe that the appropriate block to be used would be the " Jump button ", more information on these can be found in the following documentation [Nodes and components](https://auth0.com/docs/customize/forms/nodes-and-components#jump-button-block:~:text=A%20button%20that%20lets%20users%20skip%20the%20current%20step%20and%20directly%20jumps%20to%20the%20destination%20node)

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![kurt.dunn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kurt.dunn/32/72021_2.png) [@kurt.dunn](https://community.auth0.com/u/kurt.dunn)\
**Post date:** [November 18, 2025, 8:37pm UTC](https://community.auth0.com/t/form-buttons-in-action/194605/4 "2025-11-18T20:37:02Z")

</div>

@gerald.czifra

I will be more specific.

There is no flow in the form. The only step is the desination node.

All the logic happens in the action because flows do not have enough detail for our business logic.

How can I tell the buttons apart from within the action?

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [November 25, 2025, 8:53pm UTC](https://community.auth0.com/t/form-buttons-in-action/194605/5 "2025-11-25T20:53:49Z")

</div>

Hi @kurt.dunn

I am sorry for the delayed response to your topic.

Unfortunately, Gerald is not available at this time. Regarding the issue that you are experiencing, unfortunately, you are not able to detect which button was specifically pressed inside the `onContinuePostLogin` action.

My recommendation would be to include either a **Shared Variables Flow** or an **Update User Flow** after the Skip button is clicked.  
For the **Shared Variables Flow** , you will basically create a variable like **userSkipped = true** then check this value inside the action as such:

```auto
if(event.prompt.vars.userSkipped === true){
return;
}

```

For the **Update User** flow, you will do a similar thing, where you will add inside the user’s app metadata a value which you will check inside the action. You will need to make sure to set these values to valse if the Continue button is being selected otherwise in both of these scenarios.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 9, 2025, 8:54pm UTC](https://community.auth0.com/t/form-buttons-in-action/194605/6 "2025-12-09T20:54:13Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
