Skip to main content
Participant
June 14, 2006
Answered

submitting a Flash Form to email address

I've created a lovely Flash Form that looks beautiful but I need to be able to send the values of the fields or a copy of the completed form to an email address when the user clicks the submit button. Can anyone point me to a tutorial or provide assistance. I've been looking for hours.
This is my form tag....
<cfform method="post" action="mailto:name@company.com" name="contactTJG" preservedata="yes" preloader="true" format="flash" height="400" width="500" skin="halosilver" timeout="10">
This is my submit button tag....
<cfinput type="submit" name="BtnSubmit" value="Submit">
I feel like I'm missing a piece which will collect the fields and then a function to make the button work but I have no idea how to go about doing it.
Thanks,
    This topic is closed to new replies. Start a new post to keep the conversation going.
    Ruby_PenaCorrect answer
    Participant
    June 15, 2006
    Thank you. It works.

    Of course now they have decided to store the responses in a database. LOL.

    Thanks!!

    2 replies

    Inspiring
    June 15, 2006
    You can do this in 3 ways

    1. Create an actionscript function that calls a cfc through flash remoting. The cfc would then send the email

    2. Create an action page the form is submitted to. The action page would then send the email.

    3. Use actionscript getURL("mailto:you@somedomain.com");

    Ken
    Translate
    Ruby_PenaAuthorCorrect answer
    Participant
    June 15, 2006
    Thank you. It works.

    Of course now they have decided to store the responses in a database. LOL.

    Thanks!!
    Translate