Create a Web form and add form controls

Microsoft Office Publisher 2003

Use a checkbox to present a yes/no choice. If you add several checkboxes to present a group of related but independent choices, visitors can click any number of checkboxes from the group.

  1. On the Objects toolbar, click Form Control Button image.
  2. Click Checkbox.
  3. Double-click the checkbox.
  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.

ShowCreate 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 or page. Create a group by using the same label for each option button in the group.

  1. On the Objects toolbar, click Form Control Button image.
  2. Click Option Button.
  3. Repeat steps 1 and 2 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. In the Option button value box, enter a value for the option button.
  7. Repeat steps 4, 5, and 6 for each additional 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.

ShowAdd 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 Button image.
  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.

ShowAdd a textbox

Use a textbox to provide only one line for typing information.

  1. On the Objects toolbar, click Form Control Button image.

  2. Click Textbox.

  3. Double-click the textbox.

  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.

ShowAdd a text area

Use a text area to provide several lines for typing information.

  1. On the Objects toolbar, click Form Control Button image.

  2. Click Text Area.

  3. Double-click the text area.

  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.

ShowAdd 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 Button image.

  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:

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

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

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

ShowAdd a reset button

  1. On the Objects toolbar, click Form Control Button image.
  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 adding the name Reset on the button.