Microsoft KB Archive/187864

= WD: How to Create an Online Form Using Form Fields =

Article ID: 187864

Article Last Modified on 8/21/2007

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a

-



This article was previously published under Q187864





SUMMARY
This article describes how to create an online form using form fields. A form is a template or document with empty areas in which to collect and organize information. An online form uses form fields, which may include text boxes to fill in, check boxes to select or clear, and drop-down list boxes that contain lists of items from which to select choices.



MORE INFORMATION
To create an online form, follow these steps:

  Create a template using the appropriate method for your version of Word.

Word 7.x:
 On the File menu, click New. Click the General tab. Select Blank Document. Select the Template option under Create New, and click OK.

Word 6.x:
 On the File menu, click New.</li> Select the Template option under New, and click OK.</li></ol> </li> Lay out the form. Include any text, tables, or graphics that you want to appear in the form.</li>  Insert the form fields.

 Position the insertion point where you want the user to type or select information.</li> On the Insert menu, click Form Field.</li> Under Type, select the type of form field you want to insert.</li> In the Form Field dialog box, click Options. Specify the properties of the form field, and then click OK.</li> Repeat steps a-d for each form field you want to add to your form.</li></ol>

NOTE: Each type of form field is described in the table below: <pre class="fixed_text">   Type        Description

Text       Use a regular text form field when the form requires an entry of any type, including text, numbers, dates, current date and time, or               calculations. You can specify a default entry so that the user does not have to type an               entry except to change the response.

Check Box  Use a check box to prompt the user for a yes or no response.

Drop-Down  Use the drop-down form fields to provide the user with a list of answers to choose from. Selecting from a list rather than typing entries makes it easier for users to fill in               the form correctly. </li> Protect the document.  On the Tools menu, click Protect Document.</li> Click Forms, and then click OK. Word protects the template from changes so users can enter information only in the form fields.</li></ol> </li> Save and close the template.</li></ol>

In Word 6.x, all document templates are saved to the <Winword>\Template folder by default. The name of the template is available when the user clicks New on the File menu.

In Word 7.x, you can save the template to any folder. If you save the template to the default folder of Msoffice\Templates\Payroll, for example, the template will be available when the user clicks New on the File menu, and clicks the Payroll tab.

Updating the Fields
Templates containing calculations as the type of text field require that you update the fields. To do this, use any of the following methods.

Method 1:

Assign a Run On Exit Macro to update the field doing the calculation.

Method 2:

To have Word update all fields when the document is printed, follow these Steps:


 * 1) On the Tools menu, click Options.
 * 2) Click the Print tab and then click to select the Update Fields check box.
 * 3) Click OK.

For additional information, please see the following articles in the Microsoft Knowledge Base:

110174 WD: Preserving Text When Reprotecting a Form Without Macros

110014 WD: Calculation Text Fields Within Forms Fail to Update

You can also create online forms using ASK and FILLIN fields. For more information, please see the following article in the Microsoft Knowledge Base:

187813 WD: How To Create An Automated Form with Fill-in Fields

Or, see the following references:

"Microsoft Word for Windows User's Guide," version 6.0, pages 305-326

"Microsoft Word for Windows User's Guide," version 2.0, pages 472-482

Additional query words: forms setformresult template invoice kbfield

Keywords: kbfield kbforms kbhowto KB187864

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.