Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting a mailform to work

Status
Not open for further replies.

CMD83

Technical User
Joined
Nov 11, 2002
Messages
68
Location
NL
Hi

I did this tutorial, but it doesn't work and I'm pretty much done quessing what I did wrong.

Any help would be really much appreciated.

the tutorial:

sum up what it does:
it names the input texts with variables

submit button looks like this:

on (release) {
recipient = "e@mail.adres";
user = "title of mail";
loadVariablesNum("urlofmailform", 0, "GET");
gotoAndPlay("kthnxbye");
}

they use a mailform.pl and I use another, I did change the titles to the mailform I use (example; recipient is user in my case)

any idea what goes wrong?
(also I never call back to those inputfield variables or am I not suppose to?)



-----
I'm unique, just like everyone else...
 
nevermind fixed it another way
(btw on the example above user should be subject)

for people interested:


submit button:

on (release) {
gotoAndPlay("kthnxbye");
}

keyframe form:
recipient = "e@mail.adres";
subject = "title of mail";
link = "stop();

keyframe kthnxbye:
getURL("urlofmailform", "_blank", "POST");
stop();

you will have to make the pop-up sentsuccesfull.html
(i put an auto close in it which closes the popup after 5 seconds)

include this is the head of the html:
<SCRIPT>
setTimeout("self.close()", 5000 ) // after 5 seconds
</SCRIPT>

(note: you could also close it right away, but most browsers tell the user it is closing automaticly)


-----
I'm unique, just like everyone else...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top