Create a Web form and add form controls

Add the following form controls to create your Web form:

Add a checkbox

Use a check box to present a yes/no choice. If you add several check boxes to present a group of related but independent choices, visitors can click any number of check boxes from the group.
  1. On the Objects toolbar, click Form Control  Form control tool.
  2. Click Checkbox.
  3. Double-click the check box.
  4. Under Data processing, in the Return data with this label box, enter a label.
  5. Under Data processing, in the Checkbox value box, enter a value.

Create a group of option buttons

Use a group of option buttons to present multiple choices. Visitors can only select one option button (choice) within the group. You can have more than one group of option buttons per form. Create a group by using the same label for each option button in the group.

  1. On the Objects toolbar, click Form Control  Form control tool.
  2. Click Option Button.
  3. Repeat steps 1 through 3 for each option button you want.
  4. Double-click the first option button in the group (not its label) on your Web form.
  5. Under Data processing, in the Return data with this label box, enter a label.
  6. Repeat steps 5 and 6 for each option button in the group.

Note   Option buttons appear in the same place in your publication. You'll need to move them in order to see all of the inserted option buttons.

Add a list box

Use a list box to present a group of items in a list. Users can scroll to select from one or any number of choices in the list box. You determine the available choices and the number that may be selected when you set the properties of the list box.
  1. On the Objects toolbar, click Form Control  Form control tool.
  2. Click List Box.
  3. Double-click the list box.
  4. Under Data processing, in the Return data with this label box, enter a label.
  5. Under Appearance, select the options you want.

Add a single-line text box

Use a single-line text box to provide only one line for typing information.

  1. On the Objects toolbar, click Form Control  Form control tool.

  2. Click Textbox.

  3. Double-click the single-line text box.

  4. Under Appearance, in the Default Text box, enter default text.

  5. Under Data processing, in the Return data with this label box, enter a label.

Add a multiline text box

Use a multiline text box to provide several lines for typing information.

  1. On the Objects toolbar, click Form Control  Form control tool.

  2. Click Text Area.

  3. Double-click the multiline text box.

  4. Under Appearance, in the Default Text box, enter default text.

  5. Under Data processing, in the Return data with this label box, enter a label.

Add a submit button

You must include a submit command button on every form. This button allows visitors to send you their form data. You can rename the button.

  1. On the Objects toolbar, click Form Control  Form Control tool.

  2. Click Submit.

  3. Under Button Properties, click Submit if it is not already chosen.

  4. Click Form Properties.

  5. Choose one of the following methods of data retrieval:

    Save the data in a file on my Web server

    To save your form data on a Web server, your Internet service provider must support Microsoft FrontPage server extensions.

    1. Under Data retrieval method, click Save the data in a file on my Web server.

    2. Under Data retrieval information, type a name for the file where you want to store the data (the form data file).

    3. In the File Format box, click the format in which you want to save the data.

    Send data to me in e-mail

    To receive your data by e-mail, your Internet service provider must support Microsoft FrontPage 98 version 3.0 or later server extensions.

    1. Under Data retrieval method, click Send data to me in e-mail.

    2. Under Data retrieval information, in the Send data to this e-mail address box, type the e-mail address where you want the data to be sent.

    3. In the Subject of e-mail box, type the text you want to appear in the subject line of the e-mail you receive.

    Use a program from my ISP (Internet Service Provider)

    To complete this procedure, you must have information from your Internet service provider.

    1. Under Data retrieval method, click Use a program from my ISP.

    2. Under Data retrieval information, in the Action box, type the address of the program supplied by your Internet service provider.

    3. Click Get or Post, as indicated by your Internet service provider.

    4. Under Hidden fields, click Add.

    5. In the Name box, type the name of a hidden field item supplied by your Internet service provider.

    6. In the Value box, type the value of the hidden field item supplied by your Internet service provider.

    7. Click OK.

    8. Repeat steps 5 through 8 to add more hidden fields as needed.

  6. If necessary, add a text box with information in addition to the label on the submit button.

Add a reset button

  1. On the Objects toolbar, click Form Control  Form Control tool.
  2. Click Submit.
  3. Under Button Properties, click Reset if it is not already chosen.
  4. Click OK.
  5. If necessary, add a text box with information in addition to the name Reset on the button.