So I have been working on a project for a while and have been trying for days to get the form to work. Nothing is working and I have several questions. The form has 6 input text boxes (name, email, town, year, model, color)

every reference or tutorial has given me too many answers and nothing works. wish I could just have somebody write it for me so I can copy/paste or a step by step as most of the tutorial and guides are over my head.

So here are the questions.

1. Do the input text field need to be on a special layer with all ver name to each box. ( right now my layers are from top to bottom a. actions b. buttons c. elements d. backgrounds)

2. Do input fields need to be made into a movie.

3. The Submit button, does it need to be on the same layer as input text.

4. Is this the correct script for the button. I have a thank you message after you submit.

--------------------------------------------------

on (release) {
if (name eq "" or email eq "" or town eq "" or year eq "" or model eq "" or color eq "") {
stop();
} else {
loadVariablesNum("email3.php", 0, "POST");
gotoAndStop(2);
}
}

-----------------------------------------------------

5. my PHP file code, I have no idea how to do this but found some templates and changed them around to what I thought looked correct. Is this correct?

-------------------------------------------------------

<?php
$sendTo = "[email protected]";
$email = "<".$_POST['email'].">";
$subject = "Mega Meet Registration";
$msg = "Name: " . $_POST["name"] . "\r\n";
$msg .= "Email: " . $_POST["email"] . "\r\n";
$msg .= "Town: " . $_POST["town"] . "\r\n";
$msg .= "Year: " . $_POST["year"] . "\r\n";
$msg .= "Color: " . $_POST["color"] . "\r\n";
mail($sendTo, $subject, $msg, "From: ".$email);
?>

--------------------------------------------------------------

The other code for the PHP I did was:

--------------------------------------------------------------

<?
$sendTo = "[email protected]";
$subject = "Mega Meet Registration.";
$ip = $_SERVER['REMOTE_ADDR'];
$headers .= "From: " . $_POST["name"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$msg = "Name: " . $_POST["name"] . "\r\n";
$msg .= "Email: " . $_POST["email"] . "\r\n";
$msg .= "Town: " . $_POST["town"] . "\r\n";
$msg .= "Year: " . $_POST["year"] . "\r\n";
$msg .= "Color: " . $_POST["color"] . "\r\n";
mail($sendTo, $subject, $msg, $headers);
?>

-------------------------------------------------------------

Can anybody help and tell me how to create and code this as im ready to throw my computer out the window im so frustrated.

When I did a test, the submit button was present but none of the input text boxes were even visible, could be a layer thing . . . just dont know.

I just got Flash CS3 so I might just install that and use a tutorial as it seems easier but I hate updating software in the middle of a project incase something goes wrong.