[thelist] Form/ Submit Problem

Keith Gaughan keith at digital-crew.com
Tue Jul 26 14:31:25 CDT 2005

Hash: SHA1

Epting, Marcus (N-Consultant) wrote:

> Please tell me what is wrong wit this code? When I click  the Go button
> I get a page cannot be displayed error message. I would like to see a
> page that says Mail has been sent. This page has already been created
> but when I try to use the <a href="" >   attribute I get nothing. Please
> help! I think the problem lies somewhere in bold.

I can't see what you mean. You'd some invalid attributes, and invalid
or depricated tags. I got rid of the font tags--they were just
cluttering things up--and reformatted the markup to make it readable.
You were also missing types on the input fields.

Any other notes I've left in comments below:

<style type="text/css">
    font-family:    Tahoma, Verdana, sans-serif;

    color:          #006;
    text-align:     center;
    font-size:      100%;

td, th
    text-align:     left;
    vertical-align: top;


<h2>Tell a friend about this site.</h2>

<!-- You had a stray ?id= here, and a table embedded in a table. -->
<form method="post" action="tellafriend.html">
<table border="0" cellpadding="1" cellspacing="1" align="center">
    <tr bgcolor="#E0EBE0">
        <td>* Your Name</td>
        <!-- You'd no types on the input fields. -->
        <td><input type="text" size="25" name="Custname" value=""></td>

    <tr bgcolor="#E0EBE0">
        <td>* Your Email</td>
        <td><input type="text" size="25" name="Custemail" value=""></td>

    <tr bgcolor="#E0EBE0">
        <td>* Friend's Name</td>
        <td><input type="text" size="25" name="Friendsname" value=""></td>

    <tr bgcolor="#E0EBE0">
        <td>* Friend's Email</td>
        <td><input type="text" size="25" name="Friendsemail" value=""></td>

    <tr bgcolor="#E0EBE0">
        <td>Your Message</td>
        <td><textarea cols="25" rows="6" name="strMessage">Please check
out this site</textarea></td>

<div align="center"><input type="image" src="go.gif" title="Continue"></div>

Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the thelist mailing list