Let me refer back to my previous statement, i’m a n00b, I need help coding, as I have no idea…
Sorry dude let me try and help a little…
You will need to make your form with dynamic text boxes. In the property inspector give them the variable names that the form requests. Add as many as are are neccssary, to make it look like the html version, except instead of using a form field you just make the dynamic boxes giving them the same variable name as the input fields. I don’t know for sure about the hidden fields, you may need to make dynamic text boxes and fill them in with the field information and just place something over them to hide them, or make them really small or maybe even place them off stage. Then make a dynamic text box and name it “EmailStatus”, this will give feedback for the validation. Then make a submit button and attach the following code to it, look for the comment area about the URL that is where you will put the URL of the formMail script, it is just like in the html version of the form where it says action=. See if you can get that to work, if that is all of the variables the formMail script uses that you listed in your previous post then the code markup I made should work.
//This part will check for validity
on (release) {
if (!email.length || recipient.indexOf("@") == -1 || email.indexOf(".") == -1) {
EmailStatus = "Enter valid email";
}
else if (!realname.length) {
EmailStatus = "Enter Name";
}
else if (!comments.length) {
EmailStatus = "Please fill comments";
}
else {
//first try this method, where it says the URL put the URL to the formMail script
loadVariablesNum ("http://www.smorgyporf.com/cgi-bin/mail.pl", "0", "Post");
EmailStatus = "Sending... Please be patient...";
}
}
Your form should look inda like this one I made http://www.decisionhome.com/contact.htm
Wow, thanx 4 helping, I’m 2 tired to try it now, but u’ve helped so much… I wanna jump through ur screen and give you a big sloppy pie. I like pie. Thanks.