problems with Form

admin

Administrator
Staff member
I have a problem with my html form becasue every time you click "verzenden" it opens your email browser like outlook expres or microsoft outlouk this is the code i used:<br />
<br />
<BODY BACKGROUND="images/background.gif" BGCOLOR="#FFFFE1" TEXT="#808080" LINK="#FF9B6A" ALINK="#FF9B6A" VLINK="#FF0000"> <br />
<br />
<FONT FACE="Verdana" SIZE=2> <br />
<br />
<CENTER><br />
<br />
<H2>Stuur een e-mail</H2><br />
</CENTER> <br />
<br />
<FORM ACTION="mailto:[email protected]" METHOD="hidden"><br />
Mijn naam is: <BR><br />
<INPUT TYPE="text" NAME="naam" SIZE=30><br />
<P><br />
Ik ben:<BR><br />
<INPUT TYPE="radio" NAME="geslacht" VALUE="man"> man<BR><br />
<INPUT TYPE="radio" NAME="geslacht" VALUE="vrouw"> vrouw<br />
<P><br />
Mijn e-mailadres is:<BR><br />
<INPUT TYPE="text" NAME="email" SIZE=30><br />
<P><br />
Ik geef deze site een rapportcijfer van:<BR><br />
<SELECT NAME="rapportcijfer"><br />
<OPTION VALUE="10">10<br />
<OPTION VALUE="voldoende">voldoende<br />
<OPTION VALUE= "onvoldoende">onvoldoende<br />
</SELECT><br />
<P><br />
Mijn reactie:<BR><br />
<TEXTAREA COLS=10 ROWS=10 NAME="reactie" WRAP=VIRTUAL><br />
</TEXTAREA><br />
<P><br />
<INPUT TYPE="submit" VALUE=" verzenden "><br />
<INPUT TYPE="reset" VALUE=" reset "><br />
</FORM> <br />
<br />
</BODY><br />
<br />
<br />
<br />
<br />
<br />
<br />
:rocker:<!--content-->That's because you use "ACTION="mailto:"<br />
<br />
In order to not open the defautl mail program, you will need to set up a serverside form to mail handler (php, asp, cgi, ...) if your host allows you to use one of these.<br />
<br />
If your host doensn't, check if they don't offer one on their website for their members.<!--content-->As far as I know, you can't use method="hidden". If you change it to method="post" then it should work.<br />
<br />
However, using the mailto: command to action your forms can be unreliable. As fevertje said, it would be much better to use a perl/asp/php script to process your form if possible.<!--content-->
 
Back
Top