Hey guys having another confusing problem
on my email php form which works fine - once the user sends the email it goes to the next frame - I need to be able to stop this
as everythings works fine when the user send me one email from my site:
however if they try and send me another email and click send without refreshing the page then they see the next frame of the animation…I need to stop this so that they can send as many emails as they want without seeing the next frame
Hope somebody can help me with this
the code I am using for the send button is:
on (release) {
if(form.name_txt.text != “” &&
form.email_txt.text != “” &&
form.body_txt.text != “”)
{
form.loadVariables(“email.php”, “POST”);
{
form.name_txt.text = “”;
form.email_txt.text="";
form.body_txt.text="";
}
error_txt.text = “message sent”;
} else {
error_txt.text = “* = required field”;
}
}
I’ve tried adding stop commands but I can’t seem to get it to work like that
Dips