hello everyone!!
Regarding the following code, (which is applied to a “submit” button),
what code can i add so the email address will be validated. so a person filling the form has to at least provide an @ in the text box???
on (release) {
if (Name eq “”) {
_root.Status = “Please enter your name”;
} else if (Email eq “”) {
_root.Status = “Please enter valid email Address”;
} else {
Submit = “Yes”;
NumHigh = 10;
NumLow = 0;
_root.GuestBook = "Processing… Loading New… ";
loadVariablesNum(“form.php”, 0, “POST”);
_root.Status = “Your entry has been submitted.”;
Name = “”;
Email = “”;
Website = “”;
Comments = “”;
gotoAndPlay(2);
}
}
thanks for all the help!!!
s.t.