Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Submit Button

  1. #1
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Submit Button

    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.
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    626
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you.
    http://www.mudsplat.com - Web design, print, and marketing solutions.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •