# How can i trigger the save and stay action?

**URL:** <https://community.directus.com/t/how-can-i-trigger-the-save-and-stay-action/650>\
**Category:** Help\
**Created:** [June 25, 2025, 4:48pm UTC](https://community.directus.com/t/how-can-i-trigger-the-save-and-stay-action/650 "2025-06-25T16:48:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Attacler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/attacler/32/99_2.png) [@Attacler](https://community.directus.com/u/Attacler)\
**Post date:** [June 25, 2025, 4:48pm UTC](https://community.directus.com/t/how-can-i-trigger-the-save-and-stay-action/650/1 "2025-06-25T16:48:56Z")

</div>

Hi there,

Im looking for a way to trigger the “Save and Stay” option from within an extension.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/directus/original/1X/bbfa9c6f32b4b476c51784e61fc9a268bd424f47.png)  
Is there any way to do that?  
I have tried to dispatch a custom keyboard event (CTRL + S) but that does not work.

---

<div class="post-metadata">

**Author:** ![baguse](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/baguse/32/584_2.png) [@baguse](https://community.directus.com/u/baguse)\
**Post date:** [July 23, 2025, 5:37am UTC](https://community.directus.com/t/how-can-i-trigger-the-save-and-stay-action/650/4 "2025-07-23T05:37:17Z")

</div>

I have the same case. What I do is to get the save and stay DOM element, then run the click() function LOL

---

<div class="post-metadata">

**Author:** ![comfortablycoding](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/comfortablycoding/32/37_2.png) [@comfortablycoding](https://community.directus.com/u/comfortablycoding)\
**Post date:** [June 25, 2025, 4:54pm UTC](https://community.directus.com/t/how-can-i-trigger-the-save-and-stay-action/650/2 "2025-06-25T16:54:03Z")

</div>

This is currently not possible as those actions are not exposed outside the form

---

<div class="post-metadata">

**Author:** ![Abdallah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/abdallah/32/105_2.png) [@Abdallah](https://community.directus.com/u/Abdallah)\
**Post date:** [July 12, 2025, 12:37pm UTC](https://community.directus.com/t/how-can-i-trigger-the-save-and-stay-action/650/3 "2025-07-12T12:37:32Z")

</div>

I’m using this extension in on of my projects, I remember I had access to the src code of it, but can’t remember where exactly. so just wanted to share it with you maybe it helps.

> **[@quickifyai/directus-extension-save-and-stay-button](https://www.npmjs.com/package/@quickifyai/directus-extension-save-and-stay-button?activeTab=readme)**
>
> Provide Save and Stay functionality as a button. Latest version: 1.0.2, last published: 8 months ago. Start using @quickifyai/directus-extension-save-and-stay-button in your project by running \`npm i...
