FrontPage Forms
Important
Basics
Creating
Web pages
FrontPage
CGI
-Cgiemail
-Counters
-FormMail
-Imagemaps
-Mailto
-Password-protected
Web
Directories
-PHP/MySQL Transferring
pages/ Uploading
files
Viewing
pages
What's
wrong?
Announcing
your pages
Commercial
Web stats
|
|
FRONTPAGE FORMS ONLINE HELP
|
"Can I use FrontPage to create a form? Will it work when I'm done?
Yes. And yes.
Don't forget: We now support FrontPage Server Extensions. If you'd like
FrontPage Server Extensions enabled for your commercial Website, let us know.
IF FRONT PAGE SERVER EXTENSIONS ARE ENABLED:
Follow their instructions, then publish the pages. Publish info is
located here.
IF FRONT PAGE SERVER EXTENSIONS ARE DISABLED (NOT
ENABLED):
Simply follow the
instructions below, then publish the pages. Publish info is
located here.
If Server Extensions are disabled
when you use FrontPage to create a form, it normally creates three
pages:
- The form (in HTML) visitors to your Website will fill out.
- The confirmation or thank you page (in HTML) that
will be
displayed when the visitor submits the completed form. It typically
thanks the visitor for filling out the form.
- The form results (in text format). When the visitor submits
the completed form, the information that's been entered is E-mailed to
you.
You still do that. You just need to make a few small modifications.
The Form | Success/Confirmation | Form
Results
1. Have Front Page create the form.
The form can have as many
fields as you want. Once the form is done, right click once within the
form (but not on any of the fields), slide down to Form Results
and left click once. Click on Send to other and make sure
the field says Custom ISAPI, NSAPI, CGI or ASP Script. Next to
Form
Name:, enter the name of the form Web page:

Click on Advanced:

Click Add. This is where you specify where the success (also called
confirmation or thank you page) is. For Name: enter success
For
Value: what you enter depends on what type of account you have:
Personal:
http://www.mm.com/user/username/confirmation.htm
Commercial withOUT a virtual host URL:
http://www.mm.com/webdirname/confirmation.htm
Commercial WITH a virtual host URL:
http://www.yourdomain.org/confirmation.htm
Click OK. Click OK again.
Click on Options. This is where you'll tell FrontPage to use CGI
and
where the form results will be. FrontPage creates a _private directory for
the form results, so you'll need to include that in the path.
For Method: POST should already be displayed. For Action:
-- again, what you enter depends on what type of account you have.

Commercial WITH a virtual host URL:
/cgi-sys/cgiemail/yourdomain.org/_private/form_results.txt
Personal:
/cgi-sys/cgiemail/user/username/_private/form_results.txt
Click OK.
Top
The Form | Success/Confirmation | Form
Results
2. Have Front Page create the "success" or "confirmation" Web
page.
When a visitor fills out your form and submits it, this page will display
to let the visitor know the process was successfully completed. Why have
one? If a visitor to your Website fills out and submits the form, you
don't want the visitor to sit there wondering if the form really was
submitted. You want the visitor to know that it was.
To create the confirmation page with FrontPage, with the Page icon
selected on the left-hand side under View, pull down the File
menu, select New, then Page. Click on Confirmation
Form and click OK.
What the "success" or "confirmation" Web page looks like is up to you.
Don't forget to put a link back to the form on the "success" page.
When you save the file, make the file name confirmation.
Top
The Form | Success/Confirmation | Form
Results
3. Have Front Page create the form_
results.txt file
When the visitor submits the completed form, the information that's been
entered is E-mailed to you. How that information looks or is formatted in
the e-mail message depends on how you set up the form_results.txt file.
That's an advantage to using cgiemail - you get to set up the forms
results in a way that's easiest for you to read. If you've never set this
up before -- that's because you've never had a choice about how the
results can look. We let you choose.
The form_results.txt file can be found by double-clicking on the _private
folder. Since it's a text file, Notepad will open up.
Please note: the
first line must be the From: line and contain the e-mail address field
name enclosed in square brackets. It's best to have the e-mail
address field a required field.
When the form is completed, the
From:
line will contain the name of the person filling out the form. The second
line should be the To: line and contain the actual e-mail address you'd
like the
form results e-mailed to. The To: line should not contain a field name
enclosed in square brackets. You'll need to type an actual e-mail
address.
If you want a field to be required, add required- inside the square
bracket directly in front of the field name.
Example:
From: [required-email]
To: persontoreceivetheresults@yourdomain.org
Subject: cgiemail from [from_name]
[from_name] visited your Website. My E-mail address is [required-email]
and my phone number is [phonenumber].
I'd like more information about:
[comments]
I found your Website by: [how]
When it's e-mailed to you, it will look like an e-mail
message:
From: visitorX@visitorsisp.com
Date: Today's Date
To: persontoreceivetheresults@yourdomain.org
Subject: cgiemail from Jane Doe
Jane Doe visited your Website. My E-mail address is
visitorX@visitorsisp.com and my phone number is private.
I'd like more information about:
The weather in Minnesota because I'm thinking of moving there.
I found your Website by: a search engine.
Top
The Form | Success/Confirmation/thank you | Form
Results
4. Test the results by going to your Web site,
filling out the form, and
submitting it.
If you need more details, they're available on the
cgiemail home page.
Top
|