Greetings!
I have a small issue with my code… basically I have a contact form…(using the kirupa form tutorial) and I want AS to check if the “email” variable has a value when I press my “submit” button.
If it does then it should do the php post and goto the next frame.
This is what I have so far:
on (release) {
if (cform.email = "") {
cform.email = "Please enter your Email Address!";
} else {
cform.loadVariables("contact.php","POST");
}
this.nextFrame();
}
Currently when I press submit it just goes to the next frame and sends the mail.
Any help would be so appreciated!
Thanks in advance!