I have been using the form program with great success on our site.
In http://www.art.net/~troika check out
guestbook.html - the page with the form
( note the HTML
<FORM ACTION="http://www.art.net/cgi-bin/form/troika/submail.frm" ENCTYPE=
"x-www-form-encoded" METHOD="POST">
inside the HTML. You need to modify this to match your site (troika in my
case) and the name of the form script (submail.frm in my case) used to
format the data.)
Two other files are needed:
submail.frm - gives CGI info on how to process the data
submit_mail.frm - formats the mail that you will receive
----
in submail.frm, you wil find three lines
1. return http://www.art.net/~troika/mailthanks.html
2. mail submit_mail.frm
3. check email email-address "Your email address is not valid."
1. shows the html page that will be called up after the form is submitted
2. gives the name of the text file that will be used to format the message
3. insures that the field called email-address is not empty
----
in submit_mail.frm
1. From: <{email}>
2. To: troika@panix.com
3. Subject: Troika E-Mailing List Request
4. FROM: {name}
5. EMAIL: {email}
6. COMMENTS:
7. {description
in line 1, {email} is replaced with the data entered in the <email> field
from the guestbook form.
line 2 determines where the mail is sent
line 3 determines the contents of the email's subject line
in line 4, {name} is replaced by the data entered in the <name> field from
the guestbook form.
in line 5, {email} is replaced by the data entered in the <email> field
from the guestbook form.
in line 7, {description} is replaced by the data entered in the
<description> field from the guestbook form.
----
Hope that is enough info to get you going.
-- mark Coniglio
================================================================
Mark Coniglio, Artistic Co-Director | troika@panix.com
Troika Ranch | http://www.art.net/~troika
================================================================