emailing results from form does'nt wortk. What do I do wrong?


B

barlin

Hi.

Trying to write a html-form that emails the results to me.
But I can't get it to work properly
What do I do wrong?

I installed a cw.mailform.cgi script in the root and also a
cw.mailform_db (not in the same documentroot)

The HTML-form I designed in frontpage looks like this:

<HTML>
<HEAD>
<TITLE>harry_potter_reserveren</TITLE>
</HEAD>
<BODY>
<p align="center"><font color="#0000FF">Vul aub. alle vereiste velden
in (*)</font>
<TABLE BORDER="0" ALIGN="CENTER">
<FORM ACTION="cwmailform.cgi" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="form_recipient" VALUE="sales">
<INPUT TYPE="HIDDEN" NAME="required_fields" VALUE="email,naam">
<INPUT TYPE="HIDDEN" NAME="form_ok_url"
VALUE="http://www.edelboek.nl/ok.html">
<TR>
<TD><font color="#0000FF"><b>Naam (*)</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_naam"></b></font></TD>
</TR>
<TR>
<TD><font color="#0000FF"><b>Adres</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_adres"></b></font></TD>
</TR>
<TR>
<TD><font color="#0000FF"><b>Postcode</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_postcode"></b></font></TD>
</TR>
<TR>
<TD><font color="#0000FF"><b>Plaats</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_plaats"></b></font></TD>
</TR>
<TR>
<TD><font color="#0000FF"><b>Telefoon</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_telefoon"></b></font></TD>
</TR>
<TR>
<TD><font color="#0000FF"><b>Email-adres (*)</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_email"></b></font></TD>
</TR>
<TR>
<TD valign="top"><font color="#0000FF"><b>Bestelt
hierbij</b></font></TD>
<TD>
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" startspan
U-File="_private/form_results.txt" S-Format="TEXT/CSV"
S-Label-Fields="TRUE" --><input TYPE="hidden" NAME="VTI-GROUP"
VALUE="0"><!--webbot
bot="SaveResults" endspan -->
<p><font color="#0000FF"><b><select size="1" name="form_D1">
<option>1 gebonden ex. a € 23,50</option>
<option>1 paperback ex. a € 19.50</option>
</select></b></font></p>
</form>
<p><img
src="http://img.bol.com/intershoproot/eCS/Store/nl/imagesOnline/CMS/minisites/boeken/hp7/hp7_nl.gif"
border="0" width="163" height="94"><br>
<font color="#0000FF"><b>van de nederlandse editie van<br>
<font size="3">Harry
Potter en de Relieken des Doods<br>
Auteur: J.K. Rowling<br>
</font></b></font></p>
</TD>
</TR>
<TR>
<TD><span class="price"><b><font color="#0000FF">Ik kom mijn
bestelde exemplaar&nbsp;<br>
vanaf 17 november 2007&nbsp;<br>
ophalen bij de door mij aangegeven<br>
vestiging van Boekhandel Edel in&nbsp;</font></b></span></TD>
<TD valign="bottom"><span class="price"><b><font
color="#0000FF"><!--webbot
bot="Validation" B-Value-Required="TRUE" --><select size="1"
name="form_D2">
<option>Oud Beijerland Molendijk</option>
<option>Oud Beijerland Veilingpassage</option>
<option>Barendrecht Carnisse</option>
<option>Barendrecht Middenbaan</option>
<option>Spijkenisse Akkers</option>
<option>Spijkenisse Breestoep</option>
<option>Hellevoetsluis Struytsche Hoek</option>
<option>Numansdorp Voorstraat</option>
</select></font></b></span></TD>
</TR>
<TR>
<TD VALIGN="TOP"></TD>
<TD></TD>
<TR>
<TD COLSPAN="2" ALIGN="CENTER">
<font color="#0000FF">
<INPUT TYPE="SUBMIT" VALUE="Verstuur">
</font>
</TD>
</TR>
</FORM>
</TABLE>
</BODY>
</HTML>
 
Ad

Advertisements

N

Neredbojias

Well bust mah britches and call me cheeky, on Tue, 31 Jul 2007 18:16:34
GMT barlin scribed:
Hi.

Trying to write a html-form that emails the results to me.
But I can't get it to work properly
What do I do wrong?

I installed a cw.mailform.cgi script in the root and also a
cw.mailform_db (not in the same documentroot)

The HTML-form I designed in frontpage looks like this:

<HTML>
<HEAD>
<TITLE>harry_potter_reserveren</TITLE>
</HEAD>
<BODY>
<p align="center"><font color="#0000FF">Vul aub. alle vereiste
velden
in (*)</font>
<TABLE BORDER="0" ALIGN="CENTER">
<FORM ACTION="cwmailform.cgi" METHOD="POST">
Huh?

<INPUT TYPE="HIDDEN" NAME="form_recipient" VALUE="sales">
<INPUT TYPE="HIDDEN" NAME="required_fields" VALUE="email,naam">
<INPUT TYPE="HIDDEN" NAME="form_ok_url"
VALUE="http://www.edelboek.nl/ok.html">
<TR>
<TD><font color="#0000FF"><b>Naam (*)</b></font></TD>
<TD><font color="#0000FF"><b><INPUT TYPE="TEXT"
NAME="form_naam"></b></font></TD>
</TR>
<TR>
snip

I've seen enough. You need to learn html. Your markup sucks. It's not
only antiquated, it's wrong.

Also, when asking for help about some problem, one should post a url
depicting that problem, not lines and lines of lackluster linguini.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top