Add a text box to a form

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

Add a text box

  1. Click in the form where you want to place the text 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 Textbox.
  3. Type the label for the text box directly on the form.

Set the properties for a text box

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

    This internal name, which is not shown on the form, identifies the text 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. If you want text to appear in the text box when a site visitor first opens the form, type the text in the Initial value box.
  4. In the Width in characters box, type a number indicating how many characters wide you want the box to be.
  5. In the Password field, click Yes or No to determine whether or not the field contains a password so its contents can be encrypted.
  6. 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.