I took this ideea from somewhere else. i know it' bitchy, but i'll post here the part of text that got my atention:
[This is the server side script :
<?php
$sendTo = "postmaster@blahblahblah.com";
$subject = "Website Inquiry";
$headers = "From: " . $_POST["name"];
$headers .= "<" ...
one little issue:
can this [the response, positive or negative] come directly from the php server? I mean, coul te php file be modified in such ways, as to do that?
It's just an ideea. If it can be done, we'll do it like that. [probabely this will meean erasing th next 2 frames]
//check to see if everything went A-OK
onData = function () {
nextFrame();
if (output == 'error') {
gotoAndStop("error");
} else {
gotoAndStop("success");
}
};
I think there's something wrong here.
labels are:"error" and "succes". so it should work. But it doesn't. :(
well, 4 me it's good night. I don't know where you're from, but in Romania it's 3 o'clock. AM. I'm up since 5AM, so I worked 22 hours streight. So I have to get some sleep too. I'll get back to you with other things [this is a fact :)], but some other time. Note that the subject will be: FOR...
OK
I got the e-mail in my mailbox. Didn't move to the next frame though. WHYYYY. I'm half on the breaking point ;)
Anyway, if u lost your patience, let's leave it 4 now [I can go on, no preoblem]. The form is working, sooo.
One more thing:
Subject: Contact: sdfg
From: "sdfg"...
1
User submitted message: <br> Name: 1<br> Email: 1<br> Company: 1<br> Address: 1<br> Tel/Fax=: 1<br> Message=: 1
this is the message inthe pop up. Still not working.
yes it is.
But: [and i told u i'm not an expert] it doesn't have any behavior. Does it get it's behavior from the script of th first frame?
If so, why doesn' it send me to the next [or the third] frame? couse, when i hit submit, NOTHING happens.
try it your self, pls:
http://www.ovidiu.clax.ro...
ok
sorry.
(you wont get an email if you test on your computer)
THAT"S KINDA NEW 4 me.
i'll see how i test it
i presume that if i upload ot to the server will be ok.
:-B
ok i'm not an expert but in the code you gave me:
stop();
//actions for reset button
reset_btn.onRelease = function() {
//sets each button blank
name_txt.text = "";
company_txt.text = "";
email_txt.text = "";
address_txt.text = "";
telfax_txt.text = ""...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.