View Full Version : Submit Button
ionsurge
09-13-2002, 03:22 PM
How do I exactly code the submit button in a form, so that it sends the information to my email address?
Like in contact forms.
Can someone direct me through this, or provide a url.
Thank you in advance.
requestcode
09-13-2002, 05:10 PM
You would set up your form tag like so:
<FORM NAME="myform" METHOD="post" ACTION="mailto:email@me.com" ENCTYPE="text/plain">
Then your submit button would be the normal syntax:
<INPUT TYPE="submit" VALUE="Submit Form">
Just make sure that your email address is in the ACTION property of your form tag. This mehtod also relies on the Mail Client (outlook,etc) for the browser being set up correctly. Most people don't and that is why using a CGI to send form contents is preferable. Good Luck.
ionsurge
09-13-2002, 05:43 PM
Thank you.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.