# Desktop login after pressing \<enter\>

**URL:** <https://community.tradovate.com/t/desktop-login-after-pressing-enter/541>\
**Category:** Trader Desktop\
**Created:** [July 21, 2020, 8:38pm UTC](https://community.tradovate.com/t/desktop-login-after-pressing-enter/541 "2020-07-21T20:38:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Miller](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@Paul\_Miller](https://community.tradovate.com/u/Paul_Miller)\
**Post date:** [July 21, 2020, 8:38pm UTC](https://community.tradovate.com/t/desktop-login-after-pressing-enter/541/1 "2020-07-21T20:38:24Z")

</div>

I’m nitpicking here I know, but…

I would love to just press after entering my password to log in, instead of having to move my mouse over the green Login screen and click the green button.

(Referring to downloaded desktop Trader app)

Thanks.

---

<div class="post-metadata">

**Author:** ![MadCat](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/madcat/32/1416_2.png) [@MadCat](https://community.tradovate.com/u/MadCat)\
**Post date:** [July 21, 2020, 10:15pm UTC](https://community.tradovate.com/t/desktop-login-after-pressing-enter/541/2 "2020-07-21T22:15:23Z")

</div>

I 2nd this request, it is very annoying to me when i hit “Enter” and nothing happens.

The “log in” feels like it was designed to be used on a “touch screen” device and not a desktop computer.

 ![Screen Shot 2020-07-21 at 3.13.25 PM](https://us1.discourse-cdn.com/flex015/uploads/tradingforum/original/1X/231094907f0231675b4303ea86f196e5d3ccef9c.png)

thanks

---

<div class="post-metadata">

**Author:** ![ccresz](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@ccresz](https://community.tradovate.com/u/ccresz)\
**Post date:** [February 23, 2021, 5:47pm UTC](https://community.tradovate.com/t/desktop-login-after-pressing-enter/541/3 "2021-02-23T17:47:51Z")

</div>

I just saw this gained a bunch of votes today out of the blue, why did you guys had to make me aware of this, now I feel the pain each time I log in.

---

<div class="post-metadata">

**Author:** ![ccresz](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@ccresz](https://community.tradovate.com/u/ccresz)\
**Post date:** [May 13, 2021, 3:06pm UTC](https://community.tradovate.com/t/desktop-login-after-pressing-enter/541/4 "2021-05-13T15:06:03Z")

</div>

Hey I did it: just tested by editing the code on the console of my browser, this is what you guys need to do:

```
// Get the input field (you need to add id="password_field" to the password input on the html
var input = document.getElementById("password_field");

// Execute a function when the user releases a key on the keyboard
input.addEventListener("keyup", function(event) {
  // Number 13 is the "Enter" key on the keyboard
  if (event.keyCode === 13) {
    // Cancel the default action, if needed
    event.preventDefault();
    // you need to add id="login_button" to the button element on the html
    // Trigger the button element with a click
    document.getElementById("login_button").click();
  }
});

```

![](https://us1.discourse-cdn.com/flex015/uploads/tradingforum/original/2X/2/2fe7f879c162da369cae3002971b7c6495ec8ca4.gif)
