Forms: HomeSite 1.2
Create Radio Buttons

After you have created your form, you are ready to design the form itself.

Remember that you create a form field with the <FORM></FORM> tag pair.

Within the <FORM> tags will go the entire form, i.e. both the questions you ask and the form elements, i., e., the  box and button spaces where the user will supply responses.

To create a form element in HomeSite, use the Advanced tab on the speedbar.
Advanced tab
The Radio Button The radio button is a form element that allows the user to select only one of a number of offered choices.

The term 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 bitton to your form in HomeSite, choose the Form element button on the Advanced tab. The Form Element dialog box will appear.

Form Element button
Form element button

Radio Form
In the Form Element dialog box choose Radio Button

The Form Element dialog box for a radio button will appear.

Radio Button

In the Name text box fill in the name of the radioset, i.e., the term designating the kind of data being collected. 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 (In our example above the value for the first radio button would be arlington).

Click on OK.

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

Add the word CHECKED to a particular button's <INPUT TYPE> tag if you wish that button choice to be pre-selected.

Forms: HomeSite 1.2
Overview
Create a Form
Create Text and Password Boxes
Create Radio Buttons
Create Checkboxes
Create Drop-down Menu Boxes
Create Text Blocks
Create the Reset and Submit Buttons

Personal Home PageWeb Design CenterTutorial MenuTop of Page

Web Design Center
Last Revised: September 18, 1999
© Agatha Taormina