Need Contact Form Help
# August 7, 2009 at 12:38 pm
I’m not sure if this is the right place as this isn’t php but I am doing the following form in html that when I hit submit needs to out put to an email. Right now I just have Quarterbacks but I will have Running backs etc. I get this in my email when I select 4 Quarterbacks:
Also, the above info. just pops up this and an email box to send to my email account and doesn’t just automatically send.
How do I make this data come automatically to my email and how do I make it more clear the output between each player position. Thanks for any help or if you can point me in the right direction.
Here is the html:
<form method="post" action="mailto:email@example.com"> Please select 4
<TD> <INPUT TYPE=CHECKBOX NAME="Drew Brees">
1 Drew Brees NO</TD>
<TD><INPUT TYPE=CHECKBOX NAME="Peyton Manning">
2 Peyton Manning IND </TD>
<TD><INPUT TYPE=CHECKBOX NAME="Tom Brady">
3 Tom Brady NE </TD>
<TD><INPUT TYPE=CHECKBOX NAME="Philip Rivers">
4 Philip Rivers SD</TD>
<TD><INPUT TYPE=CHECKBOX NAME="Aaron Rodgers">
5 Aaron Rodgers GB</TD>
<TD><INPUT TYPE=CHECKBOX NAME="Kurt Warner">
6 Kurt Warner ARI</TD>
<input type="submit" value="Submit"> </form># August 7, 2009 at 1:19 pm
Unfortunately, it isn’t as easy as specifying an email address in the action field of the form. You’ll need to use some PHP to get the form data, process it, and then send the email using PHP’s mail() command.
Chris has some screencasts:
— Creating a contact form: http://css-tricks.com/video-screencasts … tact-form/ (I’d suggest watching this one first — it’ll help you with the basics.)
— Sending html email: http://css-tricks.com/video-screencasts … tml-email/
— Using Woofoo for web forms: http://css-tricks.com/video-screencasts … web-forms/
You must be logged in to reply to this topic.