How To Add Fillable Fields In Word



Head off to the File tab and click on Options. That will open the Word options window. Now, select Customize Ribbon and click on the first drop-down. From the scrollable list in the first column. Jul 14, 2010 To add additional fields you would adapt the current code to accommodate the new fields. The benefit of checking for a blank first is that we ensure we’re not overwriting something the user has already put there. Here’s an example of a script with 4 fields that will be populated by the content of our first field.

  1. By default, you can’t create forms in Word unless you enable the Developer tab in the ribbon. Since it’s not used by a lot of people, Microsoft disabled it by default. To enable the tab, click on File and then Options. On the left-hand side, click on Customize Ribbon and then check the Developer box in the right-hand list box.
  2. One last form field to add. A Date Picker (aka a calendar) 39. Type the label for the date field. Place your cursor where you want the box to appear To add the date picker field 40. Go to the Developer Tab. Find the Controls Box. Click on the Date Picker Content Control icon 3 2 1 Next.
  3. Trying to make a fillable form That has a time input that is in a format like i.e 11:00 AM and that's the only way you can put the time in.

2020-12-21 15:21:18 • Filed to: MS Word Features • Proven solutions

Here, you will learn how to create fields in Word. Most people often underestimate the importance of fields — crucial placeholders working behind the scenes in a document to facilitate the processes involved with several of extremely powerful features in Word like indexing, mail merging, automatic generation of tables of contents, etc. To create fields in Word, it is pertinent to note that they are of various types, with each type serving a particular function. Read on to benefit from the tips shared below on how you can create form fields in Word:

Part 1: How to Create Fields in Word
Part 2: Advantages of PDF Format
Part 3: How to Create Fields in PDF Documents

How to Create Fields in Word

This information is only applicable to Word 2013 and above. Adding a Legacy Text Field in Microsoft Word:

Step one: Under the 'Developer' tab, go to the Word 'Ribbon', click the icon for 'Legacy Tools'. Then, you will see a drop-down menu.

Step two: Under the 'Legacy Form' section on this drop-down menu, select the icon for 'Text Form Field.

Step three: You can modify the text field properties in the 'Design Mode'. To go to this mode, click the icon for 'Design Mode'.

Step four: In your document, double-click the text field. Word brings the dialog box for 'Words Form Field Options' then you can choose the 'Type' of the text field (like regular text, current date, date, number, and others), maximum field length and so on. Then press 'OK'.

Step five: To protect your document, carry out the following steps:

  • Under the tab 'Developer', click the 'Protect Document' icon, which is displayed under the 'Protect' group. You will then see a drop-down menu.
  • Choose the option 'Restrict Formatting and Editing' from the menu. You will see a pane on the right-hand side.
  • On this pane, which is beneath the heading 'Editing Restrictions', choose the checkbox, then choose the option 'Filling in Forms', displayed on the drop-down list.
  • Click the button 'Yes, Start Enforcing Protection'.
  • Create a password, and you're all set to make use of text fields.

Please bear in mind that the 'Yes, Start Enforcing Protection' will be inactive if you don't disable the 'Design Mode' feature. For all other fields in the form, you can repeat the steps highlighted above. But the difference is the field type entered (which depends on the kind of information you intend entering) as well as the options you select for each of the fields.

Advantages of PDF Format

PDF, Portable Document Format, represents a file format useful for presenting and exchanging documents dependably and without employing hardware, software, or operating system (OS). Adobe invented it in 1992, and the format has now evolved into an open standard, which is maintained by the ISO (the International Organization for Standardization). PDF documents can contain form fields, buttons, links, video, audio as well as business logic.

Since 1991, when PDF was birthed from The Camelot Project, it has grown in popularity dramatically and has become one of the universally accepted file formats in modern times, along with Word. Though PDF can perform a number of tasks, which Word can also do; it has a few advantages over the latter format. First, PDF is the best format if you want high-quality print-outs. Second, it is great for creating business and legal documents, in addition to forms, which have to retain their precise appearance. There are numerous programs for creating documents in Portable Document Format, and PDFelement is one of the best File Management tools available.

PDFelement is loaded with spectacular features for creating, annotating, converting, editing, and sending PDFs. It is also perfect for creating fields in PDF documents.

How to Create Fields in PDF Documents

