WD2000: How to Create an Automated Form with Fillin Fields
ID: Q238278
|
The information in this article applies to:
SUMMARY
This article describes how to create a simple form that automatically
prompts a user to fill in information.
MORE INFORMATION
Follow these steps to create a template with automatic fill-in fields:
- On the File menu, click New.
- Select Blank Document.
- Under Create New, select Template. Click OK.
- Create the FILLIN fields.
There are two methods you can use to create FILLIN fields: menus and keystrokes. Select the method best suited for you.
Method 1: Creating a Field 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, select Mail Merge.
- In the Field Names list, select 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 type quotation marks around the prompt you want to display. For example, use the following syntax to display a prompt asking the user to enter their name:
FILLIN "Please enter your first and last name."
- Click OK. You then see a sample of the prompt. Click OK to return to your document.
NOTE: To view the field code you just inserted, press ALT+F9.
- Repeat steps a-f for every place in the document where you want a FILLIN field.
Method 2: Creating a Field 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 <prompt> is what Word asks the user to type:
FILLIN "<prompt>"
NOTE: If you press F9 while the insertion point is still on the field, you can see a sample of the prompt 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.
Using the Template:
To create new documents based on the new template, follow these steps.
- On the File menu, click New.
- Click to select your template.
- Click OK.
Word creates a new document, automatically searches for all FILLIN fields in the document, and begins to prompt the user for input.
Additional Information
For additional information about using form fields, please see the following article in the Microsoft Knowledge Base:
Q212328 WD2000: How to Create an Online Form Using Form Fields
You can also use SET and ASK fields in conjunction with FILLIN fields.
REFERENCES
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.
Additional query words:
fillin field fields forms auto keyboard merge automatic automatically vba
Keywords : kbdta kbfield wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: July 30, 1999