;

PDA

Click to See Complete Forum and Search --> : Contact Form


talytech
11-01-2007, 01:18 PM
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

blanius
11-01-2007, 01:24 PM
There are several examples of this in the KoolExchange (http://koolexchange.com)

talytech
11-01-2007, 05:33 PM
How do I find these examples in KoolExchange? And is KoolExchange a forum?

talytech
11-01-2007, 05:35 PM
There are several examples of this in the KoolExchange (http://koolexchange.com)
Never mind. Please disregard my last reply. I clicked on your link to KoolExchange ... dummy me ... Thank you

blanius
11-01-2007, 07:04 PM
No Problem. If you download mine and have any questions post them here.

talytech
11-04-2007, 10:05 AM
There are several examples of this in the KoolExchange (http://koolexchange.com)

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:

Action = Send form data on release
URL = http://www.talytech.com/jjhsuhs.php
URL target = _self
Send using = POST

Stoke Laurie
11-04-2007, 10:58 AM
I'm running version 4.3.1.
You seriously need to upgrade.

blanius
11-05-2007, 10:24 AM
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?

talytech
11-12-2007, 02:09 PM
I didn't use it. that's the problem probably. I set up the PHP script and used my version of Koolmoves.

blanius
11-12-2007, 07:26 PM
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.

talytech
11-12-2007, 11:57 PM
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.

blanius
11-13-2007, 09:04 AM
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");
}

talytech
11-13-2007, 11:56 AM
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