Step 1. Create PDF Form from Templates

Create PDF field using templates by downloading a form template from the program itself.

Step 2. Create PDF Form from Other Formats

If you have a Word document with Forms, or other office format files, you can just click the button 'Create PDF' shown on the main tab and select the file you want create to PDF.

Step 3. Create a Blank PDF Form

Create a PDF field using a blank PDF by opening the PDFelement; then go to 'File' > 'New' > 'Blank Document'.

Step 4. Create Fields in PDF Forms

You should click the 'Add Text Field' in 'Form' tab; toggle the cursor over the page in the PDF document so as to add an interactive field.

Right-click the field to choose properties, then you can set its colors, style, appearance and actions etc.

You should create a dropdown list. To do this, click the 'Combo Box' and put your cursor on the section you intend placing the dropdown in. Then, click to put it there.

You should align your field elements. To make sure every field element is aligned properly, click the 'Dropdown' so as to deselect it.

The, click as well as drag to select of every one of the items which has been added. Immediately every component is selected, click 'Align' which you can see in the sidebar. This option will correctly align all your field elements. Learn more details about how to create fillable fields in PDF here.

Adding form fields in word 2010

Free Download or Buy PDFelement right now!

Free Download or Buy PDFelement right now!

Buy PDFelement right now!

Buy PDFelement right now!

The Anchorage

Personal website of Gregory K. Maxey, Commander USN (Retired)

Do you have ad-blocking software enabled? While I respect your right to do so, your donations and the minimal advertisements on this site help to defray internet and other costs of providing this content. Please consider excluding this website from blocking or turning off the blocker while browsing this site.

DISCLAIMER/TERMS OF USE

The information, illustrations and code contained in my 'Microsoft Word Tips' are provided free and without risk or obligation.

However, the work is mine. If you use it for commercial purposes or benefit from my efforts through income earned or time saved then a donation, however small, will help to ensure the continued availability of this resource.

If you would like to donate, please use the appropriate donate button to access PayPal. Thank you!


This Microsoft Word Tips & Microsoft Word Help page offers several solutions to the question, 'How do I enter data in one place in a document and have it automatically repeated in other places?' My intention is not to reinvent the wheel, so after a brief discussion I may simply send you on to an existing tips page or other web articles containing full explanations of some of the more comprehensive methods.

Note: A lot of this material was prepared and posted before the release of Word 2007 and the introduction of Content Controls. Sections 1 through 6 address methods that can be used in all versions of Word (at least Word 2000 onwards). Some of the graphics and/or user interface controls I mention may be from Word 2003. Regardless, the methods are functionally the same.

See section 7, Content Controls, if you want to go directly to information about Content Controls introduced in Word 2007.

1. Userform

A Userform provides a graphical User Interface (UI) with a document template which you can use to prompt your document user to enter all pertinent data. User entered data is then populated in one or multiple locations in the document.

  • A basic introduction and video example creating a userform is available here: Create Userform YouTube.
  • For more in-depth examples see my Create and employ a Userform, Custom VBAUserform Message Box and Validate Userform Text Entry.

2. On-Line Form

If you find a Userform daunting, or if you want to avoid VBA and macros, then you might try a Word on-line (protected) form.

Note: Long time Word users and particularly Word 2003 users are likely to think of this as simply a 'protected' form using formfields. Users familiar with the Word 2007/2010/2013 interface will likely think of it as a 'protected' form using 'legacy' formfields.

  • On-line forms are Word documents that have 'fill in the blanks.' They are like a pre-printed form with 'fields' on the screen instead of blank lines on paper.
  • The beauty of on-line forms is that you can fill in one field and Word will fill in or populate 'most' other designated 'like' fields automatically. An example of an on-line form is provided in the following demonstration project.

On-Line Form demonstration

Word 2003

  • Open a new blank document. Click View>Toolbars>Forms. The forms toolbar opens.
  • Type - 'Customer Name: '
  • Insert a text formfield using the forms toolbar.
  • Double click the text form field to display the options dialog. Note the bookmark name (Text1) and check 'Calculate on exit.'

