# Pressing Enter on the Keyboard

**URL:** <https://forum.kirupa.com/t/pressing-enter-on-the-keyboard/330921>\
**Category:** flash\
**Created:** [April 8, 2013, 6:50pm UTC](https://forum.kirupa.com/t/pressing-enter-on-the-keyboard/330921 "2013-04-08T18:50:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![actionscriptfan](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@actionscriptfan](https://forum.kirupa.com/u/actionscriptfan)\
**Post date:** [April 8, 2013, 6:50pm UTC](https://forum.kirupa.com/t/pressing-enter-on-the-keyboard/330921/1 "2013-04-08T18:50:17Z")

</div>

Hello, I have build a login form using two TextInput fileds for username and password. I have already created a button which was straightforward. I want the user to have the option of pressing Enter on the keyboard to log in and not click on the button. How do I do that ? Many thanks
