sending via Flash, ASP and Godaddy
Hey, I stumbled across this thread in my own search for help with those GD forms! But the site I'm working on has to use ASP, I had a friend write another script the site uses, and I'm a complete ASP idiot (by choice!) and need to use the basic Godaddy ASP mail form.
The site has an email form in Flash MX, published as v.7. Using the basic Godaddy hosting package. What I did was this:
My form is in a MC on the main timeline. Within that MC, set your input text boxes and give them var names as per usual. On the form's "send" button, add the code:
loadVariablesNum("gdform.asp", 0, "POST");
I haven't gotten to any advanced stuff, like when the data is actually posted, post a "success" frame or anything like that. That's next!
Now... on the html page that your swf is embedded in, add the following form tag anywhere within the <body> tags:
<form method="post" action="gdform.asp"></form>
(You don't have to do this, but without it, ALL of the variables and HTML code on the page get posted to the form)
Finally, make sure you have set up the designated email address in the Godaddy control panel, it's under the "Form Mail" option in the "content" tab. Without that, you can't send any forms on the site.
As per the other threads, it does take a bit for the form to actually arrive in an inbox, on our site hotmail account, it wasn't more than 2 minutes or so.
I really hope this helps someone... I don't usually post answers to FlashKit, only questions! :) Oh and here's the site (form still under construction) but check it out if you like!
http://www.nashville1021.com