How to create a standard 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 shows you how to create a form with the various fields arranged in a table. Instead of just the basic form's one-line text boxes, there are instructions on how to include scrolling text-boxes, check boxes, radio buttons and a drop-down menu.

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
Having inserted the one-line text box, position the cursor to the right of the 'Reset' button and press 'Return'. The dotted line marking the boundary of the form will extend downwards. This creates some space in which to insert a table for arranging the form elements. Here's how:

  • Click on the table icon and drag across the cells to create a table that is 6 rows by 2 columns as shown on the right -->

  • Set the table width to '100%' by right-clicking on the table and selecting 'Table Properties'.

  • Next select an entire row by dragging across two cells. Right-click the selected cells and chose 'Distribute Columns Evenly'.

Screenshot of table

Your form should now appear as shown below:

Screenshot of one line text box inside a table

Step 3
Having inserted the table, the next step is to drag the three form elements into the table. Here's how:

Your form should now look as follows:

Screenshot of one line text box inside a table

Step 4
Next add the following text to the first column: 'Your Name'  and set the 'Form Field Properties' of the text-box as follows:

Step 5
In the 'Basic Form' tutorial, another one-line text box was used to collect a message from the user. This time, a scrolling text box will be used:

Your form should now appear as follows:

Screenshot of form with scrolling text box

Step 6
Add the text 'Your message' to the column beside the scrolling text box and set the scrolling text box properties:

The form should appear as follows:

Screenshot of form with scrolling text box

Step 7
Another form element you might want to include on your page is check box. This allows the user to tick a number of options that you have predetermined:

The form should now appear as follows:

Screenshot of form with check boxes

Step 8
Here's how to set the checkbox options:

Repeat the procedure for the other two checkboxes, changing the 'Names' and 'Values' as follows:

Step 9
Check boxes enable the user to select more than one option. If you want the user to be able to just select one option out of a group, use radio buttons instead:

The form should now appear as follows:

Screenshot of form with radio buttons

Step 10
You can specify which of the radio buttons is selected via the 'Form Field Properties':

Step 11
Another form element you might want to add is a drop-down menu. Here's how:

Note: If you want to allow users to select more than one choice:

Once you have clicked 'OK', if you add the text 'Research interests:' to the cell beside the drop-down menu, your form should look as follows:

Screenshot of form with drop-down menu

With a five pixel cell-padding added to the 'table properties' and the right column increased in width, this is how the completed form looks in the browser:

Your Name:

Your Message:

Qualifications:     BA/BSc     MA/MSc     MPhil/PhD

Do you wish to be added to our mailing list?      Yes      No

Research interests:

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

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

Step 14
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