[thelist] Email Form

Rob Whitener rwhitener at DesignOptions.com
Fri Jan 24 10:37:01 CST 2003

If you are doing this in a form, that means you probably want to submit the
information to some server-side script correct?  If this is the case, then
you need to write a script that gathers all of the information from the page
and sends it via smtp.  mailto: is used with <a href>.  There may be
exceptions to this, but I am not aware of any.  If you don't really want to
write a form to e-mail gateway, try
http://www.scriptarchive.com/formmail.html .  It seems to be pretty popular
with the kids.

-----Original Message-----
From: djinn at darkdesigns.org [mailto:djinn at darkdesigns.org]
Sent: Friday, January 24, 2003 11:25 AM
To: thelist at lists.evolt.org
Subject: [thelist] Email Form

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"
<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"
 <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"
 <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
     <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"
 <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>

Any ideas why this is happening?
Jean Peterson

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !

More information about the thelist mailing list