# Flash email form - Enter Key?

**URL:** <https://forum.kirupa.com/t/flash-email-form-enter-key/230699>\
**Category:** flash\
**Created:** [June 28, 2007, 10:45am UTC](https://forum.kirupa.com/t/flash-email-form-enter-key/230699 "2007-06-28T10:45:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommyb](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@tommyb](https://forum.kirupa.com/u/tommyb)\
**Post date:** [June 28, 2007, 10:45am UTC](https://forum.kirupa.com/t/flash-email-form-enter-key/230699/1 "2007-06-28T10:45:52Z")

</div>

Hey

I used this tutoiral - [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

I modified it so it just has one text box and the send button, it works fine, I get the email. (I’m using it so people can subscribe to a mailing list, so I just want their email address)

But when using the text box - pressing enter on the keyboard does nothing. This isn’t very user friendly, Any ideas?

the code on the text box looks like this:

onClipEvent(data){  
// show welcome screen  
\_root.nextFrame();  
}

and the code on the send button looks like this:  
on (release) {  
// send variables in form movieclip (the textfields)  
// to email PHP page which will send the mail  
form.loadVariables(“email.php”, “POST”);  
}
