Add an option button to a form

In Page view, for each option button you want to add to a form (or a group of option buttons), do one or both of the following:

Add an option button

  1. Click in the form where you want to place the option button.

    If you are inserting a form field but have not already created a form, Microsoft FrontPage will automatically create a form area and insert the field inside that form. The form area will appear as a dashed line when you are editing the page.

    You can insert a new line by pressing ENTER.

  2. On the Insert menu, point to Form, and then click Option Button.
  3. Type the label for the option button directly on the form, next to the option button.
Set the properties of an option button
  1. Double-click the option button.
  2. In the Group name box, type a name to identify the group to which this option button belongs.

    This internal name, which is not shown on the form, identifies the option button group in the form results. It will be visible to the site visitor on the default confirmation page, which is displayed when you use a form handler rather than a custom script.

  3. In the Value box, type the value to associate with this field.

    If this option button is selected, this value is returned with the form results, and is displayed on the default confirmation page.

  4. Click Selected under Initial state if you want the option button to be selected by default when a site visitor first opens the form.
  5. Click the Style button to access other options for formatting your form using cascading style sheets as an inline style.

Note   To test the functionality of your form, you must first publish your web site to a web server running either the FrontPage Server Extensions or SharePoint Team Services from Microsoft. Ask your web server administrator or Internet Service Provider whether this software is installed on your web server. Once the web site is published, click Preview in Browser Preview in Browser button to test the form.