Posted: Fri Aug 18, 2006 9:22 pm
Nope, can't be done from the button. Go find the place that does the wacky stuff.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
This is what you are doing.. correct me if I am wrong:train wrote:This form is submitted when the button is pressed. But I also want to send an email out here based on variables in the form. I can only be sure the fields are filled out when the submit button is pushed... and when it is, I want to do some emails.Everah wrote:Code to the submit botton? Please clarify. For the record, you are not adding code to any part of the HTML. You are outputting HTML to the form. Which you can do the same thing for a button.
Thanks...
Yes, though right now all that happens isEverah wrote:This is what you are doing.. correct me if I am wrong:train wrote:This form is submitted when the button is pressed. But I also want to send an email out here based on variables in the form. I can only be sure the fields are filled out when the submit button is pushed... and when it is, I want to do some emails.Everah wrote:Code to the submit botton? Please clarify. For the record, you are not adding code to any part of the HTML. You are outputting HTML to the form. Which you can do the same thing for a button.
Thanks...
1. user fills out form
2. user hits submit button
3. script processes sent information
4. script sends an email of the information
5. everyone is fat and happy
Is this what you are doing?