Create a confirmation page
By utilizing a form confirmation page, you allow site
visitors to confirm that they entered form information
correctly and, if necessary, return to the form and fill it
out again.
- On the File menu, point to
New, and then click
Page or Web.
- In the New Page or Web
task pane (task pane: A
window within an Office application that provides commonly
used commands. Its location and small size allow you to use
these commands while still working on your files.),
under New, click
Blank Page.
- Type the text you want to display after a site visitor
has submitted the form.
- Choose the information you want to show your visitor.
For example, you could display the contents of an e-mail
address field, allowing the site visitor to confirm that it
was typed correctly.
How?
- On the Insert menu,
click Web Component.
- In the left pane, click
Advanced Controls,
and in the right pane, double-click
Confirmation Field.
- In the
Name of form field to confirm text box, type the name
of the field from which to display information, and then
click OK.
Note The name of this field must match the
name you gave the form field when you set its properties.
The name of the field is displayed in brackets ( [] )
on the form. When the confirmation form is displayed to
the site visitor, this field will display the site
visitor's entry instead.
- Repeat the above steps for each field you want to
display.
- If there are fields that you do not want to display on
the confirmation page, you can hide them.
How?
- In Page view,
right-click the form, and then click
Form Properties on
the shortcut menu.
- Click Advanced.
- In the Hidden fields
group box, click Add.
- In the Name box, type a
name to identify the hidden form field in your form
results. This is the same name you gave the form field
when you set its properties.
- In the Value box, type
the value to associate with this field.
- On the File menu, click
Save As.
- In the File name box,
type the file name of the confirmation page.
- If you need to change the
Page title, click
Change title, enter the correct title, and click
OK.
- Click Save.
- Assign the confirmation page to your form.
How?
- Open the page containing your form by double-clicking
the file in the Folder
List.
- Right-click the form, and then click
Form Properties on
the shortcut menu.
- Click Options, and
then click the
Confirmation Page tab.
- In the URL
of confirmation page box, type the name and location
of the confirmation page you just created, or click
Browse to locate it.
Notes
- If you are saving your form results to a database, you
must save your confirmation page with an .asp extension.
- To test the functionality of your form, you must first
publish your web site to a web server running either the
FrontPage Server Extensions or SharePoint Team Services
from Microsoft. Ask your web server administrator or
Internet Service Provider whether this software is
installed on your web server. Once the web site is
published, click
Preview in Browser
to test the form.