| An Advanced Form Handler |
|
CommerceStreet.com's
FormMailHTML.asp form handler provides form handling
functionality commonly associated with Perl script handlers. It works equally well with or without FrontPage.
It is in your /cgi-sys/ directory. This is a virtual system directory which
you will not see with ftp or FrontPage.
FormMailHTML.asp offers features not available in the standard
Microsoft FrontPage form handler, and is easier to use than Perl form handlers
such as FormMail.pl.
FormMailHTML.asp is configured with hidden form fields, as
opposed to hard coding parameters in Perl scripts. The advantages include (1)
using the same form handler for different forms with different results, (2) not
having to edit Perl scripts, and (3) forms can be processed based on a
respondent's form selections.
FormMailHTML.asp merges form results into an html formatted file to email form results as formatted
html emails.
FormMailHTML.asp can merge the form results into an
html results page and send that page to the respondent's browser after the form
is processed.
Standard Form Fields:
These form fields are optional and
are used if provided.
| Name |
Full name of form respondent |
| FName - LName |
First and last name of form respondent,
these values will over-ride the 'Name' field above. |
| EMail |
Email address of form respondent |
Hidden Form Fields:
Field names in red are mandatory.
These field values are normally defined in hidden form fields, but can be
specified with drop down menus or radio buttons to process forms based on
form selections.
| FormMailSubject |
Subject
line for email |
| FormMailMessageHTML |
HTML format file into which form field results are merged. This is a standard
ASCII text file with field names enclosed with '<!' and '>'. For
example, to merge a form field named 'ZipCode' into your text file, put
<!ZipCode> where you want the zip code to appear. Field names are
not case sensitive in the format files. |
| FormMailServer |
Enter the full qualified domain name of the
mail server you want to relay off. |
| FormMailTo |
Email
address to send form results to |
| FormMailMessageTo |
Who
to send form results to, values are:
"FORMMAILTO"
- results sent only to "FormMailTo" address above,
"BOTH" -
results
sent to "FormMailTo" address
and "EMail" address.
Default value if not specified is FormMailTo address only. |
| FormMailShowBlanks |
Show
blank fields in the emailed results, values are:
"NO" - do not show blank fields,
"YES" - do show blank fields.
Default value is NO if not specified. |
| FormMailTimeStamp |
Add
Date and Time stamp to emailed results, values are:
"NO" and "YES", default value is NO if not
specified. |
| FormMailNextPage |
Standard
confirmation page. If defined, form respondent is sent to this page
after form is processed. |
| FormMailResultPage |
Form
Merge confirmation page. If defined, form results are merged into this
page and form respondent is sent to it after form is processed.
** Important Note: This page is written to the browser from the cgi-sys
direectory. All image links and hyper links must must be fully qualified
from the web site root. |
Compatibility with FrontPage and Dreamweaver
FormMail.asp is completely compatible with Microsoft FrontPage,
Macromedia Dreamweaver and all other web site authoring software.
|
|
|