Add a check box to a form

When you create a form and add check boxes, you'll want to know ahead of time what you want to label them and whether it's imperative that site visitors check a specific box before submitting their responses.

 Note   Check boxes do not enable validation. Therefore, if you require validation, use option buttons or the drop-down box (menu) instead.

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

ShowAdd a check box

  1. Click in the form or on the page where you want to place the check box.
  2. On the Insert menu, point to Form, and then click Checkbox.

 Note   If you have not started with a form, by default, Microsoft FrontPage creates a form area with Submit and Reset buttons. 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.
  1. Next to the check box, type the label for that box.

You can give the site visitor the ability to select the check box by clicking the check box label instead.

ShowHow?

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

ShowSet the properties of a check box

  1. Double-click the check box. The Check Box Properties dialog box opens.
  2. In the Name box, type a name to identify the check box. This is an internal name, the site visitor will never see it.

For your form to transmit data that can be collected, you need to use a unique name for this form field.

  1. In the Value box, type the value to associate with this field. Check box values indicate whether the check box has been selected.

When the check box is selected, this value is returned with the form results, and is displayed on the default confirmation page. For example, if the internal name is First and the value is ON, the results would show First=ON. If the check box has not been selected, neither the name nor the value are returned.

  1. Click Checked if you want the check box to be selected by default when a site visitor first opens the form.
  2. 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.).
 
 
Applies to:
FrontPage 2003