Show All

Add a check box to a form

In Page view, do one or both of the following:

Add a check box

  1. Click in the form where you want to place the check box.

    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 Checkbox.
  3. Type the label for the check box directly on the form, next to the check box.

    You can give the site visitor the ability to select the check box by clicking the check box itself or by clicking its label.

    How?

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

Set the properties of a check box

  1. Double-click the check box.
  2. In the Name box, type a name to identify the check box.

    This internal name, which is not shown on the form, identifies the check box 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.

    When the check box is selected, this value is returned with the form results, and is displayed on the default confirmation page. If the check box has not been selected, the group name is included, but the value is blank.

  4. Click Checked under Initial state if you want the check box 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 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.