Word 2007/2010/2013

  • Open a new blank document.
  • Type - 'Customer Name: '
  • Insert a text formfield using the Developer tab, Controls group, Legacy Tools control, 'Legacy Forms' gallery.
  • Note: If the Developer tab is not visible (default in Word 2007) you can show it using Word>Options>Popular>Show Developer tab in ribbon. For Word 2010/2013 use the Customize Ribbon options.

  • Double click the text form field to display the options dialog. Note the bookmark name (Text1) and check 'calculate on exit.'

Adding Form Fields In Word 2010


I've changed the bookmark name. See note below.

Notes:
Text1 is the default name for the first text form field inserted in the document. You can change this name to practically whatever you want and you should change it to better suit your application.
If you plan to use On-line (protected) forms in Word 2007/2010/2013 see my: Classic Form Controls. With the Classic Form Controls Add-In, you have direct ribbon access to all the old Word 2003 Forms Toolbar controls.

  • Now enter one or more REF fields in your document where you want to repeat the customer name. REF fields fill the role of the 'like' fields I mentioned earlier.

Note: When adding your REF fields remember they must point to the correct target. If you renamed your form field's bookmark name (e.g., from Text1 to CustomerName) then your REF field must point to CustomerName e.g., {REF CustomerName }.

Bonus Tip: You can quickly enter REF fields by typing and selecting 'REF Text1' or 'REF CustomerName' (excluding the quotes) and then pressing CTRL+F9.


Word 2003

  • After you have entered one or more REF fields, press the Protect Form icon on the Forms tool bar.
  • Type a name in the form field and press TAB. Word will populate the REF Text1 fields with the name you entered in your form field.

Word 2007/2010/2013

  • After you have entered one or more REF fields
  • Protect the form
    1. Developer>Restrict Editing
    2. Editing Restrictions>Check Allow only this type of editing in the document.
    3. Set the dropdown to Filling in forms
    4. Click on Yes, Start Enforcing Protection
  • Type a name in the form field and press TAB. Word will populate the REF CustomerName fields with the name you entered in your form field.

Conclusion

  • Additional notes and complications.

1. In the introduction to this section I stated that Word will fill in or populate 'most' other designated 'like' fields automatically. REF fields that are located outside the main text range of the document (e.g., headers, footers, text boxes, etc.) will not automatically update on exit from the field. However, there are some well suited work a rounds. You can use a STYLEREF field as described in MVP Suzanne Barnhill's presentation on STYLEREF fields, or you can run a macro on exit from the field that will update all of the fields, including REF Fields, anywhere in a document. For more on macros for working with the field collection in Word, see: Field Macros.

2. For reasons too complicated to go into here, REF and other field codes will not be updated using 'calculate on exit' if the REF field follows a TOC field in the document. Provided that you don't need the TOC to update after protecting the document, you can simply lock the TOC field (select it and press CTRL+F11) before protecting the document. When you need to update the TOC you can unprotect the form and unlock the TOC with CTRL+SHIFT+F11. If it is essential that the TOC itself be 'dynamic' and updated based on real time formfield text changes then you can use the method illustrated below.


Document TOC field is physically located following last REF field
Visible TOC is displayed by the REF field
Process requires a bit of VBA
Code to execute

3. Bookmarks

Probably the easiest method is to simply select and bookmark the text you want repeated and use REF fields as described above.

  • The menu sequence Insert>Bookmark opens the Bookmark dialog box. Here we are creating a bookmark 'bmCompanyName.'
  • Create the REF fields as described above, right click, and select update field

Bonus Tip: Use of the field name REF is optional in cross references to bookmark names (i.e., you can use { REF bmCompanyName } or simply {bmCompanyName} as I have done in this example).

Bonus Tip: If you change the bookmark value, simply press CTRL+a to select all fields and press F9 to update.

4. OLE Link

Simply copy the text you want repeated and paste it in the repeated location use menu sequence Edit>Paste Special. Paste as Formatted or Unformatted text and select the radio button 'Paste link.' This automatically creates a bookmark at the source location and creates a Link field at the destination locations.

5. DocProperty

Nearly all of the methods described above apply a cross reference to bookmarked text. Each has its advantages and disadvantages.

  • Even the most basic User Form requires rudimentary VBA macros.
  • Online form must be protected with accompanying limitations
  • Bookmarked text is easily and accidentally deleted

