Unlike other form fields, option buttons usually appear in groups, and only one button in the group can be selected at a time.
In Page view, at the bottom of the document window, click Design
.
Add an option button
- Click in the form or on the page where you want to add the option button.
- On the
Insert menu, point to
Form, and then click
Option Button.
Note If you have not started with a form, by default, Microsoft FrontPage automatically creates a form area with Submit and Reset buttons and inserts
the field inside that form area. If FrontPage does not automatically create a form area, the default setting has been changed, and you can reset it.
How?
- On the Tools menu, click Page Options, and then click the General tab.
- Locate and select the Automatically enclose form fields within a form check box.
- Next to the option button, type the label for that button.
-
You can specify whether site visitors select the option by
clicking the button or its label.
How?
- Select the text and the option button.
- On the
Insert menu, point to
Form, and then click
Label.
Set the properties of an option
button
- Double-click the option button. The Option Button Properties dialog box opens.
- In the
Group name box, type a unique name to identify the
group to which this option button belongs.
This is an internal name that the site visitor will not see.
Note Be sure to give all buttons in the same group the same name.
- In the
Value box, type the value to associate with
this field.
Note Be sure to give each button in a group a different value.
If this option button is selected, this value is returned with
the form results, and is displayed on the default confirmation page.
- If you want the option button
to be selected by default when a site visitor first opens the form, next to Initial state, click
Selected.
- Click
Style to access other options for
formatting your form by using cascading style sheets (cascading style sheets (CSS): Declarations, either embedded in a Web page or stored in a separate .css file that is linked to a Web page, that specify the appearance of particular HTML elements.) as an
inline style (inline style: A method of applying cascading style sheet properties and values to an element on a page, such as a table. You can use this method even if the page is not linked to an external style sheet or does not contain an embedded style sheet.).