|
Click here to return to the home page. |
|
Configuration
Options
|
|
FormMailGMT is controlled via input fields that you specify inside your web form. All of the following fields are optional except for the "mailto_recipient" field. If you haven't already read the Quick Start Guide, please do so now, then return back here to include those options which you need to configure the actions of your form. |
|
|
Field:
|
mailto_subject |
|
Syntax:
|
<input
type=hidden name="mailto_subject" value="Your Subject Line"> If you wish to have the user of the form specify the subject line, then use the following syntax instead: <input type=text name="mailto_subject"> |
|
Purpose:
|
Specifies the subject that should appear in the email header that is sent to the "mailto_recipient". If this field is not provided, then the FormMailGMT will default to a message subject: WWW Form Submission. |
|
Field:
|
mailto_from (highly recommended field) |
|
Syntax:
|
<input type=text name="mailto_from"> |
|
Purpose:
|
Specifies the return email address of the sender of the form. This result is placed into the From: field of the message received by the "recipient". If you want to require an email address with valid syntax, add this field name to the "required" field, especially if you want to send a courtesy (confirmation) reply. |
|
Field:
|
mailto_realname |
|
Syntax:
|
<input type=text name="mailto_realname"> |
|
Purpose:
|
Specifies the realname of the user which is placed in the From: line of your email message header. |
|
Field:
|
mailto_env_report |
|
Syntax:
|
<input
type=hidden name="mailto_env_report" value="REMOTE_HOST,REMOTE_USER,HTTP_USER_AGENT"> |
|
Purpose:
|
Specifies that the given Environment variables be included in the email message received by the target "mailto_recipient". This stuff is useful if you wish to know what browser the user posted the form with, what domain they were coming from, etc. For more information
on environment variables, see: |
|
|
Field:
|
redirect_missing_fields |
|
Syntax:
|
<input
type=hidden name="redirect_missing_fields" value="http://yourhost.com/missing-fields-error.html"> |
|
Purpose:
|
Specifies a URL that users will be redirected to if there are fields listed in the "io_required" field that are not filled in. The default is to allow FormMailGMT display an error page for you. |
|
|
Field:
|
io_required |
|
Syntax:
|
<input
type=hidden name="io_required" value="email,phone,etc..."> |
|
Purpose:
|
Specifies all field
names that MUST be filled in by the user. If any of these required fields
are not filled in by the user, FormMailGMT will notify the user as to
what they need to fill in, it also provides a link back to the form
they just submitted so that the missing fields can be completed. NOTE: To use a customized error page, see the "redirect_missing_fields" option. |
|
|
Field:
|
body_return_link_title |
|
Syntax:
|
<input
type=hidden name="body_return_link_title" value="Back to Our Main Page"> |
|
Purpose:
|
This field specifies the title for the "body_return_link_url" link that will appear in the body of the response page. |
|
Field:
|
body_bgcolor |
|
Syntax:
|
<input
type=hidden name="body_bgcolor" value="#f0f0f0"> |
|
Purpose:
|
Specifies a background color for the form response page in much the way you specify a background image. |
|
Field:
|
body_text_color |
|
Syntax:
|
<input
type=hidden name="body_text_color" value="#000000"> |
|
Purpose:
|
This field works in the same way as bgcolor, except that it will change the color of your text. |
|
Field:
|
body_link_color |
|
Syntax:
|
<input
type=hidden name="body_link_color" value="#0000ff"> |
|
Purpose:
|
Changes the color of links on the response page. Works in the same way as text_color. |
|
Field:
|
body_vlink_color |
|
Syntax:
|
<input
type=hidden name="body_vlink_color" value="#ff0000"> |
|
Purpose:
|
Changes the color of visited links on the response page. Works exactly the same as link_color. |
|
Field:
|
body_alink_color |
|
Syntax:
|
<input
type=hidden name="body_alink_color" value="#0000ff"> |
|
Purpose:
|
Changes the color of active links on the response page. Works exactly the same as link_color. |
|
|
Field:
|
reply_texta |
|
Syntax:
|
<input
type=hidden name="reply_texta" value="Thank You for filling out this form..."> |
|
Purpose:
|
The first line of your courtesy reply message. |
|
Field:
|
reply_textb |
|
Syntax:
|
<input
type=hidden name="reply_textb" value="Call us if you need further information..."> |
|
Purpose:
|
The second line of your courtesy reply message. |
|
Field:
|
reply_our_url |
|
Syntax:
|
<input
type=hidden name="reply_our_url" value="http://www.pizza.com"> |
|
Purpose:
|
A place to specify your URL in the footer of the courtesy reply message. |
|
Field:
|
reply_who_we_are |
|
Syntax:
|
<input
type=hidden name="reply_who_we_are" value="Pizza OnLine"> |
|
Purpose:
|
Tell the visitor who you are in the courtesy reply footer. |
|
Field:
|
reply_who_we_are2 |
|
Syntax:
|
<input
type=hidden name="courtesy_who_we_are2" value="The fastest way to order pizza!"> |
|
Purpose:
|
An additional line of text telling the visitor who you are. |
|
|
Field:
|
db_delimiter |
|
Syntax:
|
<input
type=hidden name="db_delimiter" value="|"> |
|
Purpose:
|
Specifies the field separator character in the database, the default is a tab character. Please avoid using common characters, like @. note1: Records
are separated by newlines. |
|
Field:
|
db_vertical |
|
Syntax:
|
<input
type=hidden name="db_vertical" value="yes"> |
|
Purpose:
|
Specifies that the fields in the db_append file should be written in vertical format similar to that in the email message sent to the recipient, one field per line in the format FIELDNAME: VALUE. |
| MAILTO (recipient email) | REDIRECT (url diversion) | IO (form field control) |
| BODY (response page html) | REPLY (courtesy email) | DB (database logging) |
|
FormMailGMT.cgi
|

Last edited 9/24/99 by jpf@wave-star.com All Rights Reserved. |