A DocProperty is simple to use and much less prone to be accidentally altered or deleted. There are two types of DocProperties, built-in and custom. To view and apply DocProperties, click File>Properties. The Summary tab lists built in DocProperty names, the Custom tab list a dozen or so pre-named properties. Both tabs provide the user interface for storing document information as properties.

DocProperty demonstration

  • Open the Properties dialog (File>Properties).
  • Click the 'Summary' tab.
  • Fill in the Title, Subject, and Author fields then click 'OK'
  • Open the Properties dialog (File>Properties).
  • Click the 'Custom' tab.
  • Type in a unique custom property name (e.g., badge number).
  • Apply a type (text is default).
  • Type in value value (e.g., 0001).
  • Click 'Add' then click 'OK'.
  • Now create your fields. We are going to use the three built in fields (Title, Subject, Author) and the custom property (Badge Number) with { DocProperty } fields to populate a form.

Note: Use of the field name 'DocProperty' is optional with built-in DocProperties. Field name required with custom document properties and property name must be enclosed in quotes.

  • Built in and custom DocProperty fields can be used once or multiple times in each document to populate form entries and repeat text. When all of your fields are entered simply select all (CTRL+a) and F9 to update the fields.

6. Automatic User Prompts

Many people ask 'How can I set up my document or template so that I am prompted to enter information when I open the document or create a new document.' The best answer to this question is to send you back to the Userform. It is the Cadillac interface between the human user and the Word form. Still there are alternatives. Each with its advantages and disadvantages. All are best employed using a template vice individual documents.

FILLIN field

  • A FILLIN field fires a prompt when a new document is created based on a template containing the FILLIN field, when a document containing a FILLIN field is opened, and (very unfortunately) when you print a document containing a FILLIN field if the 'Update Fields' option is checked in File>Print>Options>Printing Options. There is no bookmark associated with the FILLIN field.

Bonus Tip: You can of course nest a FILLIN field in a Set field to create a bookmark and use REF fields as described in the bookmark method above or ASK method below (e.g., { SET Name{FILLIN 'What is your name?'}{REF Name}).

ASK & REF fields

  • An ASK field fires a prompt when the field is specifically instructed to update. Like the FILLIN field, this unfortunately occurs when you print.
  • Unlike a FILLIN fields, ASK fields do not automatically fire the prompt when a new document is created or when an existing document is opened.
  • In addition to firing a prompt, the ASK field sets a bookmark. The bookmark value can then be employed with REF fields to repeat data in multiple fields.
  • In the illustration that follows, the ASK field sets the bookmark value 'bmName.' The bookmark is used with REF fields to populate the form.
  • Like most Word fields, the ASK field can be updated (and therefore fire the prompt) by selecting the field and pressing F9 or update all document fields by pressing CTRL+a and then F9.

Bonus Tip: The following single line of VBA code in a template AUTONEW or AUTOOPEN macro can be used to auto fire the template ASK field: 'ActiveDocument.Fields.Update


7. Content Controls

Content Controls (CCs) are a feature introduced with Word 2007. While they have some room to grow, they are already incredibly versatile and will most likely meet or exceed your needs for repeating data in a document.

The real power of content controls lies in their ability to be bound (or mapped) to a custom XML data node contained in the new OfficeOpenXML file format. Through this binding:

  • All CCs mapped to a unique data node reflect the same value.
  • If you change the value in a document CC that is mapped to a data node then the data node value is also updated and changed.
  • Consequently, all other CCs mapped to that data node are updated and changed.

Do you see the huge impact and advantage? This means that 'any and all' of your repeated data fields can serve as a master data field. For example, if you are at the end of a long document and notice a misspelling in a client name you can change it then and there and all previous mapped CCs will update!! You don't have to plow back to the beginning of your document, reopen a form or property dialog, to update data.

Built-in Core/Extended/Cover Page Property Content Controls

  • A very simple method of repeating data with content controls without requiring any knowledge of any XML and VBA programing skills or other third party tools is to use one or more of the built-in Core/Extended/Cover Page Property content controls collection.
  • The collection consists of 15 pre-defined content controls mapped to internal data nodes in the OpenOfficeXMLFormat file structure of the document.
  • Insert the controls in your document using the Insert tab>Text>QuickParts> Document Property menu.

Note: These controls are actually mapped to the 15 like named built-in core, extended or cover page properties and they can provide an effective way to manage those properties. If you insert one and enter a value and then go look at the document properties dialog it should come as no surprise to see the data reflected there.

  • But hey, its your application, use it in whatever way makes your work easiest. If you need a repeating data field and don't have need for the cover page property 'Abstract' (for example), insert the 'Abstract' control in your document, use the Developer tab>Controls>Properties dialog to rename it to suit your needs and your job is done.

Insert Document Property Content Control
Assign a meaningful title using CC Properties dialog
Define placeholder text as required.
Copy and past CC as required.
Change one and they all change!!

Notes:
1. Remember the method discussed above employs the content control designed for the built-in cover page property 'abstract.' While we have renamed it 'Client Name,' it still manages the cover page 'Abstract.'
2. Several of the extended and cover page properties are not 'pure' document properties in a sense. For example, if you attempted to use a { DocProperty 'Abstract' } field in your document your field result returns an error.

Simple Linked Content Controls

While not actually mapped, the following quick and simple method was suggested by Aaron Marin via user feedback on this page:

  • Insert a plain text content control.
  • Select the control (by clicking the small control tab)then Developer>ontrols>Properties and define a title for the control.
  • Right click and select 'Copy.'
  • Position the cursor where you need the text repeated.
  • Using the Home tab click Paste>Paste Special and select the 'Paste link' option button. Then in the 'As' dropdown select 'Unformatted Text' and click 'OK.'
  • Now anytime the text is changed in the initial control and you exit the control all of the linked copies will update.

Note: Unfortunately the simply linked controls are very fragile not really practical in most situations. If you save the file with a new name, the link between the controls is broken. I've left left the method posted here for informational purposes.

Advanced Custom Mapping

A full blown discussion of the VBA and 'under the hood' workings of the XML data store are beyond the scope of this tips page. A good understanding of both are required should you decide to roll up your sleeves and create your own detailed custom content control data store. However, just for for the sake of completeness, the following VBA script will allow you to create multiple content controls mapped to a single data node:

See: Installing Macros for instructions on how to set up and use the macros in this tips page.

By adding additional child nodes to the basic XML and judicious management of the mapping, you could dozens or hundreds of content controls linked to dozens or hundreds of unique data nodes.

For your convenience I have included tools for simplifying content control mapping in a Word Template add-in: Content Control Tools.

8. StyleRef Fields

The StyleRef Field is particularly handy for repeating/displaying main body text defined by a specific style in a header or footer. A basic example is repeating text defined using the 'Title' style shown below:

Field code
Field result

The text returned by a StyleRef is defined by several factors 1) the style name 2) applied switches, and 3) field location in the document. In the following example I have created a character style named WordDef and applied it to first word in each listed definition:

When the fields result is displayed the resulting text is evaluated according to the following rules:

  • Word searches the current page, from top to bottom, for the specified style.
  • If the style isn't found, Word searches next from the top of the page to the beginning of the document, and then from the bottom of the page to the end of the document.
  • If the l switch is used, Word searches from the bottom of the page to the beginning and then to the end of the document.

Note: The style referenced must be applied to text in the main body of the document. Otherwise the field will return 'Error - No text of specified style found in document.'

For a full list of StyleRef field switch and position behavior, see: StyleRef Field

9. Document Variables

Lastly, the 'Hidden Gems' in Word, Document Variables. Created, edited and destroyed only with VBA, Document Variables provide a robust method for storing information. This stored information remains part of the document and is ready for repeated using even if a document is closed and then reopened. This information is easily retrieved and displayed in your document using the DocVariable field. The following template contains examples of the document variable and DocVariable fields used to create a simple form. The template also provides examples of setting document properties using VBA: VBA Template.

Note: For more on document variables, see my: Create and Employ a Userform.

That's it! I hope you have found this tips page useful and informative.

PAYMENTS/DONATIONS

Do you want to make a payment for consulting work or donate to help support this site?

PayPal is a safe, easy way to pay online.

How To Add Fillable Fields In Word 2007

Use the appropriate currency 'Donate' button to make a payment or donation.

Microsoft Word Fields Create


How To Add Fillable Fields In Word

Search my site or the web using Google Search Engine

How To Insert Fillable Fields In Word 365