How to create a basic form in FrontPage 2000

IMPORTANT: Never under any circumstances ask users to submit credit details or passwords as the information will not be encrypted and is vulnerable.

This document covers how to create a basic form of three one-line text boxes and how to set up the form so that you can receive the user's information by email.

Step 1
Position the cursor at the location on the page where you want the form to appear and select 'Insert' -> 'Form'->'One-Line Text Box'.

Your page will now include the following:

Screenshot of a one-line text box

Text description
Screenshot of a one-line text box

The form is indicated by a broken line - this border will not appear in the browser. Along with the one-line text box, FrontPage will insert two buttons: the first enables the user to send the form whilst the second allows the user to return the form to its initial state.

Step 2
To add additional elements to the form, position the cursor before the first text box and select 'Insert' -> 'Form'->'One-Line Text Box' again. This time just a one-line text box is added as there is only be one set of 'submit' and 'reset' buttons per form:

Screenshot of a one-line text box

Repeat the process again so that you have three text boxes.

Step 3
You can format the layout of the form by adding paragraphs and line-breaks. (Once you have set up a basic form, have a look at the other form tutorials which explain how to insert the form fields within a table).

Tip: the easiest way of getting the cursor to appear before any of the elements is to click to the right of the element and then press the left-arrow key.

Step 4
When you receive the information, the email will contain the name of the field followed by the information the user entered into that field. Unless you change the name of the fields, an email from the above form would read:

T1: Web Team

T2: webeditors.enquiries@lse.ac.uk

T3: Hello

It's a good idea to change T1, T2, T3 to more appropriate values. Here's how:

The email from the form would now read:

Name: Web Team

Email: webeditors.enquiries@lse.ac.uk

Message: Hello

Step 5
Before the user can submit their information you need to set which script will handle your form.

Step 6
You must specify the email account which will receive the form data. Here's how to set the recipient email account:

Step 7
There are two other 'Name/Value' pairs which you can set but are not required for the form to email you the user's information.

The first is the subject of the email and is useful if you have more than one form on your site and want to distinguish which form the user has used to submit their details.

The second is the location of a sent-acknowledgement page which thanks the user and tells them that their information has been sent. By allowing you to specify this page within your site, you can include links back to your homepage.

If either of the two optional 'Name/Value' pairs is missing, the email subject will be 'mailform message' and the sent-acknowledgement page will be a general thank-you.

Our best-practice advice would be to make use of both options.

Here's how to insert the email subject information:

Here's how to insert the sent-acknowledge page location:

You can now publish your pages and test if you have set the form values correctly by submitting some test information.

^ Back to top

LSE