www.webdeveloper.com
Results 1 to 8 of 8

Thread: [RESOLVED] Help with a simple form......please

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    3

    resolved [RESOLVED] Help with a simple form......please

    ok so I am an utter novice at this....please dont mock me!

    ok so here it is, I used the steps of this site to create a form that will send a users email address to my email account so I can start to accrue them and send out newsletters...

    here's the code I used:

    <FORM METHOD="POST"target="mailto:alexander@xxxxxxxxxxxxxxx.com"><INPUT TYPE="text" NAME="emailaddress" SIZE="20"><INPUT TYPE="submit"></FORM>

    just as instructedhttp://www.htmlgoodies.com/tutorials...le.php/3479121.

    When I tested it out and entered my email address into the field and hit the submit button, my email application opened up....this is not what I want.

    I just want a simple text field that a user can submit his/her email address through the site with just one step to my email account. Can you please help.

    Thanks in advance.
    Last edited by TheBearMay; 03-14-2009 at 05:12 PM. Reason: remove email address

  2. #2
    Join Date
    Mar 2009
    Posts
    3

    Unhappy Help with a simple form......please

    DID NOT MEAN TO REPOST....just went back in my browser window....understand the novice thing now?



    ok so I am an utter novice at this....please dont mock me!

    ok so here it is, I used the steps of this site to create a form that will send a users email address to my email account so I can start to accrue them and send out newsletters...

    here's the code I used:

    <FORM METHOD="POST"target="mailto:alexander@xxxxxxxx.com"><INPUT TYPE="text" NAME="emailaddress" SIZE="20"><INPUT TYPE="submit"></FORM>

    just as instructedhttp://www.htmlgoodies.com/tutorials...le.php/3479121.

    When I tested it out and entered my email address into the field and hit the submit button, my email application opened up....this is not what I want.

    I just want a simple text field that a user can submit his/her email address to my email account. Can you please help.

    Thanks in advance.
    Last edited by TheBearMay; 03-14-2009 at 07:18 AM. Reason: email address removed

  3. #3
    Join Date
    Nov 2003
    Location
    Worthington, OH, USA
    Posts
    3,634
    It can be done, but... you'll need a programming language on the server.
    54 68 65 42 65 61 72 4D 61 79

  4. #4
    Join Date
    Feb 2008
    Posts
    87
    ok well ive never seen that done, but its action not target, see example below

    HTML Code:
    <form action="mailto:alexander@xxxxxxxx.com" method="post">
       <input type="text" name="emailaddress" size="20">
       <input type="submit">
    </form>

  5. #5
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    And stay away from HTML Goodies, they have a well earned reputation for incorrect, incomplete and misleading information.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  6. #6
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    If you don't want the email client opening, then you will have to use a 3rd party form or install a server side script.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  7. #7
    Join Date
    Mar 2009
    Location
    Liverpool
    Posts
    2
    Hello, First post Woohoo!!!

    Anyways....goto: http://www.emailmeform.com/

    You'll find everything you need to know.

    You've got the concept right, but you need a little piece of PHP or something to actually send the mail, you'll have difficulty trying to open an endusers' mail client...what if they use hotmail or something? :-)

    Hope this helps.

  8. #8
    Join Date
    Mar 2009
    Posts
    3
    thank you so much, that was an instant success!!!!

    you just saved me so much time!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles