| Did you want to place a form on your web page, but
couldn't because you didn't have CGI-BIN access or couldn't find or install a proper CGI
script to handle your form? Here's an easy to implement method that will simply email
the content of a form to an address you specify. The good news is that it does not require
any CGI scripts, so you can use it on any web page residing in any web server. However,
the bad news is that not many browsers other than Netscape Navigator support this method.
If you're using a Netscape browser, clicking on the "Email This
Form" button will email the content of the form to the test address " dummy@acky.net"
The trick is to use " mailto:dummy1@acky.net" (dummy1@acky.net
being the email address you want to send your form submissions to) as the "action"
(where you would have placed a name of a CGI script otherwise) in your form. For example,
let's take a look at the HTML tags used in the above example:
<form
action="mailto:dummy1@acky.net"
method="POST" name="EemailTestForm">
Your Name:<br>
<input type="text" size=20 name="VisitorName"><br><br>
Your Comment:<br>
<textarea name="VisitorComment" rows=4 cols=20>
</textarea><br><br>
<input type="submit" name="submit" value="Email This Form">
</form>
So, go ahead... create your next online form using your favorite HTML editor and simply
type " mailto:" (without quotes) followed by your email address for the
"action" tag to get yourself a fully functional online form. |