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
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:
- On the File menu, click New, and then click Blank Document.
- Under Create New, click Template. Click OK.
- 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.
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.
Method 2: Create a Field by Using Keystrokes
- Position the insertion point where you want to insert the field.
- Press CTRL+F9. Field braces ({ }) appear in the document.
- Position the insertion point inside the field braces.
- 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.
- On the File menu, click Save As.
- Name the template appropriately.
How to Use the Template
To create new documents based on the new template, follow these steps:
- On the File menu, click New.
- Select your template.
- 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
REFERENCES
You can also use SET and ASK fields in conjunction with FILLIN fields.
For additional information about forms, click the article numbers below to view the articles in the Microsoft Knowledge Base:
212328 WD2000: How to Create an Online Form Using Form Fields
212378 WD2000: How to Control the Tabbing Order in a Form
212101 WD2000: Ampersand Is Displayed Incorrectly in Drop-Down List Box
212080 WD2000: Length of Form Field Expands or Contracts, Affects Alignment
212356 WD2000: How to Update Fields in a Protected Form
For more information about the SET field, click Microsoft Help on the Help menu, type field codes: set field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
For more information about the ASK field, click Microsoft Word Help on the Help menu, type field codes: ask field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
back to the top
Additional query words: fillin field fields forms auto keyboard merge automatic automatically vba formfield
Keywords: kbhowto kbhowtomaster kbfield kbfaq KB238278