View Full Version : form help!


ShawtyG09
02-11-2006, 02:17 AM
Ok when i did my form it didn't automatically send to my email , when someone did it , it went through an email like they had to do an email to do my form instead of it bein sent automatically like it has name email site and comments/questions and when you push submit it goes into an email could someone help me with this? my code is ....
<form method="post" enctype="text/plain" action='mailto:morningstarstaff@hotmail.com'>
<input type="hidden" name="To" value="like or dislike form">
Name:<br>
<input type="text" name="question:" size="30" maxlength="100"><br><br>
Email:<br>
<input type="text" name="question:" size="30" maxlength="100"><br><br>
What do you want to request:<br>
<input type="text" name="question:" size="30" maxlength="100"><br><br>
<input type="submit" value="Send"><img src="spacer.gif" width=5 height=1 alt="spacer">
<input type="reset" value="Clear it"></form> so please help!

*Kay

trishainfotech
02-11-2006, 09:51 AM
code appears to be correct .
it does not go to email from your pc reason may be you did not specify host for your default client(outlook express) .
you cannot directly submit it into database until you use some form handling scripts

Wermaus
02-11-2006, 12:23 PM
Hi ShawtyG09!

I tested you code,and it worked finde for me;my mailclient launched and in the message was exactly what I entered into the form.
And that's what it should do...
To have your data directly sent to you, you'll have to use a CGI or a formmailer which most of the hosts offer.

luvhartz
02-11-2006, 02:03 PM
The problem is this:

<form method="post" enctype="text/plain" action='mailto:morningstarstaff@hotmail.com'>
<input type="hidden" name="To" value="like or dislike form">
Name:<br>
<input type="text" name="question:" size="30" maxlength="100"><br><br>
Email:<br>
<input type="text" name="question:" size="30" maxlength="100"><br><br>
What do you want to request:<br>
<input type="text" name="question:" size="30" maxlength="100"><br><br>
<input type="submit" value="Send"><img src="spacer.gif" width=5 height=1 alt="spacer">
<input type="reset" value="Clear it"></form>

The mailto is not supported in some internet browsers, i suggest yo get a remotly hosted host [like bravenet.com] instead :)