Forms: Front Page 98
Create Radio Buttons

The radio button is a form element that allows the user to select only one of a number of offered choices.

The form element name refers to the fact that you can choose to press only one button (i.e., listen to only one station) at a time on a car radio.

The radio button tag requires a VALUE for each possible choice.

VALUE refers to the actual data being collected.

The VALUE attribute identifies the information gathered when a user specifies a particular choice from a list provided by you.

Example

In what county do you  live?
Arlington   Fairfax   Loudoun    Prince William

To add a radio button to your web page using FrontPage 98, you can choose Insert, Form Field, Radio Button from the main menu.


insradio.gif (21091 bytes)
You can also use the Radio Button button on the Forms toolbar.

Radio button button
Radio Button button

To specify the properties of the radio button, highlight it.

Choose Edit, Form Field Properties from the main menu or right click on the radio button itself.

The Radio Button Properties dialog box will appear.

Radio button Properties box
In the Group Name text box fill in a word that will describe the information in the set of radio buttons.   (In our example above, the radioset might be called county).
In the Value text box fill in the name of the value for that particular button.  Usually the form developer assigns a value to the button that is the same as the name users select when they choose that particular radio button.(In our example above the value for the first radio button would be arlington).

Set the Tab order. The tab order is the order in which users of your form will move through the form by clicking on the Tab key.

Click on OK.

Repeat the process for the remainder of the radio buttons in the radioset.

Choose Initial State Selected if you wish a particular radio button choice to be pre-selected.

Forms: Front Page 98:
Overview
Create a Form
Create Text and Password Boxes
Create Radio Buttons
Create Checkboxes
Create Menu Boxes
Create Text Blocks
Create the Reset and Submit Buttons

Personal Home PageWeb Design CenterTutorial MenuTop of Page

Web Design Center
Last Revised: August 29, 1999
© Agatha Taormina