WD2000: How to Create an Online Form Using Form Fields

ID: Q212328


The information in this article applies to:


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:

  1. Create a template.

    1. On the File menu, click New.


    2. Click the General tab. Select Blank Document.


    3. Select the Template option under Create New, and click OK.




  2. Lay out the form. Include any text, tables, or graphics that you want to appear in the form.


  3. Insert the form fields.

    1. Position the insertion point where you want the user to type or select information.


    2. On the View menu, point to Toolbars and then click Forms. The Forms toolbar appears.


    3. Click the appropriate form field button on the Forms toolbar.


    4. To specify the options of the form field, double-click the form field; or right-click the form field and then click Properties. Select the options you want to use.


    5. Repeat steps a-d for each form field you want to add to your form.


    NOTE: Each type of form field is described in the table below.
    
    
        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. 


  4. Protect the document.

    1. a. On the Tools menu, click Protect Document.


    2. Click Forms, and then click OK.


    Word protects the template from changes so users can enter information only in the form fields.


  5. Save and close the template.

    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 a user 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 macro to Run Macro on Entry or Run Macro on Exit in the Form Field Options dialog box to automatically update the field.

Method 3

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.



REFERENCES

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

Q157463: WD97: How to Use Calculate on Exit in a Forms Document

Q115607: WD97: How to Update Fields in a Protected Form

Q137439: WD: How to Unlink Form Fields

Q191027: WD2000: Preserving Text When Re-protecting a Form Without Macros

Q110014: 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:

Q142213: WD97: How to Create an Automated Form with Fill-in Fields

Additional query words: forms setformresult template invoice vba


Keywords          : kbdta kbfield winword wd2000 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: June 15, 1999