Setting up your Form
Script
Form Configuration Elements - Use
these to control the processing of your form. You can specify them as hidden fields.
MailAddress - Email
Address to deliver Form Information to. If MailAddress is "list" then Mail
Addresses are used.
MailAddress1 - Email
of first on list
MailAddress2 - Email
of second on list, etc.
MailName - Real name
of person to deliver form information.
FromAddress - Email
reply address for email sent. Default is unknown@unknown.org.
FromName - Real name
that will show for reply address.
MailServer - SMTP
Mail Server to use to deliver mail. If the administrator has specified a default mail
server, this can be left blank.
MailSubject -
Subject of the message
AfterPage - Web
Address of Page after form. Must begin with a slash (/) or be a fully qualified URL
(http://www.abcs.com)
MailAddressT - File
name of template to use to format the email to be sent. See templates section for details.
MailAddressT1 - Goes
with MailAddress1 - etc...
IncludeSystem- TRUE
or FALSE - Include the Web Server System information (Default: False)
SaveFile - File name
used to save the results of this form. See templates section for details.
SendMail - TRUE or
FALSE - Send an email or not (Default: True)
MABody - Same as a
MailAddressT, but instead of a file it is the actual text of the template. Can also use
several fields that will be concatenated (MABody1, MABody2, MABody3, ...). Will override
the MailAddressT field.
MA1Body - Goes with
MailAddress1 (Can also have MA1Body1, MA1Body2, ...)- etc...
Templates - BriFormMail has
the ability to use templates for both the email that is sent and also for a file that is
saved. For security reasons, the "Save File Template" must be in the same
directory tree as the Form that uses it.
Email Templates - For any
email template, a form element will show up on it if the name of the form element is
listed surrounded by percent (%) signs. There are two special tags that provide a list of
form elements. The %SERVERFIELDS% tag will list all the fields provided by the server. The
%FORMFIELDS% tag will list all the fields provided by the form.
Saved File Templates - To
continually add information to files, BriFormMail looks for the
"<!--BriFormMailTemplate" tag in the save file. The fields are listed the
same way as for the Email Templates. The ending tag is
"BriFormMailTemplate-->".
The Form Action line in your HTML will be:
<form action="http://www.samnet.net/cgi-bin/Briformmail.dll"
method="POST">
Want to see an Example of a form?
This Web Site was created and is maintained by 