# E-mail flash form problem

**URL:** <https://forum.kirupa.com/t/e-mail-flash-form-problem/134739>\
**Category:** Uncategorized\
**Created:** [January 21, 2005, 12:05am UTC](https://forum.kirupa.com/t/e-mail-flash-form-problem/134739 "2005-01-21T00:05:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darthnacho](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/darthnacho/32/762_2.png) [@darthnacho](https://forum.kirupa.com/u/darthnacho)\
**Post date:** [January 21, 2005, 12:05am UTC](https://forum.kirupa.com/t/e-mail-flash-form-problem/134739/1 "2005-01-21T00:05:05Z")

</div>

it works well, but if u don`t put any text, the form send u to the thanks message. And the tab key doesn`t work`it suposse to do nothing if u don`t fill the input text

HELP!!!

i use 2 frames

frame 1:  
stop();  
function lineAdapt() {  
message\_send = message;  
while (msg\_count\<length(message)) {  
msg\_count = msg\_count+1;  
if ((substring(message\_send, msg\_count, 2)) eq “\r”) {  
message\_send = (substring(message\_send, 1, msg\_count-2)) add "  
" add (substring(message\_send, msg\_count+2, (length(message\_send))-msg\_count+2));  
}  
}  
message = message\_send;  
delete msg\_count;  
delete message\_send;  
}

frme 2: stop(); \_ in frame 2 is the thanks message

send button:  
on (release, keyPress “\<Enter\>”) {  
if (subject eq “” or message eq “” or from eq “”) {  
stop();  
} else {  
lineAdapt();  
loadVariablesNum(“mail.php3”, 0, “POST”);  
gotoAndStop(2);  
}  
}

i don`t know what is happening. It seems all right to me…
