it works well, but if u dont put any text, the form send u to the thanks message. And the tab key doesn
t workit 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…