Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AFPoster

macrumors 68000
Original poster
Jul 14, 2008
1,547
141
Charlotte, NC
I made a form with a Submit button at the bottom (pic attached). When clicking the submit button I'd like it to send all the content filled in the form to my email address. How would I go about coding this?
 

Attachments

  • 2011-05-05_09-03-07.png
    2011-05-05_09-03-07.png
    29.5 KB · Views: 144

dkotter

macrumors member
Jul 30, 2009
57
0
The easiest thing to do would be to follow the code found here, which uses mailto as the form action. Now I will say that you shouldn't use this method, if at all possible. It could work, but there are a lot of issues with it.

You're better of building something in say PHP that the form submits to and it will process the information, validate it, and then email it to you. There are plenty of tutorials out there, but here is on I just found that might help you out.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.