| Our servers are all configured with this feature. Simply add the following
4 lines to your form to activate this feature.
Simply change the the Items highlighted in BLUE
<FORM METHOD=POST ACTION="/cgi-bin/formmail.pl">
<INPUT type=hidden name="recipient"
value="you@yoursite.com">
<INPUT type="hidden" name="subject" value="Your Subject
Here">
<INPUT type=hidden name="redirect"
value="http://www.yoursite.com/thankyou.htm">
The Following command you can require certain fields to
be filled in, Just use their value names, our example has email and phone
as required fields.
<INPUT type=hidden name="required"
value="email,Phone">
A site that has a formmail on it must use a valid email
address from your site
A web site wouldn't be complete without some simple method of sending comments
or requesting information. A small form and simple CGI can be designed to
facilitate such a task. The comments form and CGI source are presented in
two sections below.
-
The HTML source for the comments form
-
Installing the CGI source code
-
Completed form ready to modify
HTML Source for the Comments Form
The HTML source below represents a simple comments form. This form can be
customized for your site by simply changing the occurrences of the email
address (shown in bold) to the address that you would like to use
in the form. It will not work if you do not have a email set up with us.
Please request the email from this link.
<html>
<head> <title>Send Comments / Request
Information</title>
</head>
<body>
<h3>Send Comments / Request Information</h3>
<hr>
<p> Feel free to send us your comments,
suggestions, and/or questions. We
value your input and desire to make these pages as useful as
possible. Please leave an E-mail
address so we can reply to you.
<p> If your web client supports the "mailto"
URL, you can use your
<A HREF="mailto:email-address@your-domain.name.">local mail
app</a> to compose and send a mail
message. Otherwise, you can use the
form below.
<p>For those using browsers that do not support forms such as
this, send mail to:
<em>email-address@your-domain.name</em>
<p> <hr>
<form action="/cgi-bin/formmail.pl"
method="POST">
<input type="hidden" name="recipient" value="email address you want form
sent to">
<input type="hidden" name="subject" value="Name of Form">
<input type="hidden" name="thankurl"
value="http://www.yourdomain/thankyou.htm">
<font size="+1">Your Full Name:</font><br>
<input name="name" size=20><p><font size="+1">Your E-mail
address: </font><br>
<input name="username" size=20>
<p><font size="+1">The Subject of Your
Message:</font><br>
<input name="subject" size=20>
<p>
<font size="+1">Your comments, suggestions, and/or
questions:</font><br> <textarea
wrap=physical name="comments" rows=8
cols=30></textarea>
<p>
<input type="submit" value="Send comments">
<input type="reset" value="Clear">
<p>
</form><hr>
</body>
</html>
The form shown above represents the minimum amount of information that a
comments form should contain- namely "recipient, name, email, subject, and
comments". Other information can be added to the form above.... this information
will also be sent to the "recipient" specified.
If you are unfamiliar with the FORM HTML element, or would like to
learn more about forms, the following URL is an excellent resource:
http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html
How to Install the formmail.pl CGI
Our servers are pre-configured with the formmail.pl CGI script. For Security
reasons, we set up the forms to move through the main server to keep
you web space to a minimum and your site running at the speed of
the user's modem!
-
Feel free to send us your comments, suggestions, and/or questions. We value
your input and desire to make these pages as useful as possible. Please leave
an E-mail address so we can reply to you.
|