# Triggering an action from the keyboard?

**URL:** https://community.glideapps.com/t/triggering-an-action-from-the-keyboard/82537
**Category:** Ask for Help
**Tags:** custom-css, actions
**Created:** [June 16, 2025, 10:14pm UTC](https://community.glideapps.com/t/triggering-an-action-from-the-keyboard/82537 "2025-06-16T22:14:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JohnnyBoy](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@JohnnyBoy](https://community.glideapps.com/u/JohnnyBoy)
#### Post date: [June 16, 2025, 10:14pm UTC](https://community.glideapps.com/t/triggering-an-action-from-the-keyboard/82537/1 "2025-06-16T22:14:43Z")

</div>

Hoping someone knows how to trigger an action/workflow using a keyboard stroke, perhaps via CSS in a text box? In my case it would be when the Enter key or Tab key is clicked after entering text.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [June 16, 2025, 11:45pm UTC](https://community.glideapps.com/t/triggering-an-action-from-the-keyboard/82537/2 "2025-06-16T23:45:29Z")

</div>

I’d create a Custom AI component that does that. create a text entry that executes an action when the Enter key or Tab key is pressed. Then configure the action for the custom AI component to do what you want.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 16, 2025, 11:54pm UTC](https://community.glideapps.com/t/triggering-an-action-from-the-keyboard/82537/3 "2025-06-16T23:54:10Z")

</div>

> [@JohnnyBoy](#):
>
> perhaps via CSS in a text box

CSS is used mostly for styling the appearance of elements. Listening for keys and deciding what “action” to run would require frontend JavaScript.
