Jump to Content

< back

Creating forms in FrontPage

Before you start creating a form it is a good idea to have on paper what you would like your form to do, that is what type of data you would like to collect from people who fill out the form. Below, instructions are provided for an example enquiry form.

 


Inserting the form

Once you have established what type of field you would like your form to have, and have inserted it within the form, you need to double click on it and edit the properties. Form fields by default are given names that do not mean much when the results are emailed through.

Insert textbox

A textbox provides a space for a name, email address or a telephone number. If you require more room, then the textarea field can be used.

Insert textarea

A textarea provides more space for people to type their addresses, comments etc.

Insert option button (radio button)

Option buttons or radio buttons provide a way of people selecting one option only. If you require them to select more than one option you will need to use a Checkbox

Insert checkboxes

Use Checkboxes if you want the option of more than one item to be selected.

Now you have created a basic form using FrontPage. The next step is to create a confirmation page, probably using the no left hand menu template.

Insert label

Using labels in your forms improves accessibility by providing a link between the text and form item (checkbox etc). Inserting a label means you can click on the word next to the form field to select it rather than just clicking on the form field itself. This helps out people using screen readers and others who may have trouble clicking in a small area on a screen. Try it out on this test form.

After creating the form field and typing the label text select the form field and associated label text. Select Insert, Form, Label. If you now view the code for this form field you will see the <label> and </label> tags either side of the form item.

Dotted lines will appear around the text associated with the form field.

Inserting labels for forms in Frontpage

Now you are ready to convert the form so that it can be submitted.

 

top^