I have a page set up to volunteer to a political campaign. Everything works except the submit button. How do I code the submit button so it forwards to an email address?
what just simply? If so Or along those lines, you know what info you want to see in your subject line in your inbox so write that
A mailto tag will run the user's email program to send the email. If you want the information on the form emailed directly, submit to a PHP file and use the mail() function to send the data from the form to you. There are thousands of examples on the web.
I think what everyone is asking is, when you click "submit" is this at the end of a form or not? If it is at the end of a form, then the code to send an email is in your PHP. If this is just a "button" with anchor tags, you can use "mailto:..."
<a href="mailto:homer@example.com"><button type="button">Send</button></a> I hope this code can help.