Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office FrontPage
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Add an option button to a form
 

Unlike other form fields, option buttons usually appear in groups, and only one button in the group can be selected at a time.

  1. In Page view, at the bottom of the document window, click Design Button image.

  2. ShowAdd an option button

    1. Click in the form or on the page where you want to add the option button.
    2. 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.

      ShowHow?

      1. On the Tools menu, click Page Options, and then click the General tab.
      2. Locate and select the Automatically enclose form fields within a form check box.

    3. Next to the option button, type the label for that button.
    4. You can specify whether site visitors select the option by clicking the button or its label.

      ShowHow?

      1. Select the text and the option button.
      2. On the Insert menu, point to Form, and then click Label.

    ShowSet the properties of an option button

    1. Double-click the option button. The Option Button Properties dialog box opens.
    2. 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.

    3. 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.

    4. 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.
    5. 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.).

advertisement