Microsoft KB Archive/238278

= HOW TO: Create an Automated Form with Fill-in Fields in Word 2000 =

Article ID: 238278

Article Last Modified on 10/27/2002

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q238278



For a Microsoft Word 2002 version of this article, see 291282.

IN THIS TASK
SUMMARY Create a Template With Automatic Fill-in Fields
 * Method 1: Create a Field by Using the Menus
 * Method 2: Create a Field by Using Keystrokes

How to Use the Template REFERENCES



SUMMARY
This article explains how to create a simple form that automatically prompts a user to fill in information.

Create a Template With Automatic Fill-in Fields
To create a template with automatic Fill-in fields, follow these steps:
 * 1) On the File menu, click New, and then click Blank Document.
 * 2) Under Create New, click Template. Click OK.
 * 3) Create the Fill-in fields.

There are two methods that you can use to create Fill-in fields: menus and keystrokes. Select the method best suited for your circumstances.

back to the top

Method 1: Create a Field by Using the Menus
 Position the insertion point where you want to insert the text field. On the Insert menu, click Field. In the Categories list, click Mail Merge. In the Field Names list, click Fill-in. The FILLIN field is displayed in the Field codes text box below the Categories list. Click inside the text box to the right of the word FILLIN, and then type quotation marks around the message that you want to display. For example, use the following syntax to display a message that asks the user to enter a first and last name:

FILLIN "Please enter your first and last name."

 Click OK. You then see a sample of the message. Click OK to return to your document.

NOTE: To view the field code that you just inserted, press ALT+F9. Repeat steps 1 through 6 for every place in the document that you want a FILLIN field.</li></ol>

back to the top

Method 2: Create a Field by Using Keystrokes
<ol> Position the insertion point where you want to insert the field.</li> Press CTRL+F9. Field braces ({ }) appear in the document.</li> Position the insertion point inside the field braces.</li> Type the following, where message is the instruction that Word prompts the user with (about what to enter in this field):

FILLIN "message"

NOTE: If you press F9 while the insertion point is still on the field, you can see a sample of the message that will be displayed. This step is not necessary to create the FILLIN field.

</li> On the File menu, click Save As.</li> Name the template appropriately.</li></ol>

back to the top

How to Use the Template
To create new documents based on the new template, follow these steps:
 * 1) On the File menu, click New.
 * 2) Select your template.
 * 3) Click OK.

Word creates a new document, automatically searches for all FILLIN fields in the document, and then begins to prompt the user for input.

back to the top

<div class="references_section">