Skip to main content
Inspiring
April 20, 2006
Answered

Form Stopped Sending Emails

  • April 20, 2006
  • 5 replies
  • 448 views
Hi all I am fairly new to Flash so bear with me. I have been learning Flash and on a whim thought downloading a template to do a small project for a client would help me learn some more. We it did! It helped me to learn all the wrong ways to to things. Well, not wrong but seemingly WAY outdated ways. Anyway, I managed to get the contact/form page running yesterday with VERY simple script to get it running until I could go back and add more later. I uploaded it and the PHP file and was so happy I had finally made it work I received emails with everything intact and information passed from PHP to me via email. YAY! Then went in to change a few things on the page and now the form doesn't work at all. The code and form worked so I am guessing it's something I did on the FLA that has it wacky. If someone would let me know how to upload that "cause it's a crappy HUGE template FLA I will do that as well.
This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer MultiMedia13
Sigh, well thanks Flex for all your help! I found that I was correct in my coding (which now I am going to add some more) but the silly template had two other instances of my submit button floating in the layer and as soon as I named them "submit_btn" it works like a charm!
Thanks again for your help!

5 replies

Inspiring
April 20, 2006
Just something like

trace("made it here.");

All it does is print a message in the output window so that you know you've made it to that point in the code. If you don't see that message you'll know that your button code isn't being executed.
Inspiring
April 20, 2006
Flex,
Wow, neat! I can see where tracing could REALLY come in handy. Ok, I did "make it there" so I guess that means my swf is getting to my button. But when I try online it seems it doesn't. Yesterday if I hit the send button it would register bellow on the browser something like "transfering data from..." and I would check my email and have a completed form.
MultiMedia13AuthorCorrect answer
Inspiring
April 20, 2006
Sigh, well thanks Flex for all your help! I found that I was correct in my coding (which now I am going to add some more) but the silly template had two other instances of my submit button floating in the layer and as soon as I named them "submit_btn" it works like a charm!
Thanks again for your help!
Inspiring
April 20, 2006
The code looks ok to me... are you sure you are getting to the sendAndLoad() code? Can you put a trace statement before that line to make sure?
Inspiring
April 20, 2006
I can sure try would I use
trace(sendAndLoad)?
Sorry tracing is completely new to me.