Microsoft KB Archive/187551

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

Article ID: 187551

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q187551





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.  On the File menu, click New. Click the General tab. Select Blank Document. Select the Template option under Create New, and click OK.  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 View menu, point to Toolbars and then click Forms. The Forms toolbar appears.</li> Click the appropriate form field button on the Forms toolbar.</li> To specify the options of the form field, double-click the form field; or hold down CONTROL, click the form field and then click Properties. Select the options you want to use.</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>

You can save the template to any folder. If you save the template to the default folder of Microsoft Office 98:Templates:Payroll, for example, the template will be available when someone clicks New on the File menu, and then 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:

Use the Calculate On Exit option in the Form Field Options dialog box.

Method 2:

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

Method 3:

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


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

Additional query words: forms setformresult template invoice

Keywords: kbhowto kbforms kbfield KB187551

-

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

© Microsoft Corporation. All rights reserved.