# Login box - \<Enter\>?

**URL:** <https://forum.kirupa.com/t/login-box-enter/180021>\
**Category:** Uncategorized\
**Created:** [February 24, 2006, 7:02pm UTC](https://forum.kirupa.com/t/login-box-enter/180021 "2006-02-24T19:02:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deland01](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@deland01](https://forum.kirupa.com/u/deland01)\
**Post date:** [February 24, 2006, 7:02pm UTC](https://forum.kirupa.com/t/login-box-enter/180021/1 "2006-02-24T19:02:07Z")

</div>

Does anyone know how to set a text box so when you enter data & then pres return it returns a command.

e.g.

I have a x2 Input text boxes, one for the username (single line type) & another for the password (in password type). They are both situated in an Mc. When I enter the dater & press \<Enter\> I want this to send a play(); command up one level.

Any ideas how I can do this?
