Hello, I'm not a web designer so forgive me this stupid question: What is the easiest way to implement a contact form on a static html site? I googled this and found so much info it was overwhelming. I just need something simple and easy. Thanks for any suggestions!
Hello Camus, nice glasses , so you have two choices: 1) use "mailto:" as form target this way: This method forces the email client (e.g. Outlook) to send this email 2) Using PHP or ASP (programming languages running on the server) much better way look at examples: http://www.ibdhost.com/contact/ http://formtoemail.com/
Use nvform (PHP) - http://scripts.ringsworld.com/form-processors/phpnovice1-1/nvform.php.html Create the html form and in the form action make a link to the PHP file e.g. <form action="nvform.php">......</form> Code (markup):
Option 1 is the easiest but is subject to someone then hitting send and will only work if they use certain email clients, i they use webmail it wont work as well as some things like older versions of lotus notes doesnt support mailto:
you can use a form in an html page but post the form results to a php processing script which will send the form results to your email. do a search, I think someone posted this php script here somewhere but it is not too hard to find.
There's a reason why I constantly recommend these two. http://www.dustindiaz.com/ajax-contact-form/ http://green-beast.com/blog/?page_id=71
Dan, Thanks a mil - I used the php form from the green-beast site - it took me a while to get it looking right because I stink so bad at CSS - but after two hours I had a perfect contact form. Rep given! Cheers