OKAY I HAVE THREE INPUT TEXT BOXES (name, email, comments), AND ONE DYNAMIC BOX (results). YOU GO TO THE WEBPAGE AND YOU CAN FILL IN THE FORM, AND HIT THE SUBMIT BUTTON, BUT IT JUST SAYS, "Sending Data..." AND DOESN'T DO ANYTHING. Here's the action on the "Submit" button:
on (release) {
// logical operator checks length. IndexOf checks for "@" and "." characters in e-mail
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
results = "Please check your e-mail address.";
} else if (!comments.length) {
results = "Please enter your comments.";
} else if (!name.length) {
results = "Please enter your name.";
} else {
loadVariablesNum ("http://icdweb.cc.purdue.edu/~robbinba/mailform.php", 0, "GET");
results = "Sending Data...";
}
}
hey change these
the mail variables and it will work
rest of the code is fine
here it is another code
$notify_email = "kalyanjit@yahoo.com";
$notify_subject = "Thank you for writing to us";
$notifyadmin_subject = "Feedback form submitted by $email someone";
$notify_user = " Thanks for the submission ";
$notify_from = "webmaster@becons.net ";
$notify_message = "There has been a feedback";
$notify_visitormessage = "Thanks for write to us. We will get back to you at the earliest. Hoping of a long term business relationship with your organisation.";
mail($notify_email, "Thanks for filling the feedback form", "Thank You, $name for contacting us. Here is the information we recieved :\n
\nName : $name
\nEmail : $email