# Pressing Enter doesn't trigger button workflow

**URL:** <https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559>\
**Category:** Need help\
**Created:** [October 23, 2023, 2:17am UTC](https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559 "2023-10-23T02:17:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![duracel](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@duracel](https://forum.bubble.io/u/duracel)\
**Post date:** [October 23, 2023, 2:17am UTC](https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559/1 "2023-10-23T02:17:50Z")

</div>

I have the following signup form that initially only displays the email field, but if you click the signup button it displays the rest of the form:

![6a693da6876a1f0498198e673c7cd3fd](https://us1.discourse-cdn.com/bubble/original/3X/7/b/7bc3b24b2376bcf4443ae6ceaea915688d64e881.gif)

If I press enter, however, nothing happens. It only works if I click on the signup button.

Here’s how I set it up in Bubble:

![Screenshot_571](https://us1.discourse-cdn.com/bubble/original/3X/5/1/5177639fcc00c3a0c87caa1014fcfedb71ae9232.png)

 ![Screenshot_572](https://us1.discourse-cdn.com/bubble/original/3X/6/f/6f15e9762006e29ee8134dcec1f8413e43939278.png)

Basically there are 2 signup buttons, and when you click the first one, it hides it and shows the second one (along with the 3 additional fields for first/last name + password).

The first signup button sits inside “Group Email” which also contains the email field, so I would have assumed that pressing Enter after typing a legit email would trigger the workflow and display the other fields, but it doesn’t (and no, I’m not preventing pressing the “Enter” key from submitting the email field).

Any ideas on how to make this work?

Thanks

---

<div class="post-metadata">

**Author:** ![jain.nikhil21062000](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@jain.nikhil21062000](https://forum.bubble.io/u/jain.nikhil21062000)\
**Post date:** [October 23, 2023, 6:22am UTC](https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559/2 "2023-10-23T06:22:39Z")

</div>

Before pressing the Enter click on “Tab” key on keyboard to focus on the paticular button you want to click, after then press the enter button.  
If this doesn’t work reply me will figure out something else.

---

<div class="post-metadata">

**Author:** ![code-escapee](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/code-escapee/32/195485_2.png) [@code-escapee](https://forum.bubble.io/u/code-escapee)\
**Post date:** [October 23, 2023, 7:00pm UTC](https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559/3 "2023-10-23T19:00:22Z")

</div>

For starters put all fields in one group, use only one signup button, use a custom state for revealing name and password conditionally (not in WF) and set a WF action to change custom state when Signup is clicked for the first time.

---

<div class="post-metadata">

**Author:** ![duracel](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@duracel](https://forum.bubble.io/u/duracel)\
**Post date:** [October 24, 2023, 3:19am UTC](https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559/4 "2023-10-24T03:19:59Z")

</div>

Smart! Thanks @code-escapee

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [January 1, 2024, 2:18am UTC](https://forum.bubble.io/t/pressing-enter-doesnt-trigger-button-workflow/289559/5 "2024-01-01T02:18:20Z")

</div>

Closed on January 1, 2024, 2:18am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
