What am I missing to make a comment form?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • barry Callahan
    New Member
    • Nov 2010
    • 1

    What am I missing to make a comment form?

    Hello.
    Recently I decided to add a contact section to my site.
    I have added a form with text areas and submit button, but cannot seem to figure out how to make it work / send the data. I would like it all to be sent directly to my email without being a hyperlink.

    Can someone help me? What is my missing ingredient(s)?
    This is what I have so far...
    http://araisedbanner.c om/contact.htm

    Thanks
    B
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    just drop that javascript function and use the form action like:
    Code:
    <form action="mailto:foo@bar.com">
    that should open the user's standard email client ... if you want to mail it directly without that ... then use a regular post to the webserver and a script that sends you the data from there to your email account ... you might even use one of the free form-mailer-services out there in the web ...

    here you might get some ideas ...
    Last edited by gits; Nov 26 '10, 06:40 PM.

    Comment

    • johny10151981
      Top Contributor
      • Jan 2010
      • 1059

      #3
      You can do what gits says. or also you can think about working with AJAX work with in that case you wont get email from his email address directly

      Comment

      Working...