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

Discussion in 'HTML' started by barlin, Jul 31, 2007.

  1. barlin

    barlin Guest

    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>
     
    barlin, Jul 31, 2007
    #1
    1. Advertising

  2. barlin

    Neredbojias Guest

    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.

    --
    Neredbojias
    Half lies are worth twice as much as whole lies.
     
    Neredbojias, Jul 31, 2007
    #2
    1. Advertising

  3. barlin

    Dave Kelly Guest

    barlin wrote:
    > 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?


    You might have a look here. I've had this working a couple of months
    and there may be information you can use.

    http://www.texasflyfishers.org/booklist.htm

    HTH
    Dave

    --
    A little rum in the morning coffee. Just to clear the cobwebs, ya know.
     
    Dave Kelly, Aug 4, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    Emailing form

    John, Oct 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    390
    David P. Donahue
    Oct 6, 2004
  2. wmburns
    Replies:
    5
    Views:
    734
    wayne
    Feb 12, 2006
  3. Carlos

    emailing form

    Carlos, Oct 19, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    344
    Carlos
    Oct 19, 2007
  4. Dennis M
    Replies:
    5
    Views:
    531
    Dennis M
    Oct 18, 2009
  5. Rob

    Emailing Form Results in HTML

    Rob, Jul 10, 2007, in forum: ASP General
    Replies:
    1
    Views:
    182
    Daniel Crichton
    Jul 11, 2007
Loading...

Share This Page