Hello,
I have 3 pages of questions and comments.
I want to be able to submit all these values on the last page to some php file then to my email.
When I try to do this, I only receive the 3rd page questions and comments to my email but the first 2 pages nothing :-/
How can I carry these values so on the third page I can submit all values thru one php and then to my email.
This is what on my php
<?php
$sendTo = "lolo@lolomedia.com";
$subject = "Optional Survey I";
$headers = "From: <" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"] . "
";
$headers .= "Content-type: text/html";
$message = "Prior to completing this orientation, would you have considered some of your e-Mail be corporate records?: $gender1
";
$message .= "
";
$message .= "Comments: " . $_POST["Smessage1"];
$message = "Are you comfortable with how to apply the e-Mail Management and Compliance policy?: $gender2
";
$message .= "
";
$message .= "Comments: " . $_POST["Smessage2"];
$message = "Will this orientation make you re-think how you use the e-Mail system at Progress Energy?: $gender3
";
$message .= "
";
$message .= "Comments: " . $_POST["Smessage3"];
mail($sendTo, $subject, $message, $headers);
?>
and this is what i have on my as on the submit action
submitBtn.onRelease=function(){
onSubmit();
}
function onSubmit() {
Smessage1 = Smessage1.text;
gender1 = genderGroup1.getValue();
Smessage2 = Smessage2.text;
gender2 = genderGroup2.getValue();
Smessage3 = Smessage3.text;
gender3 = genderGroup3.getValue();
loadVariables("radio1.php",this,"POST");
loadMovieNum("goodbye.swf",40);
}
My fla file is here… please open it to understand better my issue.
http://lolomedia.com/menu6.fla
also here is the link to my submit pages that I’m working on.
http://lolomedia.com/menu6.html
thank you very much for any advice :beam: