How do I get my contact form to work? I have three HTML text boxes (Name, Address, Phone). I want to code my send button to have the values in the textboxes sent to my email. Can someone please help me.
thank you
Printable View
How do I get my contact form to work? I have three HTML text boxes (Name, Address, Phone). I want to code my send button to have the values in the textboxes sent to my email. Can someone please help me.
thank you
There are several examples of this in the KoolExchange
How do I find these examples in KoolExchange? And is KoolExchange a forum?
Never mind. Please disregard my last reply. I clicked on your link to KoolExchange ... dummy me ... Thank youQuote:
Originally Posted by blanius
No Problem. If you download mine and have any questions post them here.
I had problems with the code from the "Email form with error checking" script. The return message read "&Answer=message sent" It didn't show me the HTML return page after the message was sent. I don't know what I'm doing wrong. Also, I couldn't open the KoolMoves movie because I'm running version 4.3.1. So in my flash movie behind the send button, I'm using the properties dialog box with the following properties:Quote:
Originally Posted by blanius
Action = Send form data on release
URL = http://www.talytech.com/jjhsuhs.php
URL target = _self
Send using = POST
You seriously need to upgrade.Quote:
Originally Posted by talytech
hmm.. The conact form should not change your HTML page like a HTML form would. The response looks right to me and the from it's in is to set a variable in the flash file. The form is a complete thing in it'self.
Also if you couldn't open the .fun file how are you using it?
I didn't use it. that's the problem probably. I set up the PHP script and used my version of Koolmoves.
You can do it in that version. But it sounds like you are mixing a Flash form with HTML form actions... That's not the way to do it. You place the contact flash movie on the page but NOT IN A FORM. The flash will send it to the PHP from within the flash movie and handle the response from the PHP to display the status.
I don't know what it is but this is what I have: Using KoolMoves, I have 2 key frames. On the first frame I have 3 dynamic text boxes and a send button. The text boxes are named: (name,phone,email). On the second frame I have a label that reads: "Thanks for your information" and a link to go back to the previous frame. Both frames have a stop action. Behind the send button is : Send form data on release action; URL = http://www.talytech.com/jjhsuhs.php; Send using POST method.Quote:
Originally Posted by blanius
well I tested it and it at least sends the email....
The problem is with the actionscript. The PHP code if it's the one I wrote (which I suspect it is) then it was written for loadVariables, even with that you might consider using this actionscript instead of the built in function..
on(release){
loadVariables("jjhsuhs.php","POST");
}
ok thank you ... I'll try that instead of the Send data ..... funtion and let you know if it works ..... thanks again for your expert advice