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 2 of 2

Thread: Form Question

  1. #1
    New Coder
    Join Date
    May 2012
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form Question

    When you it submit it brings up the email, I want it to automatically submit that message to the email listed below, not bring up an email box.... help?

    <form name="feedback" method="post" action="mailto:cozumelclan@yahoo.com">
    First & Last Name<input type="text" name="mail" size="25">
    <p>Email Address<input type="text" name="mail" size="25"></p>
    <p>Comment<textarea cols="50" rows="4" name="comment"></textarea></p>
    <p><input type="submit" action="mailto:cozumelclan@yahoo.com" value="Submit"></p>
    </form>

  • #2
    Regular Coder
    Join Date
    Apr 2012
    Posts
    165
    Thanks
    1
    Thanked 39 Times in 39 Posts
    You need a form handler script. Most hosting plans come with one pre-installed (or you can activate it). If you do have one already, the form "action" should point to the handler script, not a mailto request. Then, just customize the settings within the form handler to set up any/all parameters necessary.

    If you don't have one, just google for form handler script and you'll find a ton of results.


  •  

    Posting Permissions

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