Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Working with Form Fields.

Working with Form Fields

by Allen Wyatt
(last updated February 20, 2016)

2

The easiest way to insert fields in a form is to use the Forms toolbar. You display this toolbar by choosing the Toolbars option from the View menu, and making sure the Forms check box is selected. There are three types of form fields that you can insert in a document: text, pull-down, and check box. Each of these form fields allows the user of the form to select or enter information of the type that you deem appropriate.

As an example, let's say you are creating an order form and you need a field where a user can enter the name of the person making the order. Further, you want to allow only up to 25 characters to be entered in the field. To accomplish this, follow these steps:

  1. Position the insertion point where you want the field to appear.
  2. Click on the Text Form Field button on the Forms toolbar. A field indicator appears in the document.
  3. Select the form field just entered.
  4. Click on the Form Field Options button on the Forms toolbar. The Text Form Field Options dialog box appears. (See Figure 1.)
  5. Figure 1. The Text Form Field Options dialog box.

  6. Make sure the Type pull-down list is set to Regular Text. (This is the type of information you want to allow in the field.)
  7. Change the Maximum Length option to 25.
  8. Click on OK.

You can repeat these steps for all the fields in your form. The only difference would be the type of field entered (which should be appropriate to the type of information you want entered) and the options you set for each field.

The trickiest option you can set is the Maximum Length option, which only appears when you are working with text fields. By default, this option is set to Unlimited, which means the user can enter any amount of information desired. If the information being entered exceeds the right margin of your document, the field height increases and the text entry continues on the next line. If you don't want this effect in your form, then the only way around it is to set some maximum length for the field. For instance, if you don't want your field to wrap to the next line, then you need to set a maximum length which is guaranteed to fit on a single line. Calculating such a length can be difficult, particularly if you are using a proportional font. For this reason, some people like to set the font of their fields to a monospace font (such as Courier) which makes calculating field lengths easier.

One way around the potential "overrun" problem is to create a table to contain your form fields. The advantage to this is that you can define the width and height of every cell in your table, which limits the vertical movement of text fields if they should be too long. The disadvantage is that some information is not readily displayed in tabular format, and if the entered text is too long, it is not all displayed on the screen or printout. (If the text overruns the size of a static table cell, the additional information is suppressed.

As you set the options for your various fields, notice that you can also define macros which can be executed when the field is entered (first selected) and when it is exited. These allow you to process the information provided in the field.

When a form is being used, the information entered into a field is assigned to a bookmark name. This name is specified in the Options dialog box for each field. Through the use of other bookmark-related fields, you can thus reference field contents elsewhere in your document.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1011) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Working with Form Fields.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Trimming Spaces from Strings

When processing text with a macro, you often need to remove extraneous spaces from the text. VBA provides three handy ...

Discover More

Formatting Line Numbers

Legal documents often use automatic line numbering for their documents. If you want to format those line numbers, you can ...

Discover More

Selecting a Paper Source

When you print a worksheet, you may want to specify that the printout be done on a particular paper tray in a particular ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Safely Relocking Forms

In order to use a form in Word, it must be protected. This means that you cannot make any changes to the form, even if ...

Discover More

Undesired Font in Form Fields

If you get unwanted formatting in your form fields, it could be because of the way you are formatting the line on which ...

Discover More

Protecting Parts of a Document

Word doesn't require you to protect entire documents. Instead, you can protect different sections within a document, as ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight minus 6?

2019-08-29 19:44:52

Shirley Graham

We have some pretty complicated Protected Forms. They care created with text boxes and checkboxes and published to a website in both Word and Acrobat PDF formats. With Word 2010, we would get the Word Form perfectly usable, the File/Save As to make it a PDF file. Then we would use acrobat Pro XI to convert the Word document into a PDF form.

With Word 2016 and Acrobat Pro 2017, this has proven to be unreliable. All the checkboxes turn into text fields in the Acrobat form and many locations that do not contain a text field in the Word document, are created for the Acrobat document. Checkbox form fields in Word are created as text fields in the Acrobat form.

I'm looking for a way to remove all form fields (not field codes) and replace them with simple boxes (Wingding 2) to see if Acrobat does a better job converting the form. My simple tests show that if the symbol is within a table, Acrobat detects that a text field is "needed" in Titles and other cells within the table.

Is there a way to remove Control form fields in a Word document?
Thanks for your help.


2016-11-25 15:08:28

cheryl

I've followed your directions several times, and in every case, the character limit fails to stick.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.