Jump to content

Form question


magickfirebird

Recommended Posts

I am building my website a little at a time. Right now I am working on a form to allow people to send an email to me. Currently the only areas to be entered is their name, email address, and their question/comment. When I hit submit it does bring up my email program so that an email may be sent. In the body of the email it shows: name=(the name entered), email=(the email address entered), and submit=Send. As you can see it doesn't move the content of the comment text area to the email. Would you please look over the code for me? Thank you.

 

<form action="MAILTO:daphne@familycreativeart.com" method="post" enctype="text/plain">
<br /><br />Name:
<br /><input type="text" name="name" />* required
<br /><br />E-mail Address:
<br /><input type="text" name="email" />* rquired
<br /><br />Comment:
<br /><textarea rows="4" cols="50"> </textarea>* required
<br /><br />
<input type="submit" name="submit" value="Send" />
<input type="reset" name="reset" value="Reset" /></form>
  • Like 1
Link to comment
Share on other sites

You might want to re-think doing it that way. Putting your email address on a web page is a guarantee that that email address will end up an unusable mess full of spam.

 

You would be better to do a contact form that simple capture the entered information into a file or database; or generates the email on the server side without exposing your email address.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...