Chapter 15. Fields and Forms
Word uses fields to perform all kinds of built-in functions, such as inserting automatic dates into headers, making calculations in tables, and creating indexes or tables of contents. Chapter 2 covers how fields fit into the overall Word document. This chapter details how to insert, edit, format, and manipulate fields.
There are dozens of fields in Word, and I’m not going to cover specific fields in much detail in this chapter. Rather, this chapter examines what a field is, what it does, and how it is constructed. With this foundation, it should be easy to browse through the available fields and put them to good use. Word’s help file details every field in Word, lists the switches used with the field, and even gives examples.
This chapter also covers forms, documents created using collections of certain types of fields. Though form fields differ in structure and use from regular Word fields, the two are conceptually similar. Forms provide a structured way to collect user input (users enter data into the form fields) and then do something with that input — calculate it, format it, or just save it.
What Is a Field?
A field is a set of instructions that draws information from somewhere, formats and manipulates that information, and inserts the results into a document. This information might be drawn from another field, a file, the system clock on your computer, or from input requested when the field is activated.
The set of instructions is called a field code, ...