Im a complete noob but was wondering how to make a form so that when a person clicks on "sumbmit" the information is emailed to me, thanks.
A very basic way to do it would be:Some browsers might not support though!! <form action="mailto:n00b@n00b.com" method="POST" enctype="text/plain"><br> Your first name: <input type="text" size="15" maxlength="25"><br> <p><input type="submit" value="Submit Info!"></p> </form>
Honestly, you should do it using PHP. Otherwise, your form will open up their default email software. And lets be honest, the majority of people these days seem to use web-based email systems and those can not be used to send the form and it won't work properly. Someone can make a rather simple form here, including me, for about $10.00 and help you set it up.
Yes, the html style is quite old, and Php would work rather well. I have several scripts in my archives that I wrote that does this same function, and wrote one for someone on another forum that did exactly this. Dr Small
Agree that it should be done serverside, though with .Net rather than PHP Other than AOL users which are obviously a bit of an exception, I dont know anyone that uses web based emails. What is your evidence to say the majority now use webmail?
Bah, I use Lycos mail so I can access my mail whether I'm in the US or Europe without any hassle. Anyone who travels on business has at least considered having one. Your computer puked? No problem. Unfortunately many clients dunno that if they hold the mouse over the mailto link they can see the address at the bottom of their browsers-- that's how I deal with mailto links. It took me a hot second to convince one of the sitebuilders here at our company to have both the mailto option and a contact-page with Submit button options available. Plenty of our clients have work-server-based and hotmail accounts.
I travel on business a lot but both have a laptop and a PDA/ Blackberry type toy so no need to use webmail though do have the facility should I either forget both or have some other issue - I wasnt saying that people dont use webmail just questioning the fact it is the majority.
I do use Outlook here at work, but I have seen an abudance of people using gmail, hotmail, and yahoo over the years. Rarely do I see people use their ISP email addresses.
If you're going to use PHP for the back-end, check out these two scripts: http://www.dustindiaz.com/ajax-contact-form/ http://green-beast.com/blog/?page_id=71