Hi, guys, As you are about to realize, I know nothing whatsoever about web construction. Please bear with me, therefore, as I try to explain my problem, for which I would appreciate some help. I have added a simple form to one of my web pages. The purpose of the form is to collect recommendations for a survey I am conducting. When people fill in the fields and click "Send", the information they provide is supposed to be e-mailed to me. The form looks fine and validates under W3C regulations. The problem is, when I test the form using Firefox, an e-mail window opens instead of the information being sent directly to my e-mail address. And when I test the form using IE, an Internet Connection Wizard opens. What's the problem? Another quick question . . . After people click "Send", I'm assuming that, with the current configuration, there will be no confirmation message that the message has been sent. How can I arrange for the user to be directed to a confirmation page? Here's the markup of my form: <form action="mailto:my_email_address.com" method="post" enctype="text/plain"> <fieldset> <h4>Name of company:</h4> <br/> <input type="text" name="company_name" value="" size="30"/> <br/><br/> <h4>Company's web address:</h4> <br/> <input type="text" name="company_address" value="" size="30"/> <br/><br/> <h4>How many times have you used this company?</h4> <br/> <input type="text" name="how_many_times_used" value="" size="10"/> <br/><br/> <h4>Please provide a comment as to why you have recommended this company.</h4> <br/> <textarea name="comment" rows="3" cols="53"></textarea> <br/><br/> <input type="submit" value="Send"/> <input type="reset" value="Reset"/> </fieldset> </form>
you will need some sort of a script to mail the message. look around for "form mail scripts", also depending on you host, something like this might already be available to you within your hosting account.
mailto:my_email_address.com <=== this little bit of coding is one of your problems, that's why your email app keeps opening. Unfortunately I only know how to do a form mailer with php.
Thanks for your help, guys. My problem is now resolved. I dispensed with that silly code and used a cool free PHP script that I found on the web. Check it out at BellOnline.co.uk.