[thelist] Email Form

djinn at darkdesigns.org djinn at darkdesigns.org
Fri Jan 24 10:26:01 CST 2003


I've created a form to email me information, but when I hit the Submit
button, my browser doesn't submit the form. Instead it gives me a pop-up
browser email window with my work email address. The form's mailto: is
another email address. I've checked my code against several examples and
can't figure out what the problem is. Following is my form:

<form method="post" action="mailto:adtech-web at camarilla.white-wolf.com"
enctype="text/plain">
<table width="90%" bgcolor="#CCCCCC" border="0" cellpadding="0"
cellspacing="10" align="center">
 <tr><td STYLE="text-align: center; font-weight: bold" VALIGN="top">*Event
Name:<br><input type="text" name="event name" size="40"></td>
     <td STYLE="text-align: center; font-weight: bold" VALIGN="top">*Event
Type:<br><input type="radio" name="type" value="Regional">Regional<br><input
type="radio" name="type" value="National">National<br><input type="radio"
name="type" value="International">International</td></tr>
 <tr><td><img src="images/spacer.gif" height="5" width="1"
alt=""></td><td></td></tr>
 <tr><td STYLE="text-align: center; font-weight: bold" VALIGN="top">Website
Address:<br><input type="text" name="url" size="40" value="URL"></td>
     <td STYLE="text-align: center; font-weight: bold"
VALIGN="top">*Dates:<br><input type="text" name="start date" size="10"
value="Start Date"><br><input type="text" name="end date" size="10"
value="End Date"></td></tr>
 <tr><td><img src="images/spacer.gif" height="5" width="1"
alt=""></td><td></td></tr>
 <tr><td STYLE="text-align: center; font-weight: bold" VALIGN="top">Contact
Info:<br><input type="text" name="contact name" size="20" value="Contact
Name"><br><input type="text" name="email address" size="40" value="Email
Address"></td>
     <td STYLE="text-align: center; font-weight: bold"
VALIGN="top">*Location:<br><input type="text" name="location" size="25"
value="City & State or Country"></td></tr>
 <tr><td><img src="images/spacer.gif" height="5" width="1"
alt=""></td><td></td></tr>
 <tr><td ALIGN="right"><button type="submit" name="submit"
value="Submit"><b>Submit</b></button></td><td><button type="reset"
name="reset" value="Reset"><b>Reset</b></button></td></tr>
</table>
</form>

Any ideas why this is happening?
Jean Peterson






More information about the thelist mailing list