Hot Docs Developer 10 Help
Hot Docs Developer 10 Help
Developer 10
Contents
SECTION 1: LEARNING ABOUT HOTDOCS............................................................................................... 1
Chapter 1: Becoming Familiar with HotDocs.................................................................................................................... 2
What Is HotDocs?......................................................................................................................................................... 2
Plan a Template Development Project......................................................................................................................... 4
Quick Help Links......................................................................................................................................................... 10
ii
iii
iv
vi
vii
viii
ix
Group Form Fields So Answers Can Flow From One Field to Another................................................................... 601
Attach a Variable to Single-Character Boxes........................................................................................................... 602
Attach a Multiple Choice Variable to a Group of Check Boxes................................................................................603
Ungroup Form Fields.................................................................................................................................................604
Attach an Answer Wizard to a Field......................................................................................................................... 605
Chapter 40: Changing Field Properties.........................................................................................................................606
Preview the Formatting of Answers in a Form Field................................................................................................ 606
Show and Hide Fields............................................................................................................................................... 607
Change the Field Type..............................................................................................................................................608
Change the Font Used for a Field............................................................................................................................ 610
Format Lines and Paragraphs of Text in a Form Field............................................................................................ 611
Rotate Answers in a Field.........................................................................................................................................612
Keep Contents of Form Fields from Printing............................................................................................................ 613
Create a Field for Behind-the-Scenes Tasks............................................................................................................614
Create a Resource Link on a Form.......................................................................................................................... 615
Cross Out Static Text on the Form...........................................................................................................................616
Circle Static Text on a Form.....................................................................................................................................617
Insert a Graphic File in a Form................................................................................................................................ 618
Convert Answers on the Form to Bar Code Format.................................................................................................619
Move a Field on a Form........................................................................................................................................... 621
Merge a List of Answers in a Standard Table.......................................................................................................... 622
Merge a List of Answers in a Nonstandard Table.................................................................................................... 623
Flow a Single Answer Across Two or More Pages in a Form..................................................................................625
Chapter 41: Defining Form Overflow Properties........................................................................................................... 626
Define Overflow Properties for a Regular Field........................................................................................................ 626
Define Overflow Properties for Run-on Fields.......................................................................................................... 628
Define Overflow Properties for a Table.................................................................................................................... 630
Customize the Look of the Addendum..................................................................................................................... 632
Split a Multi-Line Answer Between the Form and the Addendum............................................................................ 634
Create Independent Addendums for Forms..............................................................................................................635
Use Answer Overflow and Addendum Text Codes.................................................................................................. 636
Chapter 42: Creating and Using Fillable PDF Form Templates................................................................................... 638
Overview: Use Fillable PDFs as Form Templates....................................................................................................638
Create a Form Template Using a Fillable PDF........................................................................................................ 639
Detect Fillable Fields in a PDF Template................................................................................................................. 641
Attach Variables to Fillable Fields.............................................................................................................................643
Tips for Working with Fillable Fields......................................................................................................................... 645
xi
xii
xiii
xiv
xv
Dot Code Formatting Doesn't Seem to Work in True/False and Multiple Choice Options........................................866
Editing Answer Source Records Causes Problems..................................................................................................867
Enabling Multiple Templates for Use with HotDocs Server At Once........................................................................ 868
Entered Answers Getting Overwritten.......................................................................................................................869
Entering Multiple Choice Option Prompts and Merge Text...................................................................................... 870
Fixing Warnings Listed at Warnings Tab..................................................................................................................871
Foreign Characters Are Appearing as Boxes or Question Marks in HotDocs.......................................................... 873
Getting Missing END IF or Missing END REPEAT Errors........................................................................................874
Hiding the End of Interview Dialog During the Interview.......................................................................................... 875
'HotDocs Cannot Play the Macro HD6EditTemplate.Main' Message Appearing...................................................... 876
HotDocs is Creating Database File with Library File................................................................................................ 877
Keeping Users from Editing Templates.................................................................................................................... 878
Limiting Visible Rows but Not Limiting Number of Answers.....................................................................................879
Matching Pairs of Instructions in a Computation Script............................................................................................880
Merging Check Boxes in a Text Template............................................................................................................... 882
Merging Just a Portion of a Date Instead of the Whole Date...................................................................................883
Optional Variables Showing Up as Unanswered in Interview and Document.......................................................... 884
Punctuating a Repeated List of Answers..................................................................................................................885
Receiving 'Invalid Variable Name' Errors When Creating Components................................................................... 886
Reducing Template File Size.................................................................................................................................... 887
Renaming Components Correctly............................................................................................................................. 888
Repeating the Contents of a Single Cell in a Table................................................................................................. 889
Repeating a Single Variable in a Dialog...................................................................................................................890
Test Assembling Template with ASSEMBLE Instructions........................................................................................ 891
Trying to Save an Invalid Computation Script......................................................................................................... 892
Understanding the Difference Between Multiple Choice Options and Merge Text................................................... 893
Using DEFAULT Instruction Causes Extra Repetition.............................................................................................. 894
Using Headers and Footers of Inserted Templates..................................................................................................895
Using INSERT Instructions in a Table...................................................................................................................... 896
Using One Variable in Two Different Dialogs........................................................................................................... 897
Variables Not Working in Word Text Boxes............................................................................................................. 898
Chapter 58: Document Assembly..................................................................................................................................899
Can't Attach Answer File or Document to Outlook 2007 E-mail Message............................................................... 899
Changing Unanswered Text Markers........................................................................................................................900
Discerning Between Template Preview and Actual Template.................................................................................. 901
Downloading HDIs and HDAs as ZIP Files.............................................................................................................. 902
Editing Answers in Assembled Document................................................................................................................ 903
Entering a Two-Digit Year.........................................................................................................................................904
HotDocs Skips Questions When Navigating from Child Dialog................................................................................ 905
Increasing Font Size..................................................................................................................................................906
Installing Support for New Word Processor..............................................................................................................907
Moving Between Questions in Interview Slow.......................................................................................................... 908
Moving to the Next Dialog After Entering a Date or Number.................................................................................. 909
Organizing Files in the Library vs. on the Disk.........................................................................................................910
Overriding an Answer in a Form...............................................................................................................................911
Printing Form Document Takes Incredibly Long Time............................................................................................. 912
Printing Form Document is Off-Center..................................................................................................................... 913
Receiving Error Messages When Launching HDAs, HDIs....................................................................................... 914
Restoring System Defaults to HotDocs.................................................................................................................... 915
Copyright 2010 HotDocs Ltd. All rights reserved
xvi
xvii
SECTION 1:
LEARNING ABOUT HOTDOCS
You can create a model document using the Model Document Markup Language (or MDML). Once the document
is marked up, you can convert it to HotDocs template format. (See http://support.hotdocs.com/modeldocuments for
details.)
You can manually mark up word processor documents and store the markup information in a spreadsheet
application, such as Excel. You can then take the marked up documents and create templates from them, referring
back to the spreadsheet for specific information about how the template should be automated.
Another option is to simply print a copy of each document in your set and mark up the documents by hand. You
can write directly on the printed document what variables should be used and identify which properties should be
assigned to these variables.
Regardless of which markup option you choose, you should try to address these questions in the markup:
1. How should variables be named? While it might not seem important at first, defining a naming scheme up front will
save you time later when you need to manage a large list of components.
For example, should you name related variables using a consistent format (like Client Name, Client Address, Client
City, Client State, etc.)?
2. Which variables can be reused in other templates in the set? When templates require the same information,
you should mark the variables using the same name. This way, when users save answer files after assembling
a document, the answers can be used with those other documents. This saves the user from retyping common
answers.
3. How should answers in the document be formatted? For example, should text answers be written using all capital
letters? Should number answers be numeric (7) or spelled out (seven)?
4. How much information does the user need to know in order to answer certain questions during the interview? How
should questions be phrased, punctuated, and capitalized? Should they contain examples of possible answers?
5. How much additional information should be included with variables? For example, when should variable resource (or
help) information be included? How much is too much?
6. What other information should be known about the variables? For example, are there restrictions or limits for
answers? Should an answer be formatted a certain way? If the answer must be calculated, what kind of calculation
should it be? (For a complete list of properties you can assign to the different variables, see Appendix 1: Variable
Properties.)
7. What text in the document should be included only under certain conditions? For example, if theres a paragraph
about the clients spouse, but the client isnt married, you wouldnt want to include the paragraph.
Note:
You can also mark in the document where lists of answers should be merged and where boilerplate text should be
inserted. See Appendix 2: Template Instructions for details.
Also, if you plan to point your templates to a shared component file, you should do so right after you create the template
and before you begin any automation work. That way, variables and other components you create will be saved correctly
to the shared component file. (See Use One Component File for Multiple Templates.)
Typically, when you create a dialog, you group similar questions together. For example, if the template asks for the
name and address of a client, you could group all of these variables together in a single dialog named Client Information.
Information about the spouse could be asked in a separate dialog, as could information about the case.
If questions in the dialog should be asked only under certain conditions, you can use dialog scripting to include or exclude
those questions. You can also select several different options that control the way the questions appear in the dialog. For
example, you can choose to place all of the questions above the answer fields, or you can choose to place each question
to the left of its answer field.
HotDocs allows you to assign a pattern to a text variable. The two most common patterns
are telephone number patterns and Social Security number patterns. These patterns
format users answers correctly both in the interview and in the assembled document.
Maximum number of
characters
Number Variables
Minimum and maximum
values
You can specify limits for how large or small a number can be. For example, if new
employees are allowed between 10 and 15 paid vacation days, you can specify these
limits so that users dont inadvertently specify more vacation days than they are allowed.
Decimal places
You can indicate the number of decimal places (up to 7) that should be allowed in a
number.
Currency symbol
You can designate whether a currency symbol should be used for a monetary amount.
Predefined options include $, , DM, and , but you can enter your own. (Patterns have a
3-character limit).
Multiple Choice variables allow users to choose an answer from a list of predefined
options. If the options you specify aren't descriptive enough, you can define a prompt
for each option. Additionally, you can specify different text for each option that will be
merged in the completed document.
For example, say you need to merge gender-specific pronouns (like he/she or his/hers)
in the document. To do this, you would create a Multiple Choice variable (Gender) with
two optionsMale and Femaleand then specify merge text that will merge the correct
pronoun (he or she), based on the users gender.
You can allow users to select only one option or select multiple options. You can also
designate whether the options appear as buttons or as lists.
By default, all new Multiple Choice variables are set to Select One Only.
Computation Variables
Scripts
Computation variables tell HotDocs to perform a particular task during assembly, such
as insert one template into another or perform some action based on an answer the user
provides. Similarly, they are used to calculate monetary amounts or other figures, or find
the number of years between two given dates, and so forth.
What It Does
IF instruction
Designates that a variable, word, phrase, or paragraph should only be included in the
assembled document when a certain condition is met.
REPEAT instruction
Repeats variables and text so that users can enter more than just one answer.
INSERT instruction
Inserts another template into the current template. (For example, perhaps you have
a separate file that includes boilerplate language. You can use a separate document
for this language and then just insert it wherever you need it.) In most cases, inserted
templates appear "inline" with the template into which they are inserted.
Starting HotDocs
What Is HotDocs?
Start HotDocs
Overview: Use HotDocs Libraries
Create a Library
Work with Templates and Other Files in a Libary
Automating a Template
Overview: Template and Component Files
Create a New Text Template File
Use Component Manager to Work with Components
Insert a Variable Field in a Text Template
Gather Questions into a Custom Dialog
Create a REPEAT Instruction to Gather a List of Answers
Include or Exclude a Single Version of Text Using a Simple IF Instruction or Expression
Assembling a Document
Assemble a Text or Form Document
Select an Answer File for Assembly
Navigate Through Answer-Gathering Dialogs
Preview the Assembled Text Document
Save an Assembled Text or Form Document
Save an Answer File During Assembly
10
SECTION 2:
GETTING STARTED
11
Previous Name
Developer
Professional
Developer LE
Standard
User
Player
Player
Silverlight Interview
Templates intended for use with HotDocs Server can now be test-assembled using the Microsoft Silverlight web
application framework. Unlike the traditional JavaScript-based interviews, where the interview logic is written in an
interpretive language (JavaScript), Silverlight-based interviews are compiled into machine code, which makes them much
quicker. This is especially noticeable in long, complex interviews.
(See View an Interview in a Web Browser for more information.)
PDF Support
The functionality previously provided by HotDocs PDF Advantage is now integrated with HotDocs 10.
Previous Filename
hotdocs.exe
hotdocs6.exe
hotdocs.dot
hotdocs6.dot
HotDocs.dotx
HotDocs6.dotx
12
hd_api.dll
hd6api.dll
hd_dispatch.exe
hd6dispatch.exe
Previous Folder
C:\Program Files\HotDocs
C:\Program Files\HotDocs 6
Registry Keys
New Key
Previous Key
HKEY_CURRENT_USER
> Software > HotDocs >
HotDocs
HKEY_LOCAL_MACHINE
> Software > HotDocs >
HotDocs
13
14
15
File Formats
Save component files, library files (both template and answer), and answer files in XML format: HotDocs now
allows you to save component files, library files, and answer files in either XML format (required to use HotDocs 2009
features) or binary format (required to be compatible with HotDocs 2008 and earlier).
Caution:
Please see Compatibility of HotDocs 10 Files with Earlier Versions of HotDocs for a complete description of this format
change.
Unicode Support
Automate templates using international languages: You can now automate your templates using any left-to-right
reading languages that are supported in the Unicode character set. See Use International Characters in HotDocs for
details.
Template Development
Use INSERT instructions to include images: You can now use an INSERT instruction to insert JPGs, PNGs, and
GIFs in a template. Additionally, you can insert RTF documents that contain image files. INSERT image instructions are
appended with the IMAGE keyword.
Use variable INSERTs to specify inserted file names during assembly: Template developers can now use a variable
INSERT in a template, which allows the file path and name of a template file or graphic file to be specified at the time
of assembly, rather than during template development. You must use a Text variable, a Multiple Choice variable, or a
Computation variable that results in text with a variable INSERT.
Navigate repeated dialogs using new button: When completing an interview, end users now add new repetitions to
a repeated series list by clicking the
Add Another button, which is located both after all questions in the dialog as
well as in the dialogs title bar. (Users can no longer use the previously available methods for adding new repetitions to a
dialog.) You can customize the title of this new button on a per-dialog basis by specifying it at the Dialog Editor.
Define a default behavior when automatically disabling irrelevant variables: At Component File Properties, you
can specify a default behavior for irrelevant variables you automatically disable during the interview.
Enter comments about components at the Notes tab: Component editors now include a Notes tab where you can
enter notes about the component, such as an explanation about why the component was created or how it should function
in the interview.
Hide editing buttons on spreadsheet dialogs: You can now keep HotDocs from showing the Edit Row, Insert Row,
and Delete Row buttons associated with a spreadsheet dialog. (The options are still available via buttons and menus,
however.)
Publish templates so they're compatible with HotDocs 2005-2008: HotDocs lets you publish templates created in
HotDocs 2009 so they will still be compatible with HotDocs 2005-2008.
Document Assembly
Install auto-install file libraries to any location: HotDocs now allows you to install a template set library to the same
folder as you install the templates sets.
Copyright 2010 HotDocs Ltd. All rights reserved
16
Use new method for adding repetitions to a list of answers: When completing an interview, users now add new
repetitions to a repeated series list by clicking the Add Another button, which is located both after all questions in
the dialog as well as in the dialogs title bar. (Users can no longer use the previously available methods for adding new
repetitions to a dialog.)
HotDocs Automator/Filler
Create PDF templates from fillable PDFs: You can create PDF templates based on fillable PDF documents. When
you create the template, HotDocs first presents you with several options for working with existing fillable fieldsyou can
have HotDocs create mirror fields that match the existing fillable fields. You can also have HotDocs remove all existing
fillable fields. Finally, if the PDF document contains annotations (like sticky notes, stamps, and so forth), you can remove
them from the newly created template. Once you create a template that contains fillable fields, you can attach HotDocs
variables to those fields using an automated wizard.
Save assembled forms as fillable PDFs: You can assemble a document from a template that was created from a fillable
PDF document and save it once again as a fillable PDF document.
17
18
Document Assembly
Send assembled PDF documents to Adobe: If you're assembling PDF-based form documents, you can select a
HotDocs option that will send assembled documents to Adobe Acrobat, rather than HotDocs Filler. See Send Assembled
PDF Documents to Adobe for details.
19
Model Documents
Create model documents, independent of HotDocs, and use them to assemble custom documents: Using Microsoft
Word, you can create model documents. A model document is an exemplar document used as the basis for drafting
documents of the same type for specific clients. Using a defined markup language, you identify text that varies from one
client to another. This markup provides an unambiguous description of how a model document should be used to draft
client-specific documents. Once you have a model document, you can use it with HotDocs Player to generate custom
documents for your clients.
Template Development
New Go to Field button added to HotDocs toolbar: When you receive scripting error messages in HotDocs, they
often include the field number for the field where the error is located. To help you quickly find this field in a text template,
HotDocs now includes a
New Test Panel added: HotDocs now includes a Test Panel, which you can access during a test assembly. Features of
this test panel include the following tabs:
Variable usage: This tab shows how variables are being used in the template. For example, you can review a list
of variables that are asked during the interview, but they aren't used in the document. You can also review which
variables are used in the document but don't appear in the interview. These two lists can help you make sure the
questions you are asking the user are relevant to the document, which ultimately improves the accuracy of the
document.
Warnings: In previous versions of HotDocs, the Warnings tab was included directly in the assembly window.
This tab has now been moved to the Test Panel. It includes information about scripting in the template that may
cause unexpected results in the interview or assembled document. For example, the Warnings tab can report when
SET instructions have been used incorrectly. It can also identify when variables have been asked or referred to
incorrectly.
Go to Template: Using the Go To Template command, you can place your cursor in the Document Preview text
and have HotDocs take you to the same place in the template. This lets you review the automation in that particular
section of the template, perhaps to understand the conditions under which the text was inserted in the document.
Publishing licenses now include annual expiration: Licenses for publishing and registering templates for use with
HotDocs Player now expire annually.
Have HotDocs automatically exclude irrelevant questions from an interview: Rather than write dialog scripts, you
can have HotDocs automatically gray or hide variables that aren't relevant to the document.
Set HotDocs Server interviews so all dialogs in the interview appear in the same view: You can design your
HotDocs Server interviews so that users can view all of the dialogs in an interview at once, on a single Web page.
Document Assembly
Entering Non-English answers during an interview: During a HotDocs interview, you can enter answers in left-to-right
reading languages other than English.
Create a Favorites folder in the template library and add templates to it: You can group the templates you use most
frequently in a Favorites folder of your library.
20
Database Connection
All installations of HotDocs now include the HotDocs Database Connection by default. You do not need to install it
separately.
HotDocs Compare
HotDocs Compare now available separately for purchase: To use HotDocs Compare, you must now purchase a
separate license for it. For details, contact your HotDocs sales representative. NOTE: Starting with the release of
HotDocs 2009, HotDocs Compare is no longer available.
21
22
23
Usability
Better keyboard accessibility: In an effort to make HotDocs compliant with Section 508, you can now access most
commands and elements in various HotDocs windows and dialog boxes using the keyboard. Additionally, HotDocs is now
more compatible with screen readers.
24
Template Development
Allow users to edit assembled document text while viewing the Document Preview tab: Sometimes users may need
to edit the text of a document once it has been assembled. As the developer, you can control editing by marking sections
of a template using a SPAN instruction. This allows users to edit that section of text at the Document Preview tab of the
assembly window. Changes made during assembly can be saved to the answer file so that users can reassemble the
same document later and have their changes reapplied.
Improved implementation for adding additional items to a dialog: HotDocs now provides a new Dialog Element
component that lets you more easily add additional text, hyperlinks, buttons, graphics, lines, and spacing to dialogs.
This implementation includes greater control over how these items appear, including control over whether they appear in
desktop interviews, HotDocs Server interviews, or both. (In previous versions of HotDocs, many of these elements were
added to a dialog using the @ command. This new feature replaces the need to use this command.)
Remove hidden data from assembled Microsoft Word templates and documents: Often, when working in Microsoft
Word templates and documents, hidden data is saved to the file that may compromise the security of the document
or increase the document's file size. You can choose which of these properties should be removed from a template.
Additionally, you can have this data removed from a document after it is assembled.
Use HotDocs dot codes: HotDocs 2006 includes a new feature called dot codes, which allow you to 1) format text
results derived from computation scripts, 2) insert special characters in plain text and template text, 3) format variable
prompts and additional text, and 4) punctuate non-repeated lists of answers.
View an outline of scripting in a Word template: Using the HotDocs Outliner, you can generate an outline of scripting
in the template. This outline can include just a list of instructions used in the template, or it can include variables as well.
This gives you a more condensed view of instructions used in the template.
New schemes added for coloring fields in a template: Two new color schemes were added to help you better identify
instructions in a template. They are Nested and Sequential. Nested marks each level of IF and REPEAT instructions
using a custom color. (For example, all first-level IF instructions will use a specific color, while all second-level instructions
will use a different color, and so on.) Sequential marks each IF and REPEAT instruction field using a custom color. (For
example, the first instruction in a template will be marked using one color, while the next instruction will be marked using a
different color, and so on.)
Display Word templates in Markup View: You can now display a Word template in Markup View, which allows you to
provide non-HotDocs users with easy-to-understand versions of your templates.
Generate default interviews or specify custom interviews for all template types: When automating a template, you
can now select whether HotDocs should generate a default interview for the template or whether HotDocs should use a
custom-scripted interview. If choosing to use a custom interview, you can assign any name to the interview component.
(In previous versions, all interview scripts were required to be named INTERVIEW.) You now designate the name of the
interview component at the Component File Properties dialog box.
Choose which component file provides properties when pointing templates: In past versions of HotDocs, when
you pointed a component file to a shared file, most of the properties for the pointed template would be specified by the
shared component file--not the pointed component file. Now, if you need the pointed template to use its own component
file properties, you make that designation at the component file.
Control how HotDocs inserts returns after inserting instructions in a template: When you insert an instruction in a
text template, by default, HotDocs inserts a return after the instruction. (This return is removed during assembly.) You can
25
select a HotDocs option that inserts these returns only when working with entire paragraphs of text--otherwise, HotDocs
won't insert a return character. (This keeps instructions within a paragraph from breaking up the paragraph text.)
Use new expression models to manipulate text answers: HotDocs includes four new expression models:
REPLACE lets you search a string of text for a given character string and replace the results with new text.
SPACE tests whether the variable is answered. If it is, it merges the answer, followed by a space character. If the
variable is unanswered, it merges nothing ("").
STRIP removes a specified character or characters from the beginning or end of a text answer.
VALUE returns a default value for the variable type if the variable is unanswered. If the variable is answered, the
value is the answer the user specifies.
Use new expression models to manipulate multiple choice answers: HotDocs includes two new expression models:
SELECTION returns a specific selected option of a Multiple Choice answer.
UNION combines all selected (and unique) options from several Multiple Choice variables.
Use new instruction models to erase answers in repeated dialogs: HotDocs includes two new instruction models:
ERASE VAR clears all answers for a specific variable in a repeated dialog.
ERASE DIALOG clears all answers in a repeated dialog.
Create 'Used In' lists for components: You can view which other components in the template use the component you
are currently editing. This information is displayed in the new Used In tab of the component editor. (This tab was formerly
the Asked In tab, which showed only the dialogs that used the variable.)
Store PLAY macros for RTF templates in a Word template and reference the template from the component file:
You can store your post-assembly macros in a template specifically designed for HotDocs. You specify the name of this
file at the Component File Properties dialog box for the template.
Update tables of contents, cross references, indexes, and fields after sending assembled documents to word
processor: You can select a component file property that automatically updates all cross-references (including the table
of contents and index) in an assembled document once the document is sent to the word processor.
New Word menu option for inserting variables, instructions in a Word template: Word users can now more easily
insert instructions such as ASSEMBLE, ANSWER FILE NAME, LANGUAGE, and DEBUG in their templates. The option
for doing so can be found in the new HotDocs menu in the HotDocs toolbar. (Users can also insert other HotDocs field
types (such as variables, REPEAT instructions, and so forth) using this new menu.) Finally, most of these options are also
now available in the Word shortcut menu.
Multiple Choice options included in auto-complete lists: When scripting with Multiple Choice variables, you can
use the auto-complete feature to access lists of options for the Multiple Choice variable. This keeps you from having to
manually enter the options.
Scripting supported in plain-text resources: You can now include variables, IF instructions, and REPEAT instructions
in plain-text resources. This allows you to customize the resource text users see in the interview, based on their answers
to questions.
Save button added to component editors: As you edit components, you can now save your work without closing the
component editor.
Document Assembly
Install support for new word processors without reinstalling HotDocs: In previous versions of HotDocs, if you
installed a new word processor, you had to reinstall HotDocs in order to integrate the two products. Starting with HotDocs
2006, you can install support for new word processors at HotDocs Options.
Copyright 2010 HotDocs Ltd. All rights reserved
26
Control font properties of dialog text: You can now specify the font face, size, and color of text used in dialogs. You
can also change the font used for items in the interview outline.
Edit the document while viewing the Document Preview tab (Word users only): If the template provider has allowed
it, you can edit the text of a document while viewing the Document Preview tab. This allows you to make changes to
the document and be able to save those changes in the answer file so they can be reapplied if you ever reassemble the
document.
View variable names for answers in interview: Sometimes you may need to communicate with a template provider
about a specific question in the interview. While answering questions in the interview, you can place your cursor in an
answer field, right-click and choose Variable Name from the shortcut menu.
Simultaneously copy an answer file to the Answers folder and add it to Answer File Manager: Frequently you
receive answer files from other users. You can now open Answer File Manager and choose the Import command to copy
an answer file to the Answers folder and add it to the answer library. You can also double-click on the answer file in
Windows Explorer and the file will be added to the library and copied to the Answers folder.
Mark required answers in a dialog: In addition to marking dialogs that contain required questions in the interview
outline, you can now mark the actual questions in the dialog. Specifically, you can designate the color used for prompts of
required questions as well as control whether an asterisk is used to indicate this.
Follow dialogs in interview outline when moving through interview: A new navigation option, Next Dialog Follows
Outline, has been added. Selecting this option will move you to the next dialog in the interview outline when you click
Next. For example, if you are in a main-level dialog, clicking Next will move you to any inserted dialogs in main dialog.
Clicking Next again will move you to the next main-level dialog, rather than back to the current main-level dialog.
Update published template sets: If you are using a published template set, HotDocs can check for updates to the set at
regular intervals and notify you when updates are available.
27
28
Template Development
New word processor support: HotDocs version 6.2 is now supported for use with WordPerfect 12.
Troubleshoot problems in templates or scripts: You can now insert a DEBUG instruction either in your scripts or in
your templates to help diagnose problems with automation. The HotDocs Debugger lets you step through a template field
by field, or through a script line by line. It also lets you track variable answers as they change during the interview. Finally,
it lets you view the sequential list of templates and components you are processing. This can help you understand the
path of execution.
Repeatedly loop through an answer or set of answers: The WHILE EXPRESSION instruction allows you to repeatedly
process (or loop through) an answer or set of answers until a certain condition is met, such as a certain answer is found or
a limit is reached.
Increment temporary counters using new instruction: You can use the INCREMENT and DECREMENT instructions
in a HotDocs script to increment or decrement a counter. Previously, this was done using SET instructions such as SET
Num TO Num + 1. These instructions are useful when incrementing counter variables used in WHILE instructions.
Component Explorer redesigned and renamed to Template Manager: The purpose of Component Explorer was
expanded to include template management features, such as template conversion and renaming (see below). This
necessitated a change to the name of the tool. It is now called Template Manager.
Convert templates to HotDocs 6 format or to RTF: Use Template Manager to convert large batches of templates or
clauses either from HotDocs 5 format to HotDocs 6 format. You can also convert WordPerfect or Microsoft DOT templates
to the faster RTF format.
Rename templates: Use Template Manager to rename templates in a library. When renaming templates using this
method, all associated files (such as component files, clause libraries, and so forth) will be renamed, as well. References
to the renamed file will be updated throughout the library.
New template navigation toolbar added to text templates: A new toolbar has been added to word processor templates
that allows you to more quickly work with fields in the template. Specifically:
HotDocs now assigns different colors to the different types of fields in a template using the
Apply Colors button.
Specific fields include variable fields, IF instructions, REPEAT instructions, ASK instructions, and comments. You
can customize the colors used at HotDocs Options.
You can use the new
Label Fields button to label matching IF and END IF instructions as well as matching
REPEAT and END REPEAT instructions. Additionally, where you've nested these instructions, you can identify the
level of nesting. Finally, you can assign the word processor's hidden text property to these comments and labels so
that you can show and hide them during automation.
You can use the new
Match Fields button to quickly find corresponding IF, ELSE, END IF, REPEAT, and END
REPEAT fields. For example, if you place your cursor in a REPEAT field and click the
Match Fields button,
HotDocs will move your cursor to the matching END REPEAT field. This can help you troubleshoot problems
you may experience as you work with these types of instructionsparticularly when there are multiples levels of
instructions.
29
You can use the new Next Field and Previous Field buttons to move from one field to the next. This is
particularly useful when you have several pages in your template that do not have any automation and you don't
want to scroll through these pages manually.
Double-click in Word fields to edit them: You can now double-click in a Word field to bring up the Variable Field dialog
box for that variable. (This requires Word 2000 and above.)
Control whether dialogs are asked automatically: The Dialog Editor now includes an Ask automatically option, which,
when cleared, causes HotDocs not to ask the dialog when it is used in a REPEAT instruction or in an expression that
refers to the dialog's True/False status. This eliminates much of the need for ASK NONE instructions.
Add comments to template fields: You can now add comments to the end of fields. After creating the field in your
template, insert your cursor after the component name (or instruction), type two forward slashes, and then type your
comment, for example, Employee Name //comment.
Keep the End of Interview dialog from appearing in users' interviews: You can select a component file property that
keeps the End of Interview dialog from appearing in the interview. When the user clicks Next at the last dialog in the
interview, HotDocs will either send the assembled document to the word processor or it will display the Document tab,
depending on which End of Interview action the user has defined at HotDocs Options.
Sort components in Component Manager: You can now sort lists of components by type as well as alphabetically.
In Component Manager, sorting is done using the new
options are found on the shortcut menu.
Edit components in second component list: If you have two component files open in Component Manager, you can
now edit components in both component files. Previously, you could only modify components in the left pane.
Online test a template from the templatenot the library: You can online test templates directly from the template.
(Previously, you had to close the template and test from the template library.) To do this, press the Shift key as you click
the
New unanswered variable placeholder added: A new unanswered variable placeholder has been added. It inserts the
variable name between square brackets, for example [Variable]. You can choose this option either at the Component
File Properties dialog box or at HotDocs Options.
Generate templates from marked up documents: Markup editors can mark up a document for automation using the
HotDocs Markup Tool. Once marked up, you can use the Template Set Generator to convert the documents to HotDocs
templates. (Contact your HotDocs sales representative for details on purchasing a license for the Markup Tool and
Template Set Generator.) (With the release of HotDocs 2008, support for the Markup Tool and Template Set Generator
was removed.)
Document Assembly
Rearrange entries in a repeated list, and remove or add entries any place in the list: When entering sets of
answers in a repeated dialog, you can now move entries around in the list as well as add or remove entries.
Changes to End of Interview dialog: The following changes have been made to improve the End of Interview dialog:
You can choose which buttons appear in the End of Interview dialog. You make your selections at HotDocs Options.
You can choose to keep the End of Interview dialog from being displayed during the interview. (When hidden,
clicking Next at the last dialog in the interview either sends the document to the word processor or Filler, or
switches the view to the Document tab. You choose which option you prefer at HotDocs Options.)
Buttons for each option have been enlarged and arranged in the order they are most frequently used.
A new button was added that, when clicked, pastes the assembled document into the current word processor. (This
is useful when assembling clause documents.)
Copyright 2010 HotDocs Ltd. All rights reserved
30
A new button was added that, when clicked after assembling a form document, moves you to the Form Document
tab of the assembly window. (This allows you to view the assembled form document in the assembly window where
changes you make will be reflected in the answer file.) Before clicking this button, you can choose to have HotDocs
check fields in the form for any answers that overflow.
A new button was added that, when clicked, lets you choose which End of Interview buttons you want in the dialog.
Finish Interview button added to navigation bar: A new button was added to the navigation bar which allows you to
skip any remaining questions in the interview and view the assembled document. You can choose whether to view the
document at the Document tab or whether to send the document to the word processor or HotDocs Filler. HotDocs will
perform this same action when the End of Interview dialog is hidden and you navigate past the last dialog in the interview.
Send assembled documents to the word processor that matches the template type: You now have two options for
sending the assembled document to the word processoryou can either send to the default word processor always or
send to the word processor that matches the template type. You select your preference at HotDocs Options.
New unanswered variable placeholder added: A new unanswered variable placeholder has been added. It inserts the
variable name between square brackets, for example [Variable]. You can choose this option at HotDocs Options. All
variables that do not have a specific placeholder assigned will use this placeholder.
Save As option added to Save Answers dialog box: Now, when you close the assembly window, you have the option
of saving existing answers to either the current answer file or a new answer file.
Choose where assembly window tabs are placed: You can now choose to have the assembly window tabs (Interview,
Document Preview, etc.) displayed either along the top or along the bottom of the assembly window.
31
Template Development
Auto complete while typing component names: As you are creating components, HotDocs can now automatically
complete the component name if what you are typing matches the name of an existing component. This was implemented
to help you distinguish between new and existing components. (You can disable this feature at Tools > HotDocs Options
> Template Development.)
Default Multiple Choice variable to multiple values: Multiple Choice variables that have the Select All That Apply
property set can now be defaulted to multiple values using the Automatically select this option check box at the
Options tab.
SET Multiple Choice variable to multiple values: Multiple Choice variables that have the Select All That Apply
property set can now be SET to multiple values using an instruction (for example, SET MC Variable TO "Option 1|Option
2|Option 3"). (You must use the vertical bar character as the separator between options.)
LIMIT allows numeric expression: The LIMIT instruction now accepts a numeric expression. (Previously you had to use
a single variable to specify the limit.)
Force a paragraph break in text answers: Text variables now include a property called Enter key in multi-line
answers inserts new paragraph mark (). This allows you to control what kind of break is inserted into multiple-line text
when the user presses Enter. Because of this change, the option Enter key action in multiple-line fields was removed
from HotDocs Options.
Drag variables from Component Manager to Automator: You can now drag variables from Component Manager and
drop them directly on a form field in HotDocs Automator. If no field exists where the dropping occurs, a default field will be
created.
Document Assembly
Bypass assembly window: You can now select an option at the Answer File dialog box at the beginning of an interview
that allows you to skip the assembly window and immediately view the assembled document.
Check spelling of answers: You can now spell check answers at the Interview and Form Document tabs of the
assembly window.
32
Template Development
New word processor support: HotDocs version 6.1 is now supported for use with Microsoft Word 2003 and WordPerfect
11.
Use the new script editor: Several enhancements were made to the way you write computation, dialog, and expression
scripts. These include customizable color coding for the different keywords and placeholders in a script, as well as Auto
Complete functionality that allows you quicker access to instruction and expression keywords and component names.
Additionally, you can more easily 'comment' blocks of script, and match IFs with END IFs (and REPEATs with END
REPEATs), among other things.
Additionally, now, when including literal text strings in computation scripts, it is much easier to insert return characters as
well as tabs.
Caution:
In previous versions of HotDocs, returns produced from computations were treated as paragraph marks. However, in
HotDocs 6.1, they are now treated as line breaks. You should check existing automation in your template to make sure
this change does not create problems.
Support for HotDocs Database Connection 6.1: The HotDocs Database Connection has been updated to work with
HotDocs 6.
Control answer field widths: Template developers can now specify answer field widths for both regular answer fields
and spreadsheet column widths. These changes are made at each variable's Variable Editor. (Make your changes at the
Advanced tab.)
Tighter integration with document management programs: Those integrating with document management systems
now have greater control over the format of their saved answer files and assembled documents. These options are
specified at the HotDocs Options dialog box, in the File Management folder (and the subsequent Advanced ODMA
Settings folder).
Customize the library Properties tab: HTML-savvy developers can customize the Properties tab of the library window
using custom HTML pages. Properties pages can be customized for individual files in the library, for a single library as a
whole, for the main folder in a library, or for all libraries.
Duplicate button improved: The
Duplicate button functionality (in Component Manager) has been improved.
Template developers can duplicate a single variable, or they can 'batch' duplicate several variables at once.
Better control over inserted templates: HotDocs no longer tries to enforce the requirement that inserted files (such as
templates and clause libraries) must be in the same folder as the host template. If the inserted file exists in a different
folder, however, the path to that folder must be specified in the instruction.
Changes to CLEAR and ADD: When using the CLEAR and ADD instructions to populate a Multiple Choice variable, you
can also ADD prompts for the options.
@COMPUTE and @EXECUTE supported: The instructions, @COMPUTE and @EXECUTE are now officially supported
for use in dialog components.
Publish templates with ASSEMBLE instructions: When publishing templates, you can now select to automatically
publish any templates used in INSERT and ASSEMBLE instructions. (Previously, HotDocs would include templates
specified only in INSERT instructions if this option were selected.)
33
Document Assembly
Selecting child dialogs: Selecting grouped child dialogs in an interview is now more intuitiveyou can either select the
preceding check box (or option button) and then click the child dialog icon to display the dialog, or you can click the child
dialog icon immediately. Doing this selects the check box (or option button) for you. (Selecting the check box or option
button is imperative because it tells HotDocs to add the child dialog to the interview outline. It also lets you test whether a
child dialog has been answered, as well as set a child dialogs answered status to true or false.)
Viewing resources: Resources assigned to both variables and dialogs now appear simultaneously in the Resource pane.
(Before, either the variable or the dialog had to have 'focus' for its corresponding resource to be visible.)
Improvements to overall assembly process: Several changes have been made to improve interview speed as well as
dialog navigation.
Customize dialog pane colors: You can now change the background color of the dialog pane in the assembly window.
These changes are specified at the HotDocs Options dialog box.
Better document preview for Word templates: When previewing a Word template or assembled document, you can
now get a much truer view of the document.
HotDocs Automator
Start HotDocs Automator from library window: You can now start HotDocs Automator from the Tools menu of the
HotDocs template library.
New tools: HotDocs includes a new
were also made to existing tools.
Fill Fields tool, which allows you to type text directly in the field. Improvements
Creating form templates: If you create a new form template from Automator, HotDocs will first ask which type of form
you want to createa HotDocs form template (HFT) or a HotDocs PDF template (HPT).
Handling form overflow: When you print an assembled PDF-based form document, and the document contains
unresolved answer overflow, HotDocs gives you three options for resolving the overflow: 1) review and change the
answers or field properties, 2) send all overflowing answers to the addendum, or 3) ignore the overflow and leave the
answer truncated.
Viewing thumbnails: If you are viewing thumbnails in HotDocs Automator or HotDocs Filler, HotDocs highlights the
page number of the form page being viewed. This makes it easier to identify the thumbnail for the page you are currently
viewing, especially in a form that contains many pages.
Send addendum to word processor: If an addendum is created during assembly, you can now send the addendum
directly to the default word processor, rather than the Clipboard. (This option is only available from the HotDocs assembly
window. It is not available in HotDocs Filler.)
34
Template Development
Use the new template library: The new template library contains several additional buttons and new menu items that
allow you to perform multiple template development and document assembly tasks, including managing the contents
of the library more efficiently. The toolbar and menus also make it easier to access other HotDocs tools, including
Component Manager, HotDocs Options, Answer File Manager, Component Explorer, and the Assembly Queue.
The library window is divided into two panes: the left pane shows the list of templates, clause libraries, and other
library items, while the right pane shows tabbed views of either the items properties (such as the file type and title) or a
preview of the library item.
Create a new template: HotDocs gives you more control over the type of template you want to create by including a
Type drop-down list at the New Template dialog box. This lists all the different template formats available, based on the
supported word processors you are currently using. Template titles are automatically generated based on template file
names; however, you can change the title to something more descriptive.
Use the new HotDocs editing toolbar: The look of the existing HotDocs editing toolbar has changed, and three new
buttons have been added:
The
Clause Library button displays the clause library associated with the template. From here, you can create
clauses, edit existing clauses, remove clauses, and perform several other tasks relating to clause management.
The
Edit Component button bypasses the Variable Field dialog box and lets you edit the component properties
of a variable while at the template.
The HotDocs Help button makes it easier for you to access information in the Help files directly from the word
processor window.
Create variable fields and variable components: Now when you create variables, there is greater distinction between
the variable field and the variable component. For example, when you first create a variable at the template, the Variable
Field dialog box appears, where you can assign a variable type, name, and any field-specific properties. Then, from the
Variable Field dialog box, you can click the
Edit Component button to display the Variable Editor. At this dialog box,
you can assign component-specific properties, such as prompts and resources.
Assign either default or field-specific formats: You can assign answer formats, field formats (such as field widths,
alignment, and fill characters), and merge text (for Multiple Choice variables) either at the Variable Field dialog box, or
the Variable Editor. If you assign them at the Variable Field dialog box, they are available for that specific instance of the
variable only. If you assign these properties at the Variable Editor, they become a default property of the component and
will be available each time you use the variable in the template.
Use Multiple Choice variables: At the Multiple Choice Variable Editor, you can now provide prompts for each multiple
choice option. Also, if you want to further customize each row of options, you can do so by clicking the Options tab and
making your changes. These include adding longer prompts and merge text, and pre-selecting options for the user.
Assign resources (formerly known as variable and dialog help): The name for this type of help has been changed
to Resources to better distinguish between HotDocs Help (the documentation provided with the software) and template
developer help (the help assigned by you). You also can now use an HTML Help (.CHM) file as a source file for variable
and dialog resources.
Use the new Component Manager: With the enhanced distinction between fields and components, Component
Manager becomes the preferred method for editing components in a template, including variables and dialogs.
Component Manager is now a sizeable dialog box that can be arranged next to the template window so that you can work
Copyright 2010 HotDocs Ltd. All rights reserved
35
in both windows simultaneously. Using Component Manager, you can edit as many components at a time as you want.
You can also drag variables from Component Manager and drop them directly in the template.
Share components between component files: The process for sharing component files has been improved. For
example, the Pointed Component File button in the Component Manager toolbar makes it more apparent a component
file is pointed (for example,
more intuitive.
versus
), and the actual process of finding the component file and pointing it is much
Change component file properties: At the Component File Properties dialog box, you can now specify a product title
for the template you are creating. You can also have HotDocs hide the interview outline for the template during assembly
as well as have HotDocs generate default dialog titles. The interface for several existing properties has changed, as well.
Copy components using Component Manager: You can expand the Component Manager window to show another
component files list of components, from which you can copy into the current component file. (You can no longer copy out
of the current component file, however.)
Use IF, INSERT, ASK, and REPEAT instructions: All of the dialog boxes for inserting IF, INSERT, ASK, and REPEAT
instruction fields have changed. At each of these dialog boxes, you can choose a specific type of field you want to merge,
and then edit the underlying component.
Use clauses and clause libraries: The process of creating clauses and clause libraries is now much easier. You can
open a clause library from the template-editing toolbar, and it can stay displayed as long as you need, allowing you to
work in both the template and the clause library simultaneously.
Use Dialog Editor to edit dialogs: The Dialog Editor includes tabs for customizing a dialog. A Find option has also been
added to make searching for specific variables, clauses, or dialogs easier. When you are at the Script tab of the Dialog
Editor, you can click the Variables drop-down button and select Variables in Dialog to see only the variables used in
that specific dialog. (This makes it easier to create dialog scripts since you can limit the list of variables to show only those
used in the current dialog.)
Assign titles to dialogs: You can now assign titles to dialogs. The dialog title replaces the dialog name in the interview
outline.
Change the layout of a dialog: In earlier versions of HotDocs, to change the placement of variables in a dialog, you had
to test the dialog and make your changes directly in the test dialog. Now, you can click the Layout tab of the Dialog Editor
and drag-and-drop variables there.
Simultaneously test and edit variables, dialogs, and scripts: You can simultaneously test and edit components within
a template (such as variables, dialogs, and scripts). When you do, HotDocs displays the variables and any corresponding
answer fields in a test assembly window. You can leave that dialog open and make changes to the component and then
update the dialog to see the changes implemented. Once you click OK at the Variable Editor, the changes are saved to
the component file.
Simultaneously test assemble and edit a template: You can test assemble all or a portion of a template while
simultaneously making changes in the underlying template text. HotDocs will update the assembly window with changes
you make.
Save answers used for testing once: When you test a variable or test assemble a document, you are prompted to save
your answers. Once you save them (using Test Answer File as the file name), HotDocs uses that test answer file for each
subsequent test assembly. If needed, you can specify a new answer file or use a different answer file at the assembly
window.
Use Component Explorer: The Component Explorer tool lets you more closely manage components across a large
number of component files, including removing unused components, renaming components in both the component and
template file, and copying and pasting components between files.
36
Document Assembly
Choose an answer file for assembly: When you first select a template for assembly, HotDocs displays the Answer
File dialog box, which allows you to choose an answer file to use with the assembly. (You no longer choose any other
assembly options, such as assembling Question/Answer summaries, or viewing only unanswered variable questions. All
of those options are now controlled directly in the assembly window.)
View the new assembly interface: Once an assembly has started, the assembly window appears. By default, it is
divided into three panes: the interview outline (or left pane) lists all the dialogs and variables asked in the template. When
users click one of these items, the corresponding dialog appears in the dialog pane (or right pane). Users enter the
required information in the answer fields and proceed through the interview until all the answers have been given. The
interview outline is dynamic so items can be added and removed, depending on answers the user provides. Finally, if the
template developer has provided helpful information about a dialog or a specific variable, that information appears in the
third pane, the resource pane (below the dialog pane).
Navigate an interview: You can click items in the interview outline in any order to complete the interview. You can also
click buttons in the navigation bar at the bottom of the dialog pane.
Use the new assembly toolbar buttons: The assembly toolbar buttons let you perform several different tasks, such
as work with answers and answer files, send the assembled document to a word processor (so you can edit it), view the
Assembly Queue, access HotDocs Options, view the resource pane, and perform other general tasks.
Use the tabbed views of the assembly window: The assembly window contains several tabs that let you change your
view of the assembly process. You can view any of these tabs at various times during assembly and the information
contained therein will be current. These tabs include:
Interview displays a three-paned window that includes the interview outline, the dialog pane, and the resource pane.
Preview shows a rough preview of the document so far as it has been assembled.
Question Summary displays an HTML-based summary of the questions in the template.
Answer Summary displays an HTML-based summary of the questions and answers provided during the interview.
Variable Sheet displays a spreadsheet-like summary of variables, prompts, answers, and variable types.
For the most part, the contents of these different tabs can be saved as word processor or HTML documents, and can be
attached to e-mail messages.
View the End of Interview dialog: When you complete an interview, the End of Interview dialog appears. It contains
information about unanswered variables as well as gives instructions and options for working with the assembled
document. (The End of Interview icon always appears in the interview outline.)
Use the resource pane: HotDocs now displays template developers resource information (formerly known as variable or
dialog help) in the resource pane of the assembly window. By default, this pane is continually displayed; however, you can
hide and show it as needed. You can also specify an option (at HotDocs Options) that displays a resource button next to
answer fields that contain resources.
Preview the assembled document: As you complete an interview, you can click on the Preview tab to view your
document during assembly. Any answers you have given are merged into the text, while any answers that are still needed
are marked by unanswered variable placeholders. You cannot edit the text in the Preview tab, but once you finish an
assembly, you can send a copy of the document to the word processor for post-assembly editing.
Because of the way HotDocs renders assembled text in the Preview tab, the document sometimes will not show the
formatting you see when you send a copy of the assembled document to the word processor.
Use Answer File Manager: The Answer File Manager has a newly designed interface (including a new toolbar) that
makes it easier to view the properties as well as the contents of an answer file.
37
Change answer files during assembly: As you assemble a document, you can change the answer file you are using.
When you do, HotDocs lets you save the current answer file and assembled document before you load a new answer file.
Attach answer files, assembled documents to e-mail messages: You can attach answer files, assembled documents,
and question and answer summaries to e-mail messages.
Manage multiple assemblies using the assembly queue: When you select multiple templates for assembly, HotDocs
automatically displays the Assembly Queue dialog box, which lists each template and its assembly status. Using this
dialog box, you can change the order in which documents will be assembled, as well as add assemblies to and remove
them from the queue.
Change your HotDocs Options (formerly known as Settings or Preferences): HotDocs now provides one central
location--the HotDocs Options dialog box--to control how HotDocs operates. General options include template
development, interview, and document assembly preferences, as well as file location management.
HotDocs Automator/Filler
Changes to HotDocs Automator: Some changes have been made in HotDocs Automator to more tightly integrate
it with the new HotDocs 6 interface. These include new toolbar buttons and menu items, as well as minor changes in
various dialog boxes. Additionally, the default field colors have changed, and several pre-designed color schemes have
been provided.
Changes to HotDocs Filler: Some changes have been made in HotDocs Filler to more tightly integrate it with the new
HotDocs 6 interface. These include some new toolbar buttons and menu items, as well as minor changes in various dialog
boxes. Additionally, in the Document tab of the assembly window, you can type your answers directly in the form fields.
If the template developer has created a custom interview (or allowed HotDocs to generate a default interview), you can
move between the Interview and Document tabs to complete the interview.
38
39
Template Development
Rename multiple components simultaneously: You can now select multiple components at Component Manager and
rename them all at once.
Limit the number of rows in a spreadsheet: When a dialog is repeated as a spreadsheet, you can control the number
of rows that are displayed in the dialog. (This option simply controls the number of rows that are displayedusers are still
able to enter as many answers as they need.)
Map Text variables to Multiple Choice values (and vice versa) in an answer source: When mapping an answer
source, you can map a Multiple Choice variable to a text value. You can also map a Text variable to a multiple choice
value.
Create an answer source that links a dialog to a Time Matters Contacts or Matters record: You can now link an
answer source to a Time Matters Contacts or Matters record. This allows you to retrieve information you're already storing
in Time Matters and use that information in your documents. When creating the answer source, you can also designate
whether changes to answers can be written back to Time Matters. (To create this answer source, you must be using Time
Matters 7.0 or later.)
Document Assembly
Expand and collapse all folders at once in the library: You can now expand or collapse all subfolders in the template
library. This makes it easier to quickly view or hide template lists in the library. (This command is available in the library
View menu.)
Choose a color for additional text: When customizing the appearance of dialogs in an interview, you can now assign a
different color to additional text. This may be useful if you want to distinguish additional text from other text in the dialog.
You do this at the Dialog Appearance folder of HotDocs Options.
Open Windows Explorer from the template library: You can click on a reference to a template in a library and choose
Go To from the Template menu. This opens the folder where the template file is saved.
View resource buttons for all answer fields at once: When viewing a dialog with answer field resources, you can now
choose to display the resource button for all answer fields at once, or you can choose to display the button only when
you are viewing that specific answer field. (This new functionality changes the available settings at Tools > Options >
Interviews and Dialogs > Show answer field resource button.)
40
Template Development
Save component files in HotDocs 6 or HotDocs 2005 format: When HotDocs 2005 was released, you had to upgrade
your component file to the latest version. You can now designate a component file property that saves the component file
either in version 6 format (so you can continue to use the template with HotDocs 6.x) or in version 2005 format (so you
can use all of the functionality of HotDocs 2005).
Caution:
If you want to use HotDocs 2005 to develop your templates but you want them to be compatible with HotDocs 6, do
not use any HotDocs 2005-specific features (such as non-breaking spaces) or the features implemented in this release
(described in this topic). If you do, you may see unexpected results.
Changes to Component File Properties dialog box: The Component File Properties dialog box has been redesigned
and now includes tabs to differentiate between the different types of properties.
Add titles to variables: You can now specify a title, or alternate name, for a variable. Sometimes you use variable names
that are useful for you during template development, but not useful for users during an interview. For example, maybe
you name your variables with some type of variable notation, like Client name TE. To a user, this name, if seen in an
interview, may not make much sense. Here, a title (Client's Name) can be used in place of the variable name.
Assign a label to the entire repeated series: You can now assign a label to the entire repeated series, which lets you
customize the dialog title for each individual repetition in the list.
Copy Multiple Choice options, prompts, and merge text and paste them into other spreadsheets: You can copy
data from other spreadsheets or tables and paste it into the Multiple Choice Variable Editor spreadsheet. Similarly, you
can copy the contents of a Multiple Choice Variable Editor spreadsheet and paste it into other tables or spreadsheets
(including other Multiple Choice variables).
Automatically set repeat style when creating a REPEAT field: When you create a REPEAT instruction in the
template (using the REPEAT Field command), HotDocs will automatically suggest Repeated Series as the dialog Style.
Previously, you had to manually specify a repeat style.
Specify merge text on as-needed basis: You can now include merge text for Multiple Choice options on an as-needed
basis. Previously, if you included merge text for one option, you had to provide it for all options. However, now you can
provide it for only those options that require it.
New repeated list format added: When you create a new template, HotDocs includes a, b in the example format lists for
repeated answers. This will format a series of answers as apples, oranges, cherries (excluding any conjunction). To use
the format in existing templates, simply type it in the Format box, either at the Multiple Choice Variable Editor or at the
REPEAT Field dialog box.
Document Assembly
Sort spreadsheets (including answer sources) during the interview: You can now sort the contents of a spreadsheet
in alphanumeric order.
Print contents of the Preview tab at library window: You can select a text or form template at the template library and
print a blank copy of it.
View file names in library's item list: You can now view either the template's title in the library list, or you can view the
template's file name. Additionally, when searching for a specific template, the search is performed on the title, description,
and file name. (Previously, HotDocs would search just the title and description.)
Copyright 2010 HotDocs Ltd. All rights reserved
41
HotDocs Filler
Skip conditioned-out fields during direct-fill assembly: During direct-fill assembly of a form document, HotDocs will
now skip fields that are conditioned (and resolved as false).
42
Template Development
Database Connection: HotDocs Database Connection is now included with all licenses for HotDocs Developer.
Database Connection allows you to retrieve answers from a database.
Changes to HotDocs Server templates and interviews: HotDocs Server 2005 has been redesigned to display browserbased interviews that more closely match desktop interviews. When creating templates for use with HotDocs Server,
you must first enable them to be used on the server. (You do this at the Component File Properties dialog box.)
Once templates are enabled, they will be checked for features that are incompatible with the server or Web browser.
Additionally, enabling the template will let you test the template in a simulated browser environment.
Caution:
To use the new style of interviews, you must regenerate the JavaScript (.JS) files and HotDocs Variable Collection
(.HVC) files. You can do this by republishing your templates. (First make sure they are enabled for HotDocs Server.)
Override parent template headers and footers with those in inserted templates: When you insert templates and
clauses, you can now select options that allow you to keep the headers and footers in the inserted files, rather than
have them overwritten by the parent template's headers and footers. This is useful if you either want to create a master
document containing several subdocuments, or you want the headers/footers defined in one of the inserted templates to
be the headers/footers for the entire document.
Use symbol fonts for answers in text templates: In text templates, can now assign symbolic character fonts (as well
as standard character fonts) for answers in your document. This is useful if users' answers must appear in a non-standard
font, such as a bar code.
Use non-breaking spaces and hyphens in variable formats: Often, you need a user's answer to stay on a single line
in the assembled document. Now you can assign an example format that will keep answers from breaking at the end of a
line of text.
Access a Microsoft Outlook Contacts list: You can now link an answer source to your address book in Microsoft
Outlook. This allows you to retrieve information you're already storing in Outlook and use that information in your
documents.
Document Assembly
Edit answers directly at the Document Preview tab: When previewing an assembled document, you can choose to
have HotDocs identify the answers you have entered. Once you are viewing these answers, you can edit the answers (by
double-clicking on the field). (This feature is available to Microsoft Word users only. Additionally, it is only enabled if the
template provider has enabled it.)
Navigate through answer fields in the document: If you are viewing either an assembled Word document or an
assembled form document, you can use the new Navigation Bar to move between answers fields on the document.
Specifically, you can move between all answers, unanswered questions only, or matching answers (for example, just
those answers that are the same). Additionally, you can have HotDocs take you to the dialog in the interview where
the question is asked. (Moving through fields at the Document Preview tab is available to Microsoft Word users only.
Additionally, it is only enabled if the template provider has enabled it.)
Compare different versions of a document at the assembly window: When HotDocs Compare is installed, you can
answer questions in the interview one way, save a snapshot of the document, and then answer questions differently
so you can compare versions of the document. Additionally, you can save multiple versions of a snapshot to use in the
Copyright 2010 HotDocs Ltd. All rights reserved
43
comparisons you are doing. (HotDocs Compare is available to Microsoft Word users only.) NOTE: Starting with the
release of HotDocs 2009, HotDocs Compare is no longer available.
Copy templates to new locations on disk: In addition to moving templates using the Move Templates command, you
can copy templates to new locations using the new Copy Templates command. When you copy templates, you create a
copy of the template in a new location. Additionally, you can designate that the copied file be marked as read-only.
44
45
46
Library Files
Template Libraries
Template libraries created and saved in HotDocs 2008 and earlier were saved in binary format. Starting with the release
of HotDocs 2009, however, template libraries can be saved in either binary format or as XML. When you open an existing
template library in HotDocs 10, HotDocs keeps it in binary format until you either manually convert the file to XML format,
or you attempt to use foreign characters in the properties of the library, at which time HotDocs will prompt you to save
the file in XML format. (To manually save the file in either format, choose Save Library As from the File menu and
then choose the option you want from the Save as type drop-down list. Foreign characters are characters that are not
compatible with your system's default language.)
Answer Libraries
HotDocs 6 through HotDocs 2008 supported binary answer libraries (or answer libraries with the .HAL file name
extension). Starting with the release of HotDocs 2009, however, HotDocs now supports both binary answer libraries and
XML-based answer libraries (which use the .HDL file name extension). By default, HotDocs will continue to use binary
answer libraries as long as the answer file properties of items in the library use characters that are compatible with your
system's default language. If you define answer file properties that contain foreign characters, HotDocs will create an
XML-based answer library (so that it can properly display these characters in the Properties tab of the library window.)
Caution:
If you are working in HotDocs 10, but the library needs to be compatible with HotDocs 2005-2008, do not use any
foreign characters (for example, characters that are not compatible with your system's default language) in the library
properties. Any foreign characters you use will appear as boxes or question marks in HotDocs 2005-2008.
47
Note:
If you need to keep several templates in their existing pre-HotDocs 10 format and you don't want to be prompted to
make this selection on a template-by-template basis, you can use Template Manager to change the component file
format for several files at once. See Modify Component File Properties Across Multiple Files for details.
Answer Files
HotDocs 6 through HotDocs 2008 support two types of answer filesbinary answer files (.ANS) and XML answer files
(.ANX). Starting with HotDocs 2009, answer files are saved in XML format only. This means that if you open a binary
answer file (an .ANS file) in HotDocs 10, change one or more answers, and then save, the answer file will be saved as
XML. The file extension will not be changed, but will continue to be .ANS even though the file is in XML format.
If you are using HotDocs 10 to create answer files for use with a pre-2009 version of HotDocs, you must save the answer
file in a backwards-compatible format. Specifically, if you need to use the answer file with HotDocs 2005 through HotDocs
2008, you must save the file as a HotDocs 2005-2008 answer file. You can select this format at the New Answer File
dialog box or the Save Answer File As dialog box. You can also select it at the Properties dialog box for the answer file.
Any unsupported foreign characters you use will appear as boxes or question marks in HotDocs 2005-2008.
Note:
HotDocs 10 answer files can be used with HotDocs 2008 SR2 without making the files backwards compatible.
48
System Requirements
To ensure the best performance using HotDocs, please note the following requirements for hardware and software:
Hardware
900 MHz processor (2GHz, recommended)
1 GB RAM (2 GB, recommended)
50 MB hard disk storage
1024 x 768 screen resolution with at least 16-bit color
Software
Windows XP (SP1 or higher), Windows Vista (32-bit or 64-bit), or Windows 7 (32-bit or 64-bit)
Microsoft Internet Explorer 6.0 or later
Microsoft Word 2000, XP, 2003, 2007, or 2010
Corel WordPerfect 8, 9, 10, 11, 12, X3, X4, or X5
Caution:
WordPerfect X3 SP2 and later are the only versions of WordPerfect supported for use on Windows Vista and
later.
Microsoft .NET Framework 3.5, Microsoft Silverlight 3 Runtime, and Microsoft Silverlight 3 SDK (These are only
required if you want to view Silverlight-based interviews for your HotDocs Server-enabled templates.)
Tip:
You can download the Microsoft .NET Framework and Silverlight requirements from the following sites:
o
http://www.microsoft.com/NET/
http://www.microsoft.com/silverlight/get-started/install/default.aspx
http://www.microsoft.com/downloads/details.aspx?FamilyID=1ea49236-0de7-41b1-81c8-a126ff39975b
Databases
If you plan to integrate HotDocs with a database, you must have one of the following applications or servers installed:
Microsoft Access
Microsoft SQL Server
Oracle 8i or 9i with the OraOLEDB OLEDB provider
Most other ODBC-compliant database
49
Install HotDocs
When you insert the HotDocs installation disk in your CD-ROM drive, a CD browser window should automatically appear.
From this window, you can view the Readme and install HotDocs. Once installation has started, HotDocs prompts you for
all of the information it needs to complete the process.
Before installing HotDocs, make sure your computer meets the minimum requirements necessary for using HotDocs. (See
System Requirements.)
To install HotDocs
1. Close all open programs, especially any word processors or existing versions of HotDocs you may have open.
2. Insert the HotDocs installation CD into your CD-ROM drive. The CD browser window appears.
3. Click Install HotDocs Developer. The installation program begins installing HotDocs.
4. Follow the on-screen prompts to complete the installation.
Note:
To manually install HotDocs, select Run from the Start menu. If you are running a 32-bit operating system, type
D:\setup. If you are running a 64-bit operating system, type D:\setup64 (substitute the correct drive letter if your
CD-ROM drive is not mapped to D:\). Follow the on-screen prompts to complete the installation.
For a description of how HotDocs is installed, see Understand HotDocs Installation.
50
HotDocs Setup
When you first install HotDocs (see Install HotDocs) from setup.exe (for 32-bit operating systems) or setup64.exe (for 64bit operating systems), HotDocs installs the program files needed to use HotDocs, including any executable files used to
run HotDocs. Among others, it also installs the HotDocs Help files and a folder containing scripts, images, and stylesheets
which are needed for developing HotDocs Server templates. These files are installed, by default, to C:\Program Files
\HotDocs. This location is not user-specific, which allows all users of a single workstation access to the files.
As HotDocs installs these files, it registers information about them in the Local Machine key of the Windows System
Registry. For example, the Registry stores information about where the executable file for HotDocs is located on disk, as
well as which word processors HotDocs supports. It also sets some preliminary file location information for the various
files HotDocs uses, including information about library files and template set files. All of this information must be registered
in order for HotDocs to work correctly.
51
Default Location
Program Files
C:\Program Files\HotDocs
Help Files
Program Files\HotDocs
My Documents\HotDocs\Spelling
Library Files
My Documents\HotDocs\Libraries
Template Files
My Documents\HotDocs\Templates
Note:
Even though HotDocs saves all template types to this folder, it still maintains separate
default settings for text templates, form templates, and interview templates.
Template Sets
My Documents
Answer Files
My Documents\HotDocs\Answers
Catalog Files
My Documents\HotDocs\Publish
If you need to change these default locations after HotDocs is installed, you can do so at HotDocs Options. See Change
Word Processor File Locations and Change HotDocs Program File Locations for details.
Caution:
If you are upgrading from HotDocs 6.1 or earlier and your libraries are saved in the HotDocs 6 Program Files
folder, HotDocs will set this folder as the default location for libraries. If you do not have library files saved here,
HotDocs will use My Documents\HotDocs\Libraries.
If you perform a custom installation, HotDocs will install files and set registry entries using the information you
specify during installation. Whatever settings you specify during installation will be used for all users of the
workstation.
52
53
http://en.wikipedia.org/wiki/Unicode
Note:
While the template, interview, and assembled document may appear in most languages supported by Unicode,
the HotDocs application itself continues to be supported in English only.
This help file defines Unicode characters that are not part of your typical language set as foreign or international
characters.
54
55
Uninstall HotDocs
You can remove existing versions of HotDocs from your computer by using the HotDocs uninstall program. When you
uninstall, all of the program files are removed from your computer. However, the program does not remove any custom
templates, libraries, or answer files you have created.
To uninstall HotDocs in Windows XP
1. At the Start menu, select Settings > Control Panel. The Control Panel dialog box appears.
2. Click Add or Remove Programs. The Add or Remove Programs dialog box appears.
3. Select the version of HotDocs that needs to be removed, then click Remove. The HotDocs uninstall process starts.
4. Follow the on-screen prompts to remove the program.
You can remove existing versions of HotDocs from your computer by using the HotDocs uninstall program. When you
uninstall, all of the program files are removed from your computer. However, the program does not remove any custom
templates, libraries, or answer files you have created.
To uninstall HotDocs in Windows Vista and above
1. At the Start menu, select Control Panel > Programs > Uninstall a Program.
2. Select the version of HotDocs that needs to be removed, then click Uninstall. The HotDocs uninstall process starts.
3. Follow the on-screen prompts to remove the program.
Caution:
If you plan to reinstall HotDocs to restore default settings, you must delete the user-specific settings HotDocs entered
in the Windows System Registry. For details on doing this, see Restore Installation Defaults.
1
"The Unicode Standard: A Technical Introduction. 17 Sept, 2008, 12:27 PM. 5 Dec 2008 http://www.unicode.org/
standard/principles.html.
56
HotDocs button in the word processor toolbar. This will open and display
57
Exit HotDocs
When you are finished using HotDocs, you can exit it.
To exit HotDocs
Click Exit (File menu).
58
1. Overviews: These topics describe, in general terms, a particular feature or tool of HotDocs.
2. How do I ?: These topics provide step-by-step instructions for completing a task in HotDocs.
3. Reference Material: These topics offer additional information about a HotDocs feature or tool, such as background
data or tips.
4. Dialog Box Descriptions: These topics provide information for a specific dialog box or window. (You usually access
these help topics by clicking the Help button on a dialog box that has one.)
) or in the toolbar (
), and then click the item for which you want help.
To access dialog-level help, click the Help button at any dialog that contains one.
Decrease Size buttons to increase or decrease the font size used for viewing
59
Note:
For additional help using HotDocs, you can view the online HotDocs Knowledge Base. See http://
help.hotdocs.com/knowledgebase.
When you view a topic in a search results list, the help system highlights your search terms. If you want to
remove these highlights, click the Remove Highlighting button. (To show highlighted terms again, click the
Highlight Search Terms button.)
60
1. At the template library, select the converted template you want to verify and click
2. Test assemble the template and verify that it does not contain any automation or scripting that may cause problems.
(See Check Interviews for Improper Scripting.)
3. In addition to reviewing any reported warnings, make sure the converted template looks and functions correctly. For
example, you should check for the following:
Any syntax errors reported by HotDocs have been fixed. (See Understand and Resolve Syntax Errors in a
Template or Script.)
The interview outline looks right and operates properly.
Dialogs look right and operate properly.
The document is assembled correctly.
61
62
Type of File
.RTF
.DOT
Word Template
.WPT
WordPerfect Template
.HFT
.HPT
.HFD
.HPD
.DOC
Word Document
.WPD
WordPerfect Document
.CMP
.CMP
.HDL
.HDL
.HCL
.HDP
.HDA
.HDI
.HDK
HotDocs Registration File (required when publishing templates for commercial use with
HotDocs Player)
.HAL / .HDL
.ANS / .ANX
63
if you open a binary answer file (such as an .ANS file) in HotDocs 2009, make a
change to the file, and then save it, the contents of the answer file will be converted to
and saved as XML. (The file name, however, will continue to use the ANS file name
extension.) If you want the answer file to be compatible with versions of HotDocs
prior to HotDocs 2009, see Compatibility of HotDocs 10 Files with Earlier Versions of
HotDocs.
.HPL
JavaScript interview file and HotDocs Variable Collection file (These files are used when
generating HotDocs Server interviews.)
.HDPMX
Publisher Answer Source Mapping File (This file is used to save variable mapping
information created and used by other third-party applications.)
.HDUMX
User Answer Source Mapping File (This file is used to save variable mapping information
created and used by other third-party applications.)
64
65
Documentation Feedback
To improve the quality of the tutorials and the help files, we invite you to make comments or suggestions. When doing so,
please include as much information about your experience using the documentation as possible. For example, include
which version of the product you are using, as well as whether your suggestion is in regards to the Installation Guide and
Tutorial or the electronic help file. If commenting about a specific topic, include that information as well.
Caution:
The HotDocs Publications team cannot respond to technical support or project consulting questions. We are mainly
interested in problems with the documentation itselfsuch as erroneous information, grammatical and spelling errors,
or suggestions for topics to include in the next release of the software.
E-mail your comments and suggestions to [email protected].
66
Windows Application key on your keyboard. (Or, press Shift+F10.) A shortcut menu
67
appears. Then, either press the Down Arrow key to select Go to Answer in Document (and then press Enter), or press
the G key to issue the command.
Note:
To close a shortcut menu without choosing an option in it, press the Esc key.
68
Press This
Tab / Shift+Tab
Ctrl+Tab
Enter
Shift + Enter
Ctrl+Enter
Alt+Enter
Delete
Ctrl+C
Ctrl+N
Ctrl+O
Ctrl+P
F1
Shift+F1
69
Ctrl+F1
Alt+F4
F6
Alt+F6
Ctrl+F6
F10
Shift+F10
F12
This option selects the split bar so you can use the arrow keys to move it. Press Enter to
set the placement.
Press This
Enter
Alt+Enter
Insert
Delete
Alt+Down Arrow
Ctrl+C
70
Ctrl+E
Ctrl+F
Ctrl+H
Ctrl+N
Ctrl+P
Ctrl+W or Alt+F4
F1
Shift+F1
Ctrl+F1
F2
F7
F10
Shift+F10
Press This
Tab / Shift+Tab
Ctrl+Enter
Insert
Ctrl+Space
71
Ctrl+A
Ctrl+C
Ctrl+E
Ctrl+F
Ctrl+G
Ctrl+H
Ctrl+I
Ctrl+K
Ctrl+Shift+K
Ctrl+Shift+M
(Use F3 to find the next instance of text for which you are searching.)
Ctrl+Shift+M
Ctrl+N
Ctrl+T
Ctrl+V
72
Ctrl+W or Alt+F4
Ctrl+X
Ctrl+Y
Undo a change
Ctrl+Z
F5
Shift+F5
F8
F10
Press This
Enter
Ctrl+Enter
Ctrl+Down Arrow
73
Alt+Down Arrow
Ctrl+N
Ctrl+O
Ctrl+S
Ctrl+W or Alt+F4
Alt+F1
Alt+Enter
Ctrl+F6
F7
F10
F11
Shift+F11
Ctrl+F11
F12
Ctrl+F12
This option selects the split bar so you can use the arrow keys to move it. Press Enter to
set the placement.
74
Keyboard Shortcuts for the Document Preview Tab of the Assembly Window
To Do This
Press This
Ctrl+Tab
Enter
Enter
Ctrl+A
Ctrl+C
Ctrl+F
Ctrl+G
Ctrl+N
Ctrl+O
Ctrl+S
Ctrl+W or Alt+F4
Ctrl+P
Ctrl+= / Ctrl+-
F10
75
F11
Shift+F11
Ctrl+F11
F12
Keyboard Shortcuts for the Form Document Tab of the Assembly Window
To Do This
Press This
Tab / Shift+Tab
Enter
Alt+Enter
Alt+Down Arrow
Ctrl+A
Ctrl+C
Ctrl+D
Ctrl+G
Ctrl+M / Ctrl+Shift+M
Ctrl+N
76
Ctrl+O
Ctrl+P
Ctrl+S
Ctrl+V
Ctrl+W
Ctrl+X
Ctrl+= / Ctrl+-
F6
Ctrl+F6
F7
F9
Shift+F9
F10
F11
F12
This option selects the split bar so you can use the arrow keys to move it. Press Enter to
set the placement.
Press This
Tab
Shift+Tab
77
F11
F12
Press This
Delete
Home
End
Alt+Up Arrow
Alt+Down Arrow
Press This
Tab / Shift+Tab
Ctrl+Tab
Alt+Enter
Delete
Ctrl+C
Ctrl+N
Ctrl+X
78
Ctrl+W or Alt+F4
F6
Ctrl+F6
F10
This option selects the split bar so you can use the arrow keys to move it. Press Enter to
set the placement.
Press This
Alt+Down Arrow
Ctrl+E
Ctrl+N
Ctrl+W
Alt+F6
Shift+F10
Ctrl+Tab
F10
F1
Shift+F1
Ctrl+F1
79
To Do This
Press This
Go to First dialog
Ctrl+Home
Previous Unanswered
dialog
Ctrl+PgUp
Previous dialog
PgUp
Next dialog
PgDn
PgUp
Go to Last Dialog
Ctrl+End
Spreadsheet Bar
To Do This
Press This
Edit Row
Ctrl+Enter
Insert Row
Ctrl+Insert
Delete Row
Ctrl+Del
Press This
Go to First dialog
Ctrl+Home
Previous Unanswered
dialog
Ctrl+PgUp
Previous dialog
PgUp
Next dialog
PgDn
PgUp
Go to Last Dialog
Ctrl+End
Spreadsheet Bar
To Do This
Press This
Edit Row
Ctrl+Enter
Insert Row
Ctrl+Insert
Delete Row
Ctrl+Del
80
SECTION 3:
SETTING HOTDOCS OPTIONS
81
82
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. In the Interview Outline group, select Display repeat icons in interview outline.
Note:
To have HotDocs show repeated dialogs in the main level of the interview outline, clear Display repeat icons in
interview outline.
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. In the Interview Outline group, click the Automatically expand child dialog entries drop-down button and select
one of the following options:
Choose Completely to have HotDocs expand the interview outline to show the relationship between all related
dialogs.
Choose Partially to have HotDocs expand the interview outline to show only the dialog you are currently
answering.
Choose Not at all to have HotDocs not expand the interview at all and show only the parent dialog in the
interview outline.
Note:
These views are controlled when you use the navigation bar or shortcut keys to complete an interview. Once you click
in the interview outline, expansion of the outline is controlled by the mouse.
button on the navigation bar to which you tab after answering questions in the interview. When this option is cleared and
you press Tab after the last question in the interview, HotDocs will tab to the first active button in the Navigation Bar.
To control the Navigation Bar tab order
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. In the Dialog Navigation group, select Next button first in Navigation Bar tab order.
Now when tabbing from the last answer field in the dialog to the Navigation Bar, you will automatically tab to the
button, regardless of whether the
First Dialog,
Previous Unanswered, or
Next
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. In the Dialog Navigation group, select Select existing answers when tabbing between fields to have existing
text highlighted when you tab to a field.
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. Select Display warning when clicking Add Another button at empty dialog.
Control the Functionality of the Enter Key During the Interview
You can control the functionality of the Enter key as you enter answers in a dialog. For example, if you want to use the
Enter key to advance to the next dialog instead of the next answer field, you can specify an option that will make this
possible.
To specify how the Enter key functions during assembly
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
Copyright 2010 HotDocs Ltd. All rights reserved
84
3. In the Dialog Navigation group, click the Enter key action in single-line fields drop-down button and select an
option:
Choose Next dialog to have the Enter key display the next dialog.
Choose Next answer field to have the Enter key move your cursor to the next answer field.
Choose No action to make the Enter key not do anything.
Note:
Pressing Enter in a multi-line text field will insert a line break, while pressing Ctrl+Enter will insert a paragraph end.
(This affects Word users only.)
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. In the Dialog Navigation group, click the Show answer field resource button drop-down button and select an
option:
For the current field only causes HotDocs to display a resource button next to an answer field only when that
field is active (or when you are answering it).
For all fields with a resource causes HotDocs to simultaneously display resource buttons for all answer fields
in the dialog that contain a resource. The buttons appear regardless of which answer field is active.
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. Click the When answers are reformatted drop-down button and select one of the following options:
Choose Leave dialog anyway to have HotDocs immediately advance to the next dialog in the interview
without showing you the reformatted answer.
85
Choose Pause before leaving dialog to cause HotDocs to reformat the variable and re-display it for one
second before advancing to the next dialog.
Choose Don't leave dialog to cause HotDocs to reformat the variable and stay at the current dialog until you
click Next again.
Note:
This answer reformatting affects only how answers are displayed in the dialog pane. Answers in the assembled
document are formatted as the developer specifies or according to the Default date format property.
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. At the Answer Entry group, click the Date Detection drop-down list and select a format:
Choose Month Day Year to have HotDocs assume the first set of numbers in an answer is the month while the
second set is the day of the month.
Choose Day Month Year to have HotDocs assume the first set of numbers in an answer is the day of the
month while the second set represents the month.
Note:
For HotDocs users in the United States, the default option is Month Day Year. For HotDocs users outside the
U.S., the default option is Day Month Year.
To specify the format for the answer when it is merged into the assembled document, see Specify a Default Date
Format.
86
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. In the Answer Entry group, clear Require four-digit year in dates. The Century rollover year option becomes
available, with the default rollover value of 50 selected.
4. Type a new two-digit number value in the Century rollover year box (or click the up or down arrows to select a
number.) Dates you enter where the year is greater than this value will appear as 19??, while dates where the year
is less than this value will appear as 20?? (where ?? represents the year you type at the answer field.)
2. Click the Interviews and Dialogs folder. The window changes to show several options relating to the way variables
and dialogs appear and are processed during the interview.
3. At the Answer Entry group, select a date format from the Date display format drop-down list. Your options include
3 Jun 1990; June 3, 1990; 6/15/1990; and 15/6/1990.
Note:
Whether the 6/15/1990 format or the 15/6/1990 format is available depends on your date detection format.
2. Double-click the Interviews and Dialogs folder. The folder expands to show subfolders.
3. Click the Appearance subfolder. The window changes to show a visual representation of the dialog pane.
4. Make any changes, based on the following options:
To change the font or font size for text in the dialog, click the Dialog font drop-down button and choose the
font from the list and enter a size in the Font size box.
To change the font or font size for text in the resource pane, click the Resource font drop-down button and
choose the font from the list and enter a size in the Font size box.
To change the font or font size for text in the interview outline, click the Outline font drop-down button and
choose the font from the list and enter a size in the Font size box. (To see these changes take effect, you
must start a new assembly.)
To change the color of an item in the assembly window, click the Item color drop-down button and choose the
item from the list. Then click the color drop-down button and choose the color.
Copyright 2010 HotDocs Ltd. All rights reserved
87
To have HotDocs mark required questions with an asterisk, select Show asterisk for required fields .
Note:
In addition to choosing the item whose properties you want to change using the drop-down lists, you can also click on
an area in the dialog preview. This automatically selects the item (in the corresponding drop-down list) so you can then
change the properties.
2. Double-click the Interviews and Dialogs folder. The folder expands to show subfolders.
3. Click the End of Interview subfolder. The window changes to show which buttons you can choose to have appear in
the End of Interview dialog.
4. In the End of Interview Buttons group, choose which buttons you want on the End of Interview dialog by selecting
the corresponding check box.
Caution:
Buttons will be included only if they are selected and if they are relevant to the current interview. For example,
HotDocs will display the
Go to the first unanswered question in the interview button only if there is at least one
unanswered question in the interview.
Note:
To customize the list of buttons while viewing the End of Interview dialog, you can right-click anywhere in the dialog
and choose Change Options from the shortcut menu.
2. Double-click the Interviews and Dialogs folder. The folder expands to show subfolders.
3. Click the End of Interview subfolder. The window changes to show options for working with the End of Interview
dialog.
4. In the Finish Interview Action group, select an option for text documents:
88
To send all assembled text documents directly to the word processor, select Send assembled text
documents to the word processor and close.
To view all assembled text documents directly at the Document Preview tab of the assembly window, select
Proceed to the Document Preview tab.
will perform the action you specified. Additionally, whenever you click the
performed.
89
Document Assembly
The following topics discuss the options available in the Document Assembly folder of HotDocs Options:
2. Click the Document Assembly folder. The window changes to show several assembly options
3. Select Auto-arrange toolbars.
Display Warning When Questions are Unanswered
As you complete a HotDocs interview, HotDocs keeps track of which questions you have answered. You can have
HotDocs display a warning message if you attempt to send the document to the word processor without answering one
or more questions. (The warning also appears when you save or print the document.) Leaving questions in an interview
unanswered may result in an incorrectly assembled document. Heeding these warnings can help you ensure the accuracy
of the document.
To have HotDocs display a warning when variables are unanswered
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. Select Display unanswered warning before saving documents.
Note:
If you don't want HotDocs to warn you about unanswered questions, clear Display unanswered warning before
saving documents. Unanswered questions will still be reported in the End of Interview dialog, but HotDocs will no
longer display warning messages.
Prompt to Save the Assembled Document When Closing the Assembly Window
Whenever you close an assembly window, either before or after you send the assembled document to the word
processor, HotDocs can ask if you want to save a copy of the assembled document.
To have HotDocs prompt you to save the assembled document
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. Select Prompt to save document when closing assembly window. HotDocs will prompt you to save a copy of the
assembled document whenever you close the assembly window.
4. Optionally, select Prompt to save documents sent to word processor to have HotDocs prompt you to save a
copy of the assembled document when you close the assembly window, even if you have sent the document to the
word processor.
90
Note:
Depending on your project needs, you may not need to save electronic versions of your documents. In such cases,
you can clear both of these options.
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. From the Assembly Window group, select Prompt before printing assembled document via word processor.
Prompt to Select an Answer File Before Assembly
You can have HotDocs prompt you to select an answer file when you assemble a document. When it does, you can
choose to use an existing answer file; specify a new, untitled answer file; or use the answer file from your last assembly.
To have HotDocs prompt you for an answer file
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. Select Prompt for answer file when beginning an assembly.
Note:
Clear Prompt for answer file when beginning an assembly to have HotDocs bypass this option and start the
interview immediately using an untitled answer file. Once the interview has started, you can save the current answer
file at any time.
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. Type a date format in the Default date format box. (Use one of the following example formats: June 3, 1990; 3
June 1990; 03 JUN 90; 06/03/90; or 3rd day of June, 1990.)
91
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. At the Unanswered variable placeholder drop-down list, make a selection based on the following information:
Select ***Variable*** to insert the name of the variable with three asterisks on both sides of the variable name.
Select [Variable] to insert the name of the variable between two brackets.
Select Underscores to insert a blank line where the answer should be.
Select Asterisks to insert three asterisks.
Select Nothing to insert nothing in the unanswered field, not even a space.
Note:
Sometimes a template developer may assign a placeholder to be used with a variable. If so, the document may
show a placeholder that is different than what you select here.
If you are using Microsoft Word (and the template developer has enabled answer editing at the Document
Preview tab), you can edit answers while viewing the document. See Edit Answers at the Document Preview
Tab.
Set Properties for Viewing Answers and Editable Text in the Assembled Document
If you are using Microsoft Word, you can view answers and assembled document text that can be edited while viewing the
Document Preview tab. (See Edit Answers at the Document Preview Tab for details.) When doing this, you can control
whether the answers and text are marked by a special color, which you can also define.
Caution:
Some template developers choose to disable these features in their templates. If the options for editing answers and
text are not available at the assembly window, this is why.
To always highlight answers and editable text in a document
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. Select Highlight fields at Document Preview tab. This will mark answers in the document with the color you define
at the Color drop-down. It will also mark editable document text as well as edited document text.
4. Optionally, to change the color for answer fields or sections of editable text, click the Document field drop-down
button, and choose the appropriate option. Then click the Color drop-down button and choose a color.
Note:
To restore the default colors, choose the field type and then click the Color drop-down button. Choose Default from
the top of the Palette tab.
92
assembly is complete. If there are multiple assemblies in the queue, HotDocs will assemble them in the order they are
added. (See Use the Assembly Queue.) You can have HotDocs warn you when you attempt to assemble a document and
one is already being assembled.
To have HotDocs warn you when you add an assembly to the queue
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. In the Assembly Queue group, select Prompt before adding an assembly to the queue.
Include List of Completed Assemblies in Assembly Queue
As you assemble documents during a given session of HotDocs, you can have HotDocs create a list of each document
you have assembled in the assembly queue. This list remains active during a particular session of HotDocs. (A session is
the time between when you start HotDocs and when you close it.)
To list completed assemblies in the assembly queue
2. Click the Document Assembly folder. The window changes to show several assembly options.
3. In the Assembly Queue group, select List completed assemblies.
Note:
If you are assembling large numbers of documents and you don't want HotDocs to track completed assemblies, clear
List completed assemblies. Then, once assembly has finished, the assembly is removed from the queue.
93
Document Markup
The following topics discuss the options available in the Document Markup folder of HotDocs Options:
2. Click the Markup View (Word) folder. The window changes to show several markup options.
3. Complete any of the tasks, described in the following table:
To
Do This
Enter the opening and closing characters in the boxes next to the field type:
Answers field = variable fields
Insertion field = INSERT instructions
Editable text = SPAN / END SPAN instructions
Conditional text = IF/ END IF instructions
Alternative text = ELSE IF / ELSE instructions
Repeated text = REPEAT / END REPEAT instructions
Select Use developer comments to label answer fields. If comments have been
entered for a variable field, they will be merged in the markup field.
94
To
Do This
To merge the same comment in the closing markup field, select and end of text
blocks.
Selecting this option causes HotDocs to use the closing marker after the opening
label. The closing marker will also be used at the end of the text block.
In the following example, [* is the opening marker for conditional text while *] is the
closing marker. The following is what will be merged in the marked up document:
[*Insert paragraph if employee must complete a trial
period*]
The length of [Employee Name]'s employment will be an
initial term of six months.*]
Select Add Footnote/Endnote at beginning of text blocks. Then select whether the
annotation will be marked using Letters or Numbers.
To annotate the closing field label, select and end of text blocks.
Select Color and click the Color drop-down button. Then choose the color scheme.
(See Define Field Colors for details.)
Caution:
Merge fields in the document are italicized by default. If you've used international
characters in your answers, the italicized version of the font used in the document
may not display the foreign characters correctly. If this is the case, clear the Italic
attribute.
Caution:
Editable text blocks are not visible when viewing the markup of an assembled
document.
Caution:
By default, HotDocs does not show SPAN instructions when you switch to Markup
View.
95
To
Do This
When this option is selected, HotDocs will simply mark fields using field markers. If
comments have been assigned to variable fields, those comments will be merged.
(They will not be merged for instruction fields, however.)
To assign font formatting and color to markup fields at the Preview tab, select Apply
attributes to answer fields when minimal markup is used .
2. Double-click the Markup View (Word) folder. The folder expands to show subfolders.
3. Click the Field Colors folder. The window changes to show lists of field types and instructions with their
corresponding colors.
5. Repeat this process for each field type or level of instruction you want to change.
Once you have made these changes, you must click the
colors to any existing fields.
Note:
HotDocs allows you to assign up to 20 Nested and Sequential colors. If you want to use fewer color schemes,
select the Level or Field after the last color you want used and assign black as the text color and white as the
highlight color. (So, for example, if you want to show only four levels of nesting, click on Level 5 and assign the
black/white color combination.)
If using the keyboard, tab to the row you need to access and press the Spacebar to show the foreground color
palette. Press Shift+Spacebar to show the background color palette.
To restore default colors, click the Color drop-down button and choose Default at the top of the Palette tab.
To choose the colors used for form fields, see Change Colors in Form Fields.
96
Model Documents
The following topics discuss the options available in the Model Documents folder of HotDocs Options:
2. Click the Model Documents folder. The window changes to show options for working with model documents.
3. Clear Enforce model document naming standards.
Caution:
Currently in HotDocs, template developers can include spaces and non-alphanumeric characters in variable
names. In some future version, however, HotDocs may require users to follow a newer, more standard practice of
naming variables that includes using only letters, numbers, and underscores.
See Model Document Naming Standards for more details.
97
Form Documents
The following topics discuss the options available in the Form Documents folder of HotDocs Options:
2. Click the Form Documents folder. The right pane changes to show options for working with forms.
3. Click the Show measurements in drop-down button and select Inches, Points, Centimeters, Picas, or
Millimeters.
2. Click the Form Documents folder. The view changes to show general form options.
3. Click the Color theme drop-down button and select a color scheme.
Note:
To change the colors used for text template fields, see Define Colors for Fields and Instructions.
2. Click the Form Documents folder. The right pane changes to show options for working with forms.
3. Click Send assembled PDF-based forms to drop-down button and choose Adobe Acrobat.
Note:
To always send PDF-based forms to HotDocs Filler, click Send assembled PDF-based forms to and choose
HotDocs Filler.
98
2. Click the Form Documents folder. The right pane changes to show options for working with forms.
3. In the On Open group, select options that control the view when you open a form, as described in the following
table:
To
Do This
The thumbnails appear in a separate pane in the window. You can click on the
thumbnail images to move through the form.
Note:
You can hide the fields, variables, and thumbnails by clearing these options.
To change the colors used for form fields, see Change Colors in HotDocs Forms.
2. Click the Form Documents folder. The right pane changes to show several options for working with forms.
3. In the While Filling group, make selections based on the following information:
Select Warn when leaving a field that overflows to display the Overflow Options dialog box when an
answer needs more space than the field allows.
Select Warn when typing in a restricted field to display the Restricted Field dialog box when you type in a
field that can't be answered until other fields have valid answers.
Copyright 2010 HotDocs Ltd. All rights reserved
99
Select Warn when overriding a field to display the Override Field dialog box when you choose to override a
field.
Select Warn when attempting to create a field using the Fill tool to display a message explaining how to
create a field when viewing the Form Document tab of the assembly window.
Note:
You can choose to have no warnings appear by clearing these options. This will not automatically resolve answer
overflow or allow you to type answers in inactive fields. It only means no warnings will be displayed during the
interview or direct-fill. When you attempt to save or print the document, you must resolve the overflow.
2. Click the Form Documents folder. The right pane changes to show several options for working with forms.
3. From the Printing group, select Remember the printer used for forms.
4. Print a form document, selecting the printer you want to associate with forms.
Note:
You can have HotDocs not remember printer information by clearing this option. This means HotDocs will suggest the
default printer you have selected for all printing.
2. Double-click the Form Documents folder. The folder expands to show several sub-folders, and the right pane
changes to show several options for working with forms.
3. At the Print PDF-based forms using drop-down list, do one of the following:
Select Always Ask to have HotDocs prompt you for your choice each time you print a PDF form.
Select HotDocs to always print the assembled document using HotDocs' printing technology.
Select Adobe Acrobat to always print the document using Adobe's printing technology.
Note:
Click here for tips on which printing option you should choose.
100
2. Click the Form Documents folder. The right pane changes to show several options for working with forms.
3. From the Recovery (HotDocs Automator only) group, make selections based on the following information:
Select Create backup copies of original templates to have HotDocs create a backup file when you first
create a new form template. If ever you need to revert to the file as it was when you created it, you can open
the backup file and save it using the original file name.
Select Maintain auto-recovery files while editing templates to have Automator create a log file that lists all
changes made directly in the form. If there is a system failure while you are working, the next time you open
the file, it will use the log file to reapply all changes made to the form, so you won't lose any work. (The log file,
however, doesn't back up the component file.)
Note:
Backup files are created in the same folder as the original file. If the folder is write-protected, the backup file is created
in the temporary folder defined by your TMP or TEMP system variable. The backup file has the same name as the
original file but with the extension ~FT, or ~PT. (If, for some reason, the backup file can't be created with that name, it
will have a number instead of the F or P in the extensionfor example, ~2T.) Each time you open the original file, its
current content will be saved to the backup file, overwriting the previous content.
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Open the Properties for New Fields folder. The window changes to show options that control how edit fields
appear.
4. Make changes in the Edit Fields group, based on information in the following table:
To
Do This
Click Font and make your changes at the Font dialog box.
At the Horizontal alignment drop-down list, select Left, Right, Center, or Justified.
At the Vertical alignment drop-down list, select Left, Right, Center, or Justified.
Note:
Vertical alignment is only apparent in multiple-line fields.
At the Lines per inch box, type a number (or click the up or down arrows to select a
number).
101
To
Do This
At the Margins group, type a number (or click the up or down arrows to select a
number) for the left, right, top, and bottom margins.
Caution:
The changes you make are not applied to existing fields. The changes won't take effect until you create a new field.
To change the appearance of existing edit fields, right-click on a field in the form and select Field Properties from the
shortcut menu.
Note:
Some changes you make to these edit field properties may not affect specific fields because of settings assigned to
these fields. For example, if the Max Lines setting for a field is set to 1, the Lines per inch property will have no effect
this property only affects multiple lines of text, but the Max lines setting limits the field to one line of text.
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Click the Properties for New Fields folder. The window changes to show field detection options that affect what
kind of fields are created.
4. Make changes in the Check-Box Fields group, based on information in the following table:
To
Do This
Click the Font button, then make changes at the Font dialog box.
Note:
If you specify 0.00 as the value of this box, no new fields will be created as checkbox fields.
At the Vertical alignment drop-down list, select Left, Right, Center, or Justified.
102
To
Do This
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Open the Properties for New Fields folder, then select the Overflow Properties subfolder. The window changes to
show options that control answer overflow.
4. Make selections for handling edit field overflow, based on the following options:
Select Shrink answer as needed to and then enter the point size in the points box. HotDocs will attempt to
reduce the answer to this font size before warning of overflow.
Select Send answer to addendum to have HotDocs automatically resolve all overflow by sending answers to
the addendum.
Select Split multi-line answer between form field and addendum to have HotDocs send only the part of the
answer that overflows in a multi-line field to the addendum.
5. Make selections for handling table overflow, based on the following options:
Select Send entire table to send all answers in the table to the addendum.
Select Send complete rows to send answers from each row that contains a cell which overflows to the
addendum.
Select Send individual cells to send answers from individual cells that overflow to the addendum.
Caution:
The changes you make are not applied to existing fields. The changes won't take effect until you create a new field.
Note:
You can customize the reference that appears in the overflowed answer field. This can help you determine where
the answer is located in the addendum. (See Specify Addendum References and Labels for Answer Overflow.)
You can remove the rules that automatically handle answer overflow by clearing these options. This will require
you to manually resolve each instance of answer overflow.
103
can specify what text is used in creating the cross reference as well as specify the text that identifies the answer once it
has been sent to the addendum.
To control what information appears in overflow references and in the addendum
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Open the Properties for New Fields folder, then select the Overflow Properties subfolder. The window changes to
show options that control answer overflow.
4. In the Cross-reference text box, enter the cross-reference text you want to merge in the field if the answer
overflows. (See Use Answer Overflow and Addendum Text Codes.)
5. In the Addendum label text box, enter the text you want to appear as the label for the entry in the addendum.
6. At the Table answer column indent box, enter a number (or click the up or down arrows to select a number) to
control the distance between the label for that specific entry in the list of answers and the actual answer.
Caution:
The changes you make are not applied to existing fields. The changes won't take effect until you create a new field.
Note:
If you leave the Cross-reference text box empty, HotDocs uses a default reference, See # in Addendum.
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Click the Properties for New Forms folder.
4. Select Generate default interview from form fields.
Caution:
The changes you make are not applied to existing templates. The changes won't take effect until you create a new
template.
Note:
You can generate default interviews on a template-by-template basis (see Have HotDocs Generate a Default
Interview), or even create custom interviews for your form templates (see Define a Custom Interview).
You can prevent users from using the interview outline by clearing this option. This will force users to directly fill
the document at the Form Document tab.
Set Paper Size and Paper Source Defaults for Printing Forms
You can specify the paper size and paper source to be used when forms are printed.
To set paper size and paper source properties for a form
104
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Click the Properties for New Forms folder. The window changes to show options that control the properties of
newly created forms.
5. At the Paper Size drop-down list, select one of the available options.
6. At the Paper Source drop-down list, select one of the available options.
Caution:
The changes you make are not applied to existing templates. The changes won't take effect until you create a new
template.
Note:
You can use command-line options to specify these printing properties. See the Paper Tray and Paper Size commandline options.
2. Double-click the Form Documents folder. The folder expands to show several subfolders.
3. Double-click the Properties for New Forms folder, then select the Addendum Properties subfolder. The window
changes to show options that control the format of the addendum.
4. In the Page Margins group, enter margin widths (or click the up or down arrows to select a number). These
numbers control the spacing between the answer text and the edges of the field.
5. In the Header Properties and Footer Properties groups, specify the header or footer text you want to appear in the
addendum:
At the Header text or Footer text box, type the text you want displayed in the addendum header or footer.
(See Use Answer Overflow and Addendum Text Codes.)
At the Height box, type a number (or click the up or down arrows to select a number). This number controls the
vertical height of the header section.
Click Font to display the Font dialog box, where you can change font properties of the header text.
At the Alignment drop-down list, select one of the available options: Left, Center, Right, or Justified.
105
7. Select Number lines to format as pleading paper to place lines on the right and left side of the addendum, with
numbers along the entire left edge.
Caution:
The changes you make are not applied to existing forms. The changes won't take effect until you create a new
template.
106
2. Click the Question and Answer Summaries folder. The right pane changes to show the summary options.
3. If you want the summary to appear in one-column format, click the Format drop-down button, choose One-Column,
and select from the following options:
Select Indent prompts under dialog titles to include a tab between the column's margin and the prompt.
Selecting this option makes the dialog titles and variable prompts appear hierarchical.
Select Precede prompts with bullet to insert a bullet character next to each prompt.
Select Indent answers under prompts to include a tab between the column's margin and the answer.
Selecting this option makes the prompts and the answers appear hierarchical.
Select Precede answers with bullet to insert a bullet character next to each answer.
4. If you want the summary to appear in two-column format, click the Format drop-down button, choose Two-Column,
and select from the following options:
Select a border style from the Borders drop-down list. Your options include None, Plain, and Sculptured.
Specify a percentage in the Percent of width taken by prompt box. This percentage determines how much
of the viewable window is used to display the prompt. You can change this number by clicking the up or down
arrows, or by typing a number directly in the field.
5. Optionally, change the number in the Maximum multiple-choice options to display box to control the number of
multiple-choice options that appear in a question or answer summary.
107
2. Click the Question and Answer Summaries folder. The window changes to show several summary options.
3. In the Question Summaries group, select Honor IF instructions when answered.
This setting will take effect when you assemble a document, answer the conditional variables, and then view the question
summary.
Note:
To once again generate a question summary that shows all the document questions, clear Honor IF instructions
when answered.
108
Personal Information
The following topics discuss the options available in the Personal Information folder of HotDocs Options:
2. Click the Personal Information folder. The right pane changes to show several Personal Information variables.
3. With the contents of the Personal Information folder displayed, click Add. The Add Personal Information dialog
box appears.
2. Click the Personal Information folder. The right pane changes to show several Personal Information variables.
3. Select the variable you want to modify and click Edit. The Edit Personal Information dialog box appears.
4. Enter an answer in the Answer box and click OK. The value is now listed in the Answer column.
Note:
To remove an answer for a Personal Information variable, select the variable that contains the answer and click
Delete. Click Yes to confirm the deletion.
109
Spell Checking
The following topics discuss the options available in the Spell Checking folder of HotDocs Options:
2. Click the Spell Checking folder. The contents of the window change to show your spell checking options.
3. Select appropriate options, as described in the following table:
To
Do This
Cause HotDocs to
provide a list of possible
replacements for
misspelled words
Cause HotDocs to
provide a list of possible
replacements based on
words that sound like the
misspelled word
110
To
Do This
Cause HotDocs to
provide a list of possible
replacements based
on words that are
typographically similar
Cause HotDocs to
provide a list of possible
replacements that are
made up of more than one
word
When a word is not in the spelling checkers dictionary, HotDocs checks for it in your personal dictionary, Personal
Dictionary.TLX. If it is not found there, you can add it by clicking Add at the Check Spelling dialog box.
Note:
You can change these settings whenever you are spell checking. To do this, click Options at the Check Spelling
dialog box.
111
Template Development
The following topics discuss the options available in the Template Development folder of HotDocs Options:
2. Click the Template Development folder. The window changes to show several different template development
options.
2. Click the Template Development folder. The window changes to show several different template development
options.
2. Click the Template Development folder. The window changes to show several different template development
options.
3. At the Component type icons in component lists drop-down list, select either Graphic or Text.
112
113
2. Click the Template Development folder. The window changes to show several template development options.
3. Click the Insert returns after instructions in text templates drop-down button and choose an option, based on the
following information:
Choose Always to have HotDocs always insert a return character after an instruction. (Remember, HotDocs
will remove the return during assembly.)
Choose Smart to have HotDocs determine whether it should insert a return character or not. It determines
how to insert these returns based on surrounding characters (such as paragraph breaks) in the text. (See
Understand How Smart Returns are Inserted After Instructions for a complete description.)
Choose Never to have HotDocs never insert a return character after an instruction.
Caution:
WordPerfect 8 and WordPerfect 9 users: Because of some problems with underlying text selection when inserting
instructions in a template, you should set Insert returns after instructions in text templates to Always. Selecting
Smart or Never will cause errors during assembly.
2. Click the Template Development folder. The window changes to show several different template development
options.
3. In the Component File Properties for New Templates group, select Mark answers in assembled documents.
4. Optionally, select Enable Edit Answer at Document Preview tab.
Now, in each new template you create, these component file properties will be set.
To set the properties for existing templates, change them at the Component File Properties dialog box (see Change
Component File Properties) or change the properties in multiple templates at once using Template Manager (see Modify
Component File Properties Across Multiple Files).
114
2. Click the Template Development folder. The window changes to show several different template development
options.
3. In the Component File Properties for New Templates group, select Enable for use with HotDocs Server.
Now, in each new template you create, this component file property will be set. To set the properties for existing
templates, change them at the Component File Properties dialog box (see Change Component File Properties). Or
change the properties in multiple templates at once using Template Manager (see Modify Component File Properties
Across Multiple Files).
Note:
If you don't want every template you create to be enabled for server-based assembly, you can set this option on
a per-template basis by changing the specific template's component file properties. (See Change Component File
Properties.)
2. Click the Template Development folder. The window changes to show several different template development
options.
3. In the Warning Messages group, make your selection, based on the following information:
To have HotDocs warn you when it is about to convert a template to the current version of HotDocs, select
Warn before automatically converting templates. (See Compatibility of HotDocs 10 Files with Earlier
Versions of HotDocs and Convert a Single Template to a New File Format.)
To have HotDocs warn you when you edit a template that is using a shared component file, select Warn when
editing pointed component files.
To have HotDocs warn you when you are moving a variable from one dialog to another, select Warn when
variables automatically removed from dialogs. (See Use the Same Variable or Clause in Two or More
Dialogs.)
To have HotDocs remind you that changes are saved when you close a Component Editor using buttons in the
title bar, select Warn when component editors closed via title bar.
Now, when HotDocs performs related actions, it will display the associated warning.
2. Double-click the Template Development folder. The folder expands to show a subfolder named Script Editor.
3. Click the Script Editor folder. The window changes to show several options for customizing HotDocs scripts.
Copyright 2010 HotDocs Ltd. All rights reserved
115
Do This
Select Tab key inserts a tab in scripts. Now, whenever you press Tab or Shift
+Tab, HotDocs will insert a tab in the script.
Caution:
If you select this option, you can no longer use keyboard commands to move
from the Script box to another field in the component editoryou must use your
mouse to click out of the Script box.
Select Syntax coloring. (You can then either accept the default colors HotDocs
assigns to these, or you can designate your own colors at the Colors and Attributes
list.)
Select the item, click the Color drop-down button, and choose a color. You can also
select Bold to make the item bolded, and you can select Italic to italicize the item.
To restore the HotDocs defaults, select the script element, click the Color drop-down
button, and choose Default from the top of the Palette tab.
Click Select Font and make your selection. You can also specify the size of the
script text.
116
2. Double-click on the Template Development folder to expand it. The window changes to show several template
development options.
3. Click the Template Manager folder. The window shows Template Manager options.
4. Complete any of the tasks listed in the following table:
To
Do This
Include a column in
the component list that
shows the status of the
components
Select Show component status column. The status tells you whether the
component is OK (used in both the template and component file), unused (the
component is not referenced in any templates), or missing (the component is
referenced in a template, but not found in the component file).
Note:
You can also access these options by clicking the Options button in the Template Manager toolbar.
117
Word Processors
The following topics discuss the options available in the Word Processors folder of HotDocs Options:
4. Click the Word Processors folder. The right pane changes to show a list of word processors which HotDocs
supports. (Word processors for which you have already installed support are selected, while word processors that
are not installed are disabled.)
5. Select the word processor for which you want to install support.
6. Click OK. The HotDocs Options dialog box closes.
Once you close the HotDocs Options dialog box, HotDocs runs the Current User Setup, which copies the required files to
the correct program folders. (See Understand HotDocs Installation.)
Note:
Click here to see a list of which word processors are supported for this release.
To make the newly installed word processor the default word processor, you must manually select it after you
install support for it. See Change Your Default Word Processor for details.
You may need to restart the word processor to add the correct HotDocs buttons and toolbars to it.
2. Click the Word Processors folder. The right pane changes to show supported word processors.
3. Click the Default word processor drop-down button and select a word processor.
4. Optionally, to send assembled documents to the word processor that matches the template file type, select Send
assembled documents to word processor based on template type.
5. Optionally, to start Word before you send the assembled document to it, select Launch Word before sending
to word processor (allows auto macros to run). (This is useful if the underlying template uses AutoExec or
Copyright 2010 HotDocs Ltd. All rights reserved
118
AutoOpen macros, since HotDocs explicitly disables the execution of Auto macros in Word before it sends a
document to Word after assembly.)
Note:
Click here to see a list of which word processors are supported for this release.
2. Double-click the Word Processors folder so that it expands to show subfolders for each word processor that is
installed.
3. Click the word processor folder for which you want to make changes. The right pane changes to show the different
file locations of the document, template, and startup files (or macro files for WordPerfect users).
119
File Locations
The following topics discuss the options available in the File Locations folder of HotDocs Options:
Properties button.)
You can change the default location HotDocs looks for the following files:
Library files (HDL files).
Template files (HFT, HPT, and CMP files). (To change the default location for text templates, see Change Word
Processor File Locations.)
Template Sets (installed HDI files).
Catalog Files (files used to keep published template sets up to date).
Answer files (ANX files).
Form document files (HFD, HPD, and PDF files).
Publish Settings files (HDP files).
To change the default location of HotDocs files
2. Click the File Locations folder. The window changes to show a listing of the different HotDocs file paths.
3. In the HotDocs Folders group, select a file type and click Edit. The Browse for Folder dialog box appears
4. Browse to the new location and click OK. HotDocs will use this location as the new default.
Caution:
You must restart HotDocs for these changes to take effect.
120
With templates located on a network drive that is mapped to a different letter for some of the users.
In order for your library to work for users regardless of where they store the templates, you need to enter a reference path
for all templates and clause libraries in the library. You should use the same keyword for all the items in the library.
If you know the library items won't all be stored in the same subfolders, use the keyword only in place of the part of the
path that is identical for all items. For example, if some of the templates will be stored in a General subfolder and others
will be stored in a Family Law subfolder, you would use the reference path ^keyword\General\template.ext for those
templates in the General subfolder and ^keyword\Family Law\template.ext for those templates in the Family Law
subfolder (where keyword is a placeholder for the keyword you use and template.ext is a placeholder for the file name and
extension of the template).
To associate a keyword with a path and assign the reference path
2. Click the File Locations folder. The window changes to show a listing of the different HotDocs file paths.
3. In the Reference Paths section, click Add. The Add/Edit Reference Path dialog box appears.
4. Type a keyword for the reference path in the Keyword box.
5. Click the
Browse button next to the Path box, and specify the path to the subfolder you want to use.
6. Click OK.
Once you have designated the keywords and paths that HotDocs needs to know about your files, you can assign
reference paths to the templates. (These templates must be saved to the subfolder you specified in Step 5, above.)
7. At the HotDocs library window, select the template for which you want to specify a reference path and click the
Properties button. The Item Properties dialog box appears.
8. If the File name box contains a folder path as well as a file name, delete the part of the path that is the same for all
items in the library.
9. Place your cursor before the first letter in the File name box and type caret (^), the keyword, and a backslash (\).
10. Click OK.
Note:
When publishing your template set as an auto-install (.HDI) file, HotDocs automatically creates the reference paths and
enters the correct information in the user's HotDocs settings during installation.
Note:
For instructions on assigning reference paths to multiple library items, see Change the Properties for Multiple Items in
a Library.
121
File Management
The following topics discuss the options available in the File Management folder of HotDocs Options:
2. Click the File Management folder. The window changes to show file management options.
3. Click the Manage answer files using drop-down button and select an option:
HotDocs Answer File Manager uses an answer library to create, store, and select answer files.
Caution:
The first user to open an answer library is the only one who has write access to it. That means only one
person can modify items in the library at any given time. If multiple users must access the answer files, use
Windows Explorer to manage the files.
Windows Explorer uses Windows Explorer to create, save, and select answer files.
Document Manager uses a third-party document management program to manage the use of answer files.
(To use this option, make sure you specify the ODMA DLL file name and path in the Document manager
ODMA DLL location box.)
4. If you selected Document Manager, choose one of the following options from the Answer file save format dropdown list:
Ask Before Saving causes HotDocs to prompt for the file format each time an answer file is saved.
HotDocs Answer File (.anx) automatically saves the file in HotDocs 2009-10 format.
HotDocs 2005-2008 Answer File (.anx) automatically saves the file in HotDocs 2005-2008 file format. (See
Compatibility of HotDocs 10 Files with Earlier Versions of HotDocs.)
2. Click the File Management folder. The window changes to show file management options.
3. Click the Manage assembled documents using drop-down button and select an option:
Windows Explorer uses Windows Explorer to save and access assembled document files.
122
Document Manager uses a third-party document management program to manage assembled document
files. (To use this option, make sure you specify the ODMA DLL file name and path in the Document manager
ODMA DLL location box.)
4. If you select Document Manager, you can specify the format of the assembled document by clicking the Save
format drop-down button next to the types of documents you are saving and making a selection.
2. Click the File Management folder. The window changes to show file management options.
3. Choose one or both of the following options:
Click the Manage answer files using drop-down button and select Document Manager.
Click the Manage assembled documents using drop-down button and select Document Manager.
4. Click the Advanced ODMA Settings folder in the list on the left. The view changes to show advanced ODMA
settings.
5. In the Application IDs group, accept the default suggestions, or change the different IDs to match those defined by
your document manager.
6. In the Format Names group, accept the default file name suggestions, or change the file name extensions to match
those defined by your document manager.
Caution:
ODMA integrations do not support the use of foreign characters (for example, international characters that are not
represented in your computer system's default language). If you use foreign characters in the advanced ODMA
settings, or when profiling a document in the DMS, the ODMA integration will not work correctly.
123
2. Click the Template Set Updates folder. The window changes to show update options.
3. Complete any of the following optional steps:
To
Do This
Select Perform scheduled checks for updates when HotDocs is started. (If
HotDocs detects an update, it displays a warning icon in the status bar of the
HotDocs window.)
Select the set in the Select the template sets you want to keep up-to-date list.
124
SECTION 4:
USING LIBRARIES
125
The Answer File Manager is a library of answer files. You can group answer files as well as sort them. You can also view
a history of when a specific answer file was used:
126
Both the template library and Answer File Manager are divided into two panes. The left pane shows a list of the items
referenced in the library. Depending on what kind of library it is, these items can include folders, templates, clause
libraries, or answer files. The right pane displays information about the selected item. A different view shows the contents
of the file.
The items you see in the left pane are not the actual HotDocs files on your local disk or network. Instead, they are
references to the files, operating similar to Windows-type shortcuts. When you select an item for assembly, HotDocs
follows the assigned file path and locates the actual template or answer file.
Additionally, folders in a library help you organize the list of files in the librarynot the actual folders on the local disk or
network.
Caution:
Because the items in the library work like shortcuts to the actual files, you must be cautious when working with the
actual files. Moving an actual file without updating the reference in the library will make the file inaccessible from the
library. If you need to move the files in the library, use either the Move command or the Copy command (see Move
Items Within a Library and Copy Templates to New Locations). If you need to update references, choose Properties
or Multiple from the Edit menu. (See Change the Properties of a Single Library Item or Change the Properties for
Multiple Items in a Library.)
The library window is the starting point for many HotDocs tasks. Such tasks include organizing templates, moving
templates and component files, editing templates, assembling documents, and accessing other HotDocs tools, such as
Answer File Manager, HotDocs Options, and Component Manager.
127
Create a Library
You may want to use separate libraries for templates that deal with different matters. For example, you may want to
create one library for divorce templates and another library for estate planning templates. When you create a library,
you create an .HDL file on the disk. Once it's created, you can add references to templates to it as well as organize it in
whatever way you need.
By default, all new libraries you create will be saved in XML format. If you need to use the library with versions of HotDocs
prior to HotDocs 2009, you must specify this format by choosing Save Library As from the File menu and then choosing
HotDocs 2005-2008 Library from the Save as type drop-down list. (See HotDocs and XML File Formats for details.)
To create a library
Browse button next to the File name box. The New Library File Name dialog box appears.
3. Browse to the location where you want to save the file and enter a name in the File name box. (Click OK once you
have specified the file location.)
4. At the New Library dialog box, enter a name for the library in the Title box. This title appears as the top folder in the
library window. (Library titles can be up to 100 characters long.)
5. Optionally, type a description of the library in the Description box. The description appears in the Properties tab
when the user views the main folder in the library.
Once you create a new library, you can add templates and other files to it. See Add Templates and Other Files to a
Library.
Note:
See Change HotDocs Program File Locations for information on the default location HotDocs looks for and saves
library files.
128
Open a Library
Often you have templates that are located in different libraries. You can access any library by using the Open command
at the library you are currently viewing.
To open a different HotDocs library
3. Locate and select the library (.HDL) file with which you want to work, then click Open. The folders, templates, and
clause libraries in the new library appear in the template list.
After opening the library, you can edit the templates, or use them to assemble documents.
Note:
See Change HotDocs Program File Locations for information on the default location HotDocs looks for and saves
library files.
129
3. From the Type drop-down list, select the appropriate kind of library item. (Your options include Text Template,
Form Template, Interview Template, Model Document, Clause Library, Auto-Assemble File, Web Address,
and Folder.)
4. Click the
Browse button next to the File name box and locate the library item.
5. Select the item you want to add and click OK. The Add Item dialog box appears again.
6. In the Title box, enter a title for the library item (100 characters or less). The title will identify the item in the library.
7. Optionally, enter a description in the Description box. The description appears in the Properties tab when the
library item is selected.
Note:
You can add multiple files to a library simultaneously. However, doing this doesn't allow you to assign properties
(such as titles and descriptions) to each individual file. To add multiple files, select all the files you want to add in
the folder you are browsing. Once they are added, you can modify the properties. See Change the Properties of a
Single Library Item for details.
You can also add items by dragging files from a Windows Explorer folder to the library. This method allows you
to add files like PDF files, word processor documents, and so forth to the library. Once you add the file, you may
need to update the item properties (such as add a title or description). See Change the Properties of a Single
Library Item for details.
Adding an item to a library does not affect the files on your local disk or network. For example, you could select
a form template from a library on your network and add it to a library on your local disk. However, the actual file
would remain on the network.
130
1. At the HotDocs library window, open the desired HotDocs library. (See Open a Library.)
2. Perform tasks as explained in the following table:
To
Do This
Click the
New Template button. (See Create a New Text Template File or Create
a Form Template.)
Click the
Add Item button. (See Add Templates and Other Files to a Library.)
Click the
Click on the item and drag it up or down in the list. HotDocs displays a horizontal bar
indicating where the item will be placed when you release the mouse.
Click the
Choose Expand All (View menu). (To hide the list again, choose Collapse All.)
Assemble button.
131
Remove Item button. The Remove Item dialog box appears, asking if you want to remove the reference
to the file from the library.
3. Optionally, if you have selected a folder and you want to remove items within the folder, select Remove the
unselected items contained in selected folders.
4. Optionally, if you want to delete the actual files from disk, select Permanently delete the files for selected items
from the disk.
5. Click Yes.
Note:
If the template you are deleting is in the same folder as another template with the same file name but a different file
name extension (for example, you are deleting Invoice.rtf and the same folder also contains Invoice.wpt), HotDocs
doesn't delete the associated files, like the component file. You need these files for the other template.
132
1. At the HotDocs library window, select the item you want to modify.
2. Click the
Do This
In the File name box, type the new file path, or click the
specify a new path.
In the Title box, either type a new title in the box, or click the
use the default title. (Titles can be 100 characters long.)
In the File name box, type the new options. (For example, Refund.wpt /
af=bwhittington.anx). See Overview: Command-Line Options.
In the Description box, enter a new description. (The description appears in the
Properties tab when the library item is selected.)
Note:
You can change the properties of several other library items at once. See Change the Properties for Multiple Items in a
Library.
133
1.
Select the items (or the folder that contains the items) and select
Properties dialog box appears.
Do This
Click the File path Browse button and browse to the new folder. Then click OK.
The new folder path is inserted. (Click the File path drop-down button to view a list of
all the various file paths used for the templates in your list.)
To specify the default folder the different files, choose <default> from the File path
drop-down list and click OK. (The default folder is the location HotDocs looks for
the file when no file path is given. You can specify what this default location is at
HotDocs Options. See Change HotDocs Program File Locations.)
Click the File name extension drop-down button and make a selection. If the desired
extension is not listed, type it.
HotDocs displays a list of the file name extensions for all the items you have selected
in the File path drop-down list. If you have multiple file types selected, <various>
appears in the File name extension box.
134
To
Do This
Type the command-line option (for example, /af=path and file name) in the
Command-line options box and click OK. If assigning multiple options, include
spaces between each option. (See Overview: Command Line Options.)
To remove existing command-line options, select <none> from the Command-line
options drop-down list and click OK.
135
1. At the HotDocs library window, select the folder whose items you want to sort.
2. Click the
4. Optionally, select Sort Subfolders to sort the folders inside the selected folder.
The template list changes to show the rearranged library items.
Note:
You can save templates you frequently use to a Favorites folder in the library for quicker access, select the template
and click Add to Favorites (View menu). See Create a Favorites Folder in the Template Library.
136
1. At the HotDocs library window, open the desired HotDocs library. (See Open a Library.)
2. Use any of the following commands to work with files in the library:
To
Do This
Choose Add Folder (Edit menu). The Add Item dialog box appears where you can
specify the folder name and a description. (Once you create a folder, you can move
items to it.)
Cut button.
Copy button.
Select the folder in the library where you want the item pasted and click the
button.
Select the folder on which you want to sort, and click the
Items in a Library.)
Choose File Names (View menu). (To view template titles again, choose Template
Titles.)
Type the text for which you are searching in the Find box. HotDocs will show only
those files that contain the search text in the template title, file name, or description.
(See Search for a Specific Template in a Library.)
Select the template and choose Add to Favorites (Edit menu). (See Create a
Favorites Folder in the Template Library.)
Paste
Properties button.
137
1. At the template library, select the template you want to add to the Favorites folder.
2. Click Add to Favorites (Edit menu).
If no Favorites folder exists, HotDocs creates the folder and adds the template to it.
138
1. At the HotDocs library window, select the library items you want to export. (If you select a folder, all the items in the
folder will be exported.)
2. Choose File > Export Library To > HotDocs Library File. The Export HotDocs Library File dialog box appears.
3. At the File name box, click
Browse, select a location for the new library, and enter a library name in the File
name box. (Click OK when you are finished.)
4. At the Export HotDocs Library File dialog box, enter a name for the new library in the Title box, or accept the
suggestion HotDocs makes. This title will appear in the Properties tab of the HotDocs library window.
5. Optionally, in the Description box, type a description of the library. (The description appears in the Properties tab
when a library (or folder) is selected.)
6. Click OK. HotDocs asks if you want to export the selected files:
Click Yes to copy the selected files to the same folder as the new library.
Click No to have the new library refer to the files in their current location.
After exporting the items, the original library items are still available. (HotDocs does not delete the references from the
original librarytemplates can be referenced in multiple libraries.) If you want the old references deleted, select the library
items and click
Remove Item.
HotDocs does not automatically display the new library. To open it, click
library. (See Open a Library.)
139
1. At the HotDocs library window, select the folder where you want the imported library to be located.
2. Click Import Library (File menu). The Import Library dialog box appears.
3. Select the library you want to import and click Import. The Import Library dialog box appears.
4. Choose how you want to import the templates:
Click Assembly Only to assemble documents from the templatesand nothing else.
Click Editing and Assembly to edit the templates and assemble documents from them.
5. If you select Editing and Assembly, HotDocs displays another dialog box, prompting you to choose whether to
copy the associated files or use the originals:
Click Yes to import copies of the files to a new location you specify. Changes you make to the templates will
affect files in the new location only. The Browse for Folder dialog box appears, prompting you to specify
where the copied files should be placed.
Click No to have the library reference the original files. Changes you make to the templates will affect everyone
using those files to assemble documents.
140
1. At the HotDocs library window, open the library whose contents you want to print. (See Open a Library.)
2. Click the
3. Click OK. The list of titles, file names, and descriptions are printed at the selected printer.
Note:
To preview what the printout will look like before you print it, select
library window, click Close.
141
Save a Library
HotDocs saves all changes you make to a library immediately after you make the change. Clicking Save (File menu)
simply displays a message confirming this.
142
1. At the HotDocs library, select Export Library To > Plain Text File (File menu). The Save As dialog box appears.
2. Select a location to save the text file to, enter a name for the file, then click Save. A .TXT file containing a tabbed list
of the folder names and template titles is saved to the location you choose.
143
1. At the HotDocs library window, select the items you want to move.
2. Click the
1. At the HotDocs library window, select the items you want to copy.
2. Click the
144
1. At the HotDocs library window, select the templates and clause libraries you want to move.
2. Select
Move (Template menu). The Browse for Folder dialog box appears.
145
1. At the HotDocs library window, select the templates and clause libraries you want to copy. (Press Ctrl or Shift to
select multiple items.)
2. Choose Copy (Template menu). The Folder for Copied Templates dialog box appears.
3. Browse to the folder where you want to copy the template or templates and click OK. The Copy Templates dialog
box appears, asking you to set some properties for the copied templates:
Select Mark newly created templates as read-only to keep users from editing the template. (This assigns the
read-only property to both the template and the component file.)
Select Update library entries to refer to the newly created templates to have HotDocs change the file path for
the library item so that it uses the file path for the copied template.
146
SECTION 5:
AUTOMATING TEXT TEMPLATES
147
148
The component file works automatically in the backgroundas you create various components in the template, they are
automatically stored in the component file. Normally each template uses its own component file, but you can make two or
more templates share one component file.
You work with components in the component file using Component Manager. For example, you can copy variables or
other components from one component file to another, create variables, and drag variables from Component Manager
directly into the template. You can also edit, print, search, and spell check components within your component file. Finally,
if you need to edit components in several component files at once, you can use Template Manager.
149
Description
HotDocs
Either starts HotDocs and opens the HotDocs library window, or brings it to the front if
it is already open. (This button is always in the word processor toolbar, regardless of
whether HotDocs is running.)
Variable Field
Opens the Variable Field dialog box where you can select the type of variable field you
want to create and insert. If the cursor is in a variable reference, HotDocs opens the
Variable Field dialog box with that information already appearing.
Note:
If you're using Word 2000 or higher, you can double-click in a variable field and the
Variable Editor will appear.
IF Field
Opens the IF Field dialog box where you can create a true/false test for conditional text.
If you need a more complex test, click IF Expression at the IF Field dialog box.
ASK Field
Opens the ASK Field dialog box where you can create and insert an ASK instruction in
the template. An ASK instruction causes either a dialog or a database to be asked at a
specific place in the template.
INSERT Field
Opens the INSERT Field dialog box where you can choose to insert a clause, clause
library, or template. You can also convert a selected section of template text into an
inserted template or clause component.
REPEAT Field
Opens the REPEAT Field dialog box where you can specify a dialog to gather
information for a list. At this dialog box, you can also specify a sort order, filter, and
format for merging the list of answers into the document. You can also REPEAT a
database component.
SPAN Field
Opens the SPAN Field dialog box where you can enter a name for the Span component
you are creating. SPAN fields represent the section of text you want to allow the user to
edit while viewing the Document Preview tab. (Giving users access to the assembled
document from the assembly window lets users save document text changes to an
answer file so they can reassemble the document later and still maintain those changes.)
Edit Component
Opens the Component Editor where you can modify the properties of an existing
component. (If your cursor is outside a component field, HotDocs will allow you to create
a new component. However, if you create a new component, it will only be saved to the
component fileit will not be inserted into the template.)
Assemble
150
Component Manager
Opens the Component Manager window where you can create, edit, delete, rename, and
copy components.
Clause Library
Opens a clause library where you can create new clauses or add existing clauses.
Saves the template and component file you are currently editing.
Saves and closes the template and component file you are currently editing.
HotDocs Help
Displays the HotDocs Help viewer, which contains information on automating templates
and assembling documents.
Apply Colors
Assigns custom colors to the different field types in the template. This can help you
more quickly identify sections or parts of your template as you are automating. (You can
choose the colors at HotDocs Options.)
Label Fields
Opens the Label Fields dialog box where you can choose to label matching IF and END
IF instructions, REPEAT and END REPEAT instructions, and SPAN and END SPAN
instructions. Additionally, where you've nested these instructions, you can identify the
level of nesting. Finally, you can assign the word processor's hidden text property to
these comments and labels so that you can show and hide them during automation.
Match Fields
Moves your cursor between opening IF, REPEAT, and SPAN instructions and closing
END IF, END REPEAT, and END SPAN instructions. This can help you troubleshoot
problems where one of the instructions is accidentally moved or deleted.
Go to Field
Moves you cursor to a specific variable or instruction field in the template. This can
be useful when you receive errors and need to quickly locate the field in the template
containing the error.
Allows you to navigate through the template, field by field. This may be useful if you have
several pages in a template without any variable fieldsnavigating by fields allows you to
skip these pages, rather than scrolling through them until you find the next field.
/
Markup View / Developer
View
/
HotDocs Outliner
Switches the look of the template between Markup View and Developer View. Markup
View provides a simpler view of the template (which can then be saved and shared with
a non-HotDocs user who needs to review the content of the template, for example).
Developer View is the mode in which you automate the template.
Opens the HotDocs Outliner so you can review an outline of scripting (and variables)
used in the template.
151
Note:
You should always use the HotDocs
Save and
Save and Close buttons to save and close a template rather
than the word processor's buttons. The HotDocs buttons ensure the template and component files are properly saved
and closed.
152
1. At the HotDocs template library, click the folder in which you want the template.
2. Click
3. Select the type of text template you want to create from the Type drop-down list. Depending on which word
processor(s) you have installed, your options include Word RTF Template (.rtf), Word Document Template (.dot),
and WordPerfect Template (.wpt).
4. Type a file name in the File name box. HotDocs automatically adds the correct extension to the file name based on
the type you have selected. (To save the template in a location other than the default Templates folder, include the
folder path with the file name in the File name box. You can check the default Templates location at the HotDocs
Options dialog box. See Change Word Processor File Locations.)
5. Type a title for the template in the Title box (or accept the suggestion HotDocs makes). The title is what identifies
the file in the library.
6. Optionally, enter a description in the Description box. Descriptions appear in the Properties tab of the library when
the template is selected.
Browse button next to Other file box and locate the file.
8. Click OK at the New Template dialog box. HotDocs opens your selected word processor and displays the template.
You can use the HotDocs editing toolbar to begin automating the template. (See HotDocs Editing and Navigation
Toolbar Buttons.)
Note:
If you are using Microsoft Word to develop your templates, it is recommended that you create RTF (Rich Text
Format) templates. RTF templates assemble much faster than .DOT templates. (See Overview: Template and
Component Files for more details.)
When you create a new, empty Word template, HotDocs applies whatever styles are in HotDocs.dot to the new
template. When you create a new template based on another template or document, HotDocs applies the styles
used in that template or document to the new template.
You can include command-line options (in the File name box) that allow you to specialize the assembly process
for a given template. See Overview: Command-Line Options.
If you have multiple word processors installed, you can have HotDocs always suggest a specific template type
when you create a new template. See Change Your Default Word Processor.
If you need to use your template with earlier versions of HotDocs, you must specify which version at Component
File Properties. See Change Component File Properties for details.
153
1. At the HotDocs library, select the existing template from the template list.
2. Click
3. Change the file name and title for the new template (at the File name and Title boxes).
4. Do not change the existing templates file path and name in the Other file box.
5. Click OK. HotDocs opens a new template file and copies the text and variables from the Other file into it. It also
creates a new component file and copies the existing components into it.
Note:
Another way to create a new template based on an existing template is to use the Copy Templates command. (See
Copy Templates to New Locations.) Once you have copied the template and component file, simply rename the files
using Template Manager. See Rename Templates Using Template Manager.
154
1. At the template library, select the template you want to convert and click
message box asking how you would like to convert the template.
2. Click the Type drop-down button and select the new word processor. The file name extension in the File name box
is changed to the new word processor format.
155
to use features in the template that are not backwards compatible. For example, if you are using HotDocs 10 to edit a
template that you want to be compatible with HotDocs 2005, you should not use any features that were introduced in
HotDocs 2006, HotDocs 2007, HotDocs 2008, HotDocs 2009, or HotDocs 10 because they may not work with HotDocs
2005.
156
Edit a Template
Once you have automated a text or form template, you may need to make changes to your work. You can edit variables,
dialogs, instructions, and other features.
To edit a template
appears.
2. Once the template is open, you can edit variables, custom dialogs, REPEAT instructions, INSERT instructions, and
IF instructions.
Close Template button to save your work and close the template.
157
Apply Colors button to update existing templates with your custom colors.
If you're using Microsoft Word, you can also apply colors by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Apply Colors. (To access this menu button in Word 2007 and later, click the
HotDocs drop-down button.)
158
Note:
If you're using Microsoft Word, you can also move between fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Next Field or Previous Field.
159
3. Click OK. HotDocs applies the labels you have selected to any instructions in the template.
Note:
SPAN fields are supported in Microsoft Word only.
To clear labels from fields or show comments once again, click the
options, and click OK.
Copyright 2010 HotDocs Ltd. All rights reserved
160
If you're using Microsoft Word, you can also label fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Label Fields.
161
162
1. Define the Markup View options you want to use in the template. (See Specify How Documents Should Be Marked
Up.)
2. Edit the template you want to mark up. (See Edit a Template.)
3. Click the
Markup View button. The template changes to show the marked up template.
Note:
To view a developer version of the template again, click the
You can also view a marked up version of your assembled document. See View an Assembled Document in
Markup View for details.
Sometimes as you automate a template, you create Computation variables that perform some function, rather
than merge values. To keep these types of Computation variables from appearing in a marked up document,
enter NONE as the variable's title.
163
Do This
Click the
Expand All button. The outline expands to show all levels of instructions.
Click the
Refresh Outline button. The outline updates and displays any changes
you've made to the template text.
Click the
Synch Template button. Now, when you click in the template, entries in
the outline are highlighted to show where in the outline your cursor position is.
Click the
Show Variables button. The outline expands to include all variables
merged in the template.
Viewing variables allows you to see relationships between variables and any
surrounding instructions.
Click the
Apply Colors button. The Apply Colors dialog box appears, where you
can choose the color scheme you want to use in the outline:
Choose None to make all variable and instruction entries black.
Choose Regular to mark all variable and instruction entries using a custom
color specific to that field type. For example, all variables will be marked with
one color, all IF instructions will be marked with a different color, all REPEAT
instructions will use a different color, and so forth.
Choose Nested to mark all instructions using a custom color. Where pairs of
REPEAT, IF, or SPAN instructions are nested, each level of nesting will be
marked with its own color.
Choose Sequential to mark all instructions using a custom color. Each pair
of REPEAT, IF, and SPAN instructions in the template will be marked by a
different color.
164
To
Do This
Click the
Copy to Clipboard button. The entire outline is copied. Open another
application and then paste the script using that application's Paste command.
View all conditions or other Select Limit to and then click the drop-down button to select the variable you want
instructions surrounding
to view. The outline changes to show any REPEAT or IF instructions that affect that
the inclusion of a specific
particular variable.
variable in the outline
View the conditions
or other instructions
surrounding the cursor
position in the template
Select Limit to and then choose <cursor position> from the drop-down list. Click in
the template where you want to view these instructions or conditions.
Right-click on the instruction or variable in the outline and choose Edit or Test.
Right-click on the instruction in the outline and choose Find Matching END. In the
template, the instruction is highlighted.
165
1. Create your template, using document text in the language you have chosen.
2. Create variables and dialogs, using variable names and prompts in the language you have chosen.
3. When inserting Date and Number variables, type the example formatin the foreign languagein the Format box.
For example, if you have a French Date variable, you would type 3 Juin 2000. (Where you assign this formateither
at the Date Variable Editor or at the Variable Field dialog boxdepends on your project. See Format the Variable for
ideas.)
4. Position the cursor in the template where you want the LANGUAGE instruction to take effect.
5. If you are using Microsoft Word, click the HotDocs drop-down menu in the HotDocs toolbar and choose Other Field
from the list of options. The Other Field dialog box appears. (WordPerfect users, see step 10.)
Code
English
ENG
German
DEU
Swiss German
DES
Austrian German
DEA
French
FRA
Dutch
NLD
Spanish
ESN
Italian
ITA
8. Optionally, enter the punctuation character you want to use for the Thousands separator and the Decimal
separator in the appropriate boxes.
166
10. If you are using WordPerfect, copy and paste an existing variable and then replace the text between the chevrons (
) with the language instruction. For example: LANGUAGE FRA.
Once the instruction is in the template and the document is assembled, all Date and Number variables after the
LANGUAGE instruction are processed in that specific language.
Note:
Only the Spanish language DLL recognizes the gender-specific use of the word one. Options for that language
include uno, una, and un.
The LANGUAGE instruction only affects date and number formats. You can use the default formats for the other
types of variables or create your own. For example, if you want to use a Spanish True/False variable format, type
S/No in the Format box.
167
168
4. Navigate to HKEY_CURRENT_USER > Software > Microsoft > Office > Version > Word > Options. (Replace
Version with the version of Word you are using.)
5. In the right pane of the window, right-click and choose New > String Value from the shortcut menu. A new string is
created called New Value #1.
6. Rename the value to ExportPictureWithMetafile. (To do this, you can choose Rename from the shortcut menu.)
7. Once the name is changed, right-click on the string and choose Modify. The Edit String dialog box appears.
8. In the Value data box, enter 0.
9. Click OK.
If templates already contain these extra metafile images, you can remove them using the Hidden Data Remover tool in
HotDocs. See the HotDocs Help for more information on using this tool.
Conclusion
In short, make sure you adhere to the following rules:
1. Use an image file format that works well in RTF files. Generally this is JPG, although some types of images (e.g. line
drawings) may be smaller in another format.
2. Size and crop images as required in the template before inserting them. Dont use Words sizing/cropping or other
picture manipulation features.
3. Use the lowest acceptable resolution for images (in order to decrease file size).
4. Insert images only where needed; avoid putting images in first page or odd/even headers that arent used in the
template.
5. Implement the registry setting that keeps Word from creating Windows Metafile Format copies of images in
documents.
169
There are two parts to creating variablescreating the variable component, and creating the variable field:
Variable Component: The variable component is the core part of a HotDocs variable. It contains all the information
about a variable and how it should be processed, including the component name and prompt, any resource
information, and any special patterns or other options that help control how the variable appears during the
interview and how it will be processed when the final document is assembled. A variable component also creates
an association between the components and the answers the user enters, so that the answer can be saved in an
answer file. (Answer files can be reused when assembling other documents.)
Variable Field: When you insert a variable into a HotDocs template, HotDocs creates a field where the user's
answer is merged into the assembled document. In a text template, the field is denoted by HotDocs chevrons ( ),
while in a form template, the field is denoted by a colored box that is overlaid on the form's static text. There are
certain properties that are assigned to a variable's field that affect the way the variable is merged into the document
specifically, formats and merge text for Multiple Choice variables. You can also include fill characters that force the
answer to be a certain number of characters, regardless of how long the answer is.
When you insert a variable into the template, you automatically create a merge field for the variable. However, when you
create a variable using Component Manager, there is not a merge field associated with the variable until the variable is
inserted into the template.
170
2. Select the type of variable you want to insert. Your options include Text, Date, Number, True/False, Multiple Choice,
Computation, and Personal Information.
3. Type a variable name in the Variable box. (If the variable already exists, select it from the drop-down list.) (See Tips
on Naming Your Variables.)
4. Optionally, clear Use defaults and select an example format from the Format drop-down list. This format will
determine how the answer appears in the assembled document. It is applied to this instance of the variable only.
(See Format the Variable.)
5. Click the
Edit Component button to modify the variable's component properties. (Click any of the following
links for information on customizing a specific variable type: Text, Date, Number, True/False, Multiple Choice, and
Computation.) When finished making changes, click OK. The Variable Field dialog box appears again.
6. Click either Replace Once (replaces this instance of the variable only), or Replace Multiple (displays the Find and
Replace dialog box where you can choose which instances you want to replace).
7. If you selected Replace Multiple, the Find and Replace dialog box appears.
8. Click the appropriate replacement option: Replace, Replace All, or Find Next. HotDocs replaces the text. (See
Replace Other Instances of Selected Text with a Variable.)
Caution:
WordPerfect users: When replacing multiple instances of text in a template, HotDocs will not replace those instances
found in headers, footers, footnotes, and text boxes. You must manually replace those.
To insert a variable without replacing any text
1. At the HotDocs template, insert the cursor where you want the variable to be.
2. Click the
3. Select the type of variable you want to insert. Your options include Text, Date, Number, True/False, Multiple Choice,
Computation, and Personal Information.
4. Type a name in the Variable box. (If the variable already exists, select it from the drop-down list.) (See Tips on
Naming Your Variables.)
5. Optionally, clear Use default and select an example format from the Format drop-down list. This format will
determine how the answer appears in the assembled document. It is applied to this instance of the variable only.
(See Format the Variable.)
6. Click the
Edit Component button to modify the variable's component properties. (Click any of the following
links for information on customizing a specific variable type: Text, Date, Number, True/False, Multiple Choice, and
Computation.)
7. When finished making changes, click OK at both the Variable Editor and Variable Field dialog boxes. HotDocs
inserts the variable.
171
Note:
You can assign text formattingsuch as font, style, and sizeto a specific occurrence of a variable. To do
this, select the variable reference (including the chevrons) and use your word processor commands to assign
the format. When the document is assembled, the text will be formatted the way you specify. If you must use a
symbolic font, assign the font properties at the Variable Field dialog box. See Control How Answers Appear in
the Assembled Document.
In Microsoft Word, you can also insert variables either by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Variable Field, or by right-clicking in the template and choosing Variable Field
from the shortcut menu.
172
1. Select the template text and create the variable. (See Insert a Variable Field in a Text Template.) When finished,
click either Replace Once (replaces this instance of the text only), or Replace Multiple (displays the Find and
Replace dialog box where you can control the replacement process).
2. If you clicked Replace Multiple, the Find and Replace dialog box appears. The Find what box shows what text
HotDocs is searching for. The Replace with box shows the name of the variable HotDocs is inserting.
Do This
Click Replace.
173
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
New Component button. The Variable Editor appears to gather information about the new variable.
4. Assign a name and any other properties to the variable and click OK.
If you use Component Manager to create variables, you can likewise use Component Manager to insert the variables
directly in the template.
To insert a variable into the template using Component Manager
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Select the variable you want to insert from the component list. (To show only that certain type of variable in the list,
click the Components drop-down button and select the variable type.)
3. Either place your cursor in the template where you want the variable and click the
174
1. Insert a new variable or edit an existing variable. (See Insert a Variable Field in a Text Template or Edit a Variable.)
The Variable Field dialog box appears. Or, insert a new instruction or edit an existing instruction. The instruction
field dialog box appears.
175
Edit a Variable
You can edit a variable, including changing a variable's properties. Changes to the component properties of a variable
affect all instances of the variable in the template.
Note:
To edit a variable's field-specific properties, edit them at the Variable Field dialog box. To do this, place your cursor in
the variable field (at the template) and click the
You can edit a variable directly at the template, or you can edit it using Component Manager.
To edit a variable at the template
1. In the text template, click in the variable field and click the
the field and click the
2. Make any changes. (Click any of the following links for information on customizing specific variable types: Text,
Date, Number, True/False, Multiple Choice, and Computation.)
To edit a variable at Component Manager
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
3. Make any changes. (Click any of the following links for information on customizing specific variable types: Text,
Date, Number, True/False, Multiple Choice, and Computation.)
Note:
If you're using Microsoft Word 2000 and above, you can double-click in a variable field in the template to open the
Variable Field dialog box.
For instructions on renaming a variable, see Rename Components in a Single Template.
176
There are two parts to creating variablescreating the variable component, and creating the variable field:
Variable Component: The variable component is the core part of a HotDocs variable. It contains all the information
about a variable and how it should be processed, including the component name and prompt, any resource
information, and any special patterns or other options that help control how the variable appears during the
interview and how it will be processed when the final document is assembled. A variable component also creates
an association between the components and the answers the user enters, so that the answer can be saved in an
answer file. (Answer files can be reused when assembling other documents.)
Variable Field: When you insert a variable into a HotDocs template, HotDocs creates a field where the user's
answer is merged into the assembled document. In a text template, the field is denoted by HotDocs chevrons ( ),
while in a form template, the field is denoted by a colored box that is overlaid on the form's static text. There are
certain properties that are assigned to a variable's field that affect the way the variable is merged into the document
specifically, formats and merge text for Multiple Choice variables. You can also include fill characters that force the
answer to be a certain number of characters, regardless of how long the answer is.
When you insert a variable into the template, you automatically create a merge field for the variable. However, when you
create a variable using Component Manager, there is not a merge field associated with the variable until the variable is
inserted into the template.
177
1. Follow the instructions for inserting a variable, selecting Text as the variable type. (See Insert a Variable Field in a
Text Template.)
Do This
Select a format from the Default format drop-down list. (See Format the Variable
and How Example Formats are Interpreted.)
Enter a prompt in the Prompt box. This information replaces the Variable name and
Variable title when the variable is presented during the interview. (See Create a
Prompt for a Variable.)
Either type the number of answer field lines (up to 12) in the Field height box, or
click the up or down arrows to select a number.
Optionally, to keep the answer from breaking across lines in the document, select
Non-breaking.
See Understand How Component Titles and Prompts are Used for a description of
how and when variable titles are used.
Changing the answer field height affects only how large the answer field appears in
the interviewnot how long the answer can be. To limit the answer length, enter a
number in the Maximum characters box.
To control whether line or paragraph breaks are inserted in literal text strings
used in computation scripts, see Use Line Breaks, Paragraph Ends, and Tabs in
Computation Scripts.
178
To
Do This
Either type a value in the Maximum characters box, or click the up or down arrows
to select a value (up to 15,000 characters).
Select a pattern from the Pattern drop-down list. (HotDocs provides a telephone
number pattern, time of day patterns, and a Social Security number pattern. You can
also create your own. See Use Pattern Codes to Create a Custom Pattern.)
Click the Advanced tab and select any of the options. (See Control How HotDocs
Processes a Variable, Specify the Width of Answer Fields in the Interview, and
Control How HotDocs Processes a Variable, respectively.)
Click the Resource tab and provide a resource option. (See Add Resource
Information to a Variable or Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
179
1. Follow the instructions for inserting a variable, selecting Number as the variable type. (See Insert a Variable Field in
a Text Template.)
Do This
Select a format from the Default format drop-down list. (See Format the Variable
and How Example Formats are Interpreted.)
Enter a prompt in the Prompt box. This information replaces the Variable name and
Variable title when the variable is presented during the interview. (See Create a
Prompt for a Variable.)
Either type a number (0-7) in the Decimal places box, or click the up or down arrows
to select a number.
Click the Advanced tab and select any of the options. (See Control How HotDocs
Processes a Variable, Specify the Width of Answer Fields in the Interview, and
Control How HotDocs Processes a Variable, respectively.)
Optionally, to keep the answer from breaking across lines in the document, select
Non-breaking.
See Understand How Component Titles and Prompts are Used for a description of
how and when variable titles are used.
180
To
Do This
Click the Resource tab and provide a resource option. (See Add Resource
Information to a Variable or Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
181
1. Follow the instructions for inserting a variable, selecting Date as the variable type. (See Insert a Variable Field in a
Text Template.)
Do This
Select a format from the Default format drop-down list. (See Format the Variable
and How Example Formats are Interpreted.)
Enter a prompt in the Prompt box. This information replaces the Variable name and
Variable title when the variable is presented during the interview. (See Create a
Prompt for a Variable.)
Click the Advanced tab and select any of the options. (See Control How HotDocs
Processes a Variable, Specify the Width of Answer Fields in the Interview, and
Control How HotDocs Processes a Variable, respectively.)
Click the Resource tab and provide a resource option. (See Add Resource
Information to a Variable or Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
Optionally, to keep the answer from breaking across lines in the document, select
Non-breaking.
See Understand How Component Titles and Prompts are Used for a description of
how and when variable titles are used.
182
To
Do This
183
1. Follow the instructions for inserting a variable, selecting True/False as the variable type. (See Insert a Variable Field
in a Text Template.)
Do This
Enter a prompt in the Prompt box. This information replaces the Variable name and
Variable title when the variable is presented during the interview. (See Create a
Prompt for a Variable.)
Click the Advanced tab and select any of the options. (See Control How HotDocs
Processes a Variable, Specify the Width of Answer Fields in the Interview, and
Control How HotDocs Processes a Variable, respectively.)
See Understand How Component Titles and Prompts are Used for a description of
how and when variable titles are used.
184
To
Do This
Click the Resource tab and provide a resource option. (See Add Resource
Information to a Variable or Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
185
1. Follow the instructions for inserting a variable, selecting Multiple Choice as the variable type. (See Insert a Variable
Field in a Text Template.)
3. Type the options (at least two) you want users to choose from in the Option column. (Do not create an option with
the exact text None of the Above or Other. Instead, select None of the Above or Other from the Select option.)
4. Optionally, type a prompt for the option in the Prompt column. The prompt (instead of the corresponding Option
text) appears for the options during the interview. (If you need more space for the prompt, click the Options tab and
type the text there. See Work with Multiple Choice Options.)
5. Optionally, type the text you want merged into the assembled document in the Default Merge Text column. (If you
need more space for the merge text, click the Options tab and type the text there. See Work with Multiple Choice
Options.)
6. From the Select drop-down list, select either One Only or All That Apply.
7. Depending on your selection in Step 6, you can select Other or None of the Above. (These options allow users to
either type an answer not in the list or specify that the answer needed is not available in the list.)
8. Choose a display style from the Style drop-down list. The available styles depend on the selection style.
9. Make any other changes, as described in the following table:
To
Do This
Select a format from the Default format drop-down list. (See Format the Variable
and How Example Formats are Interpreted.)
Enter a prompt in the Prompt box. This information replaces the Variable name and
Variable title when the variable is presented during the interview. (See Create a
Prompt for a Variable.)
Optionally, to keep the answer from breaking across lines in the document, select
Non-breaking.
See Understand How Component Titles and Prompts are Used for a description of
how and when variable titles are used.
186
To
Do This
Click the Advanced tab and select any of the options. (See Control How HotDocs
Processes a Variable, Specify the Width of Answer Fields in the Interview, and
Control How HotDocs Processes a Variable, respectively.)
Click the Resource tab and provide a resource option. (See Add Resource
Information to a Variable or Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
187
1. Follow the instructions for inserting a variable, selecting Computation as the variable type. (See Insert a Variable
Field in a Text Template.)
3. In the Script box, enter a computation script. (See Use the Script Editor for specific instructions.)
4. Make any other changes, as described in the following table:
To
Do This
Click the
Auto Format button. HotDocs indents the instructions based on the level
of their insertion.
Select a format from the Default format drop-down list. (See Format the Variable
and How Example Formats are Interpreted.)
Click the Advanced tab and select any of the options. (See Control How HotDocs
Processes a Variable, Specify the Width of Answer Fields in the Interview, and
Control How HotDocs Processes a Variable, respectively.)
Click the Advanced tab and enter the title in the Title box.
Click the Resource tab and provide a resource option. (See Add Resource
Information to a Variable or Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Optionally, to keep the answer from breaking across lines in the document, select
Non-breaking.
188
To
Do This
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
If you experience errors when writing a script, it may be because you are using the instruction and expression
keywords incorrectly. See Understand and Resolve Syntax Errors in a Template or Script for troubleshooting tips.
If you aren't receiving errors, but the script produces results you don't expect, you can examine the script line by
line to see where the logic is flawed. See Overview: Debugging Templates for information.
HotDocs will not let you close the Computation Editor or save a script if the script is invalid. If you need to close
or save, you must either comment out the script (by highlighting the script and clicking the
button) or place a QUIT instruction at the beginning of the script (see QUIT).
Comment Block
189
1. At the template, place your cursor where you want the Personal Information variable and click the
Variable Field
4. Optionally, clear Use default and select an example format from the Format drop-down list. This format will be
applied to this instance of the variable only. (See Format the Variable.)
5. Optionally, click Show Advanced to assign options that control how that specific instance of the variable is merged
into the assembled document. See Control How Answers Appear in the Assembled Document for information about
each option.
When a Personal Information variable is inserted in the template, its name is preceded by the word MY. This notation
distinguishes it from other variables in the template.
When users assemble documents that use Personal Information variables, HotDocs asks for the information and then
stores it in the HotDocs section of the system registry. Once entered, the variable is never asked again; however, users
can change their information at the HotDocs Options dialog box. See Edit Answers for Built-In Personal Information
Variables.
190
1. Follow the instructions for inserting a variable, selecting Date as the variable type. (See Insert a Variable Field in a
Text Template.)
2. At the Variable Field dialog box, click the Variable drop-down button and select TODAY.
3. Optionally, clear Use default and select a format from the Format drop-down list. This format will be applied to this
instance of the variable only. (See Format the Variable.)
191
192
1. Position your cursor at the place in the template where you want the paragraph numbering to take effect.
2. Follow the instructions for inserting a variable, selecting Number as the variable type. (See Insert a Variable Field in
a Text Template.)
3. With the Variable Field dialog box displayed, type PN# in the Variable box. (Replace # with a number representing
the paragraph level. Numbers 19 can be entered.)
4. Optionally, clear Use default and select one of the following formats: 9.9, 9.9.a, abc, or IX. (If no example format is
selected, the default9is used.)
193
1. Create a Computation variable containing the expression COUNT( DIALOG ). (See Customize a Computation
Variable.)
2. Replace the DIALOG placeholder with the name of the repeated dialog.
3. Optionally, insert this Computation variable wherever you want the number of entries to appear. (You don't have
to insert the Computation variable in the template. Often, template developers simply use the COUNT( DIALOG )
expression as a way to keep track of the number of answers without ever inserting the actual number in the
template.)
To number a list automatically
1. At the template, position your cursor before the variable in the list you want to number.
2. Insert a Number variable. (See Insert a Variable Field in a Text Template and Customize a Number Variable.)
Instead of typing a variable name, however, click the Variable drop-down button and select COUNTER.
3. Click OK.
4. Add any punctuation or spaces you want to go with the number. For example:
The children are listed, as follows:
REPEAT Childrens Names
COUNTER. Name of Child, Age of Child
END REPEAT
194
There are two parts to creating variablescreating the variable component, and creating the variable field:
Variable Component: The variable component is the core part of a HotDocs variable. It contains all the information
about a variable and how it should be processed, including the component name and prompt, any resource
information, and any special patterns or other options that help control how the variable appears during the
interview and how it will be processed when the final document is assembled. A variable component also creates
an association between the components and the answers the user enters, so that the answer can be saved in an
answer file. (Answer files can be reused when assembling other documents.)
Variable Field: When you insert a variable into a HotDocs template, HotDocs creates a field where the user's
answer is merged into the assembled document. In a text template, the field is denoted by HotDocs chevrons ( ),
while in a form template, the field is denoted by a colored box that is overlaid on the form's static text. There are
certain properties that are assigned to a variable's field that affect the way the variable is merged into the document
specifically, formats and merge text for Multiple Choice variables. You can also include fill characters that force the
answer to be a certain number of characters, regardless of how long the answer is.
When you insert a variable into the template, you automatically create a merge field for the variable. However, when you
create a variable using Component Manager, there is not a merge field associated with the variable until the variable is
inserted into the template.
195
Edit a Variable
You can edit a variable, including changing a variable's properties. Changes to the component properties of a variable
affect all instances of the variable in the template.
Note:
To edit a variable's field-specific properties, edit them at the Variable Field dialog box. To do this, place your cursor in
the variable field (at the template) and click the
You can edit a variable directly at the template, or you can edit it using Component Manager.
To edit a variable at the template
1. In the text template, click in the variable field and click the
the field and click the
2. Make any changes. (Click any of the following links for information on customizing specific variable types: Text,
Date, Number, True/False, Multiple Choice, and Computation.)
To edit a variable at Component Manager
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
3. Make any changes. (Click any of the following links for information on customizing specific variable types: Text,
Date, Number, True/False, Multiple Choice, and Computation.)
Note:
If you're using Microsoft Word 2000 and above, you can double-click in a variable field in the template to open the
Variable Field dialog box.
For instructions on renaming a variable, see Rename Components in a Single Template.
196
1. At the template, place your cursor inside a variable field and click the
2. If it's selected, clear Use default. The format options become available.
3. Click the Format drop-down button and select an appropriate format.
4. Optionally, select Non-breaking. This keeps the answer from breaking across lines in the document. (You can
assign this property to a variable field even if you do not assign a specific format.)
5. Click OK.
When you assign a field-specific format to the variable, the example format is merged with the variable name in the field.
To assign a default format to a variable
1. At the template, place your cursor inside a variable field and click the
Editor appears.
2. Click the Default format drop-down button and select an example format.
3. Optionally, select Non-breaking to keep the answer from breaking across lines in the document. (You can assign
this property to a variable field even if you do not assign a specific format.)
4. Click OK.
Now, when you insert this variable in other places in the template, the format you have specified will be used. (You can, of
course, override this by assigning a field-specific format.)
When you view the Variable Field dialog box, the default example format you have selected appears grayed in the
Format box, and Use default is selected. If you clear this check box, the default format is suggested as the field-specific
format. It also becomes a property of the field.
Note:
The Use defaults option at a Variable Field dialog box controls all field properties of a variable. (Field properties
include answer formats, Multiple Choice merge text, and field formats.) This means that you cannot assign a
Copyright 2010 HotDocs Ltd. All rights reserved
197
field-specific property to a field and then assign a default property to the variable component. If you choose one
type of property, all other properties must be the same type.
You can create your own formats by typing an example in the Format box. Follow the format of the existing
examplesfor example, use a variation on the number nine for number examples, and use a variation on the
date June 3, 1990 for date examples.
198
1. Edit the variable. (See Edit a Variable.) The Variable Editor appears.
2. In the Prompt box, type the information about the variable you want the user to see.
3. Optionally, to assign font properties to the prompt text (such as bold or underline), enter a formatting dot code. (See
Overview: Dot Codes.)
Note:
You can include a variable in the Prompt box, which will merge the user's answer into the prompt during the
interview. See Use Variables and Scripts in Prompts, Dialog Element Text, and Resources.
When you group variables in a dialog, you can specify the visual relationship between variable prompts and
answer fields by choosing an alignment option at the Options tab of the Dialog Editor. See Change a Dialog's
Options.
You can make HotDocs show only an answer fieldwith no prompt or variable namein the interview. To do
this, type NONE in the Prompt box.
To make a character in your prompt an accelerator key, type an ampersand (&) character immediately before the
letter you want as an accelerator. Then, during the interview, users can press the Alt key while also pressing the
underlined character in the prompt, which moves the cursor to that answer field.
199
Do This
200
3. Click the Regular drop-down button and choose one of the following options:
Select Full to have HotDocs use the full width of the dialog pane to display the answer field.
Select Calculated to have HotDocs calculate an approximate width, based on the possible answer length.
Select Exactly and enter the specific number of units you want HotDocs to use for the answer field width.
4. Click the Spreadsheet drop-down button and choose one of the following options:
Select Calculated to have HotDocs calculate an approximate column width, based on the possible length of
the answer and the actual width of the dialog pane.
Select At Least and then enter the minimum number of characters that should determine the column width.
Note:
These options are not available for Computation variables.
The Exactly field width measurement takes into account the width of the entire field, including field borders,
group boxes (on True/False and Multiple Choice variables), and the calendar icon for Date variables. One unit is
about equal to the width of the character 5.
For text fields, Calculated field widths are calculated by looking at the Maximum units setting. If this isn't set,
HotDocs will assume 30 units. For date and number fields, HotDocs figures out the longest field required to
accept the date or maximum number. For multiple choice and true/false answer fields (or group boxes), HotDocs
uses the width required to show all the options. One unit is about equal to the width of the character 5.
201
1. At the template, edit a variable by placing your cursor in the field and clicking the
2. If it's selected, clear Use defaults. All the merge field properties become active.
3. Click Show Advanced. The dialog box changes to show several advanced options.
4. Select the options that apply, as explained in the following table:
To
Do This
Type a number in the Field width box, or use the up or down arrows to select a
number
When aligning Number variables, HotDocs will align the answer in the answer field as
well as in the merge field in the assembled document.
Click the Font drop-down button and choose a font from the list.
This is a field-specific property available only in text templates. Additionally, you can
assign this property only at the Variable Field dialog box.
202
To
Do This
Caution:
Make sure your users have the same fonts installed on their computers.
Note:
The Use default option at a Variable Field dialog box controls all of the properties of a variable field. (Fieldspecific properties include variable formats, Multiple Choice merge text, and formatting styles for answer fields.
These options are visible when you click Show Advanced.) This means that you cannot assign a field-specific
property to a field and then assign a default property to the variable component. If you choose one type of
property, all other properties must be the same type.
Where you specify the Advanced options determines where the formatting occurs. If you change them at the
Variable Field dialog box, the changes will apply to that instance of the variable only. If you change the options
at the Advanced tab of the Variable Editor, the changes are used as defaults for every instance of the variable.
203
1. Open the variable or dialog to which you want to assign resources. (See Edit a Variable or Edit a Custom Dialog.)
2. Click the Resource tab.
3. Click the Resource type drop-down button and select Plain Text.
4. Type the information in the Text box.
5. Optionally, to use variables in the resource or make text in the resource conditional, enter the variable name,
or enter an IF instruction or expression. (See Use Variables and Scripts in Prompts, Dialog Element Text, and
Resources.)
6. Optionally, select Pop-up to display the information in a What's This? help-style window, rather than a typical
window. (The pop-up window only appears when the user clicks the Resource button next to the answer field.)
During assembly, HotDocs displays the resource text either in the resource pane or in a text-only pop-up window,
depending on your selection. (Pop-up windows stay open only until the user clicks somewhere else.)
Caution:
You cannot use angle brackets with text between them in a plain-text resource (for example, <Your Name>). Instead,
you must use the codes < and > to insert the brackets (for example, <Your Name>). (You can use
brackets, however, if you put a space immediately after the opening angle bracket and immediately before the closing
angle bracket, like this < Your Name >.)
Note:
When editing Multiple Choice variables, you can assign resource text to the entire variable or to individual options. At
the Multiple Choice Variable Editor, click the Resource tab and make your selection at the Resource for drop-down
list.
204
1. At the template or at Component Manager, select the component and edit it. (See Edit a Variable.) The Component
Editor appears.
2. Click the Used In tab. The window changes to show a box listing the dialog(s) (and database components) in which
the component is used.
3. Optionally, to view a list of other components that refer to this component, click List All Components. HotDocs
creates a list of all components that refer to this particular component. (Depending on the complexity of your
template, this may take several seconds.)
4. Optionally, to always view this list of component cross-references each time you view the Used In tab (regardless of
the component you are editing), select Always list all components when viewing this tab.
Note:
The dialog to which the variable is linked is marked with a red arrow. Dialogs that simply use the component are
marked with a plain arrow. See Use the Same Variable or Clause in Two or More Dialogs.
If you make changes to other components in the component file while you have the component editor open, you
can click List All Components again to regenerate the list of used components.
205
1. Edit the component. (See Edit a Variable or Edit a Custom Dialog.) The component editor appears.
2. Click the Notes tab. The view changes to show a multi-line text box.
3. Enter the notes you want associated with the component.
206
1. Insert a new variable or edit an existing variable. (See Insert a Variable Field in a Text Template or Edit a Variable.)
The Variable Field dialog box appears. Or, insert a new instruction or edit an existing instruction. The instruction
field dialog box appears.
207
1. Follow the instructions for inserting a variable, selecting Text as the variable type. (See Insert a Variable Field in a
Text Template.)
3. Click the Pattern drop-down button and choose the time of day pattern you wish to use, based on the following
information:
Choose 99:99 to insert a time in 24-hour format.
Choose 99:99 am to insert a time in 12-hour format. The morning or afternoon designation will not include
periods (for example, am or pm).
Choose 99:99 a.m. to insert a time in 12-hour format. The morning or afternoon designation will include periods
(for example, a.m. or p.m.).
Note:
If your component file was created before the release of HotDocs 2006, you must create the time-of-day pattern. To do
this, type 99:99, 99:99 a.m., or 99:99 a.m. in the Pattern box.
208
Component Manager button at the template, selecting Text Pattern from the Components list, and
Use the following codes to create patterns. These codes represent the types of characters the user can enter.
Additionally, you can insert hyphens, periods, static text, and so forth with these codes.
Code
any character
Note:
If you need a character in your pattern that HotDocs may interpret as a code, you can force the character to appear as
part of the pattern and not as a code by typing a forward slash (/) and then the character. For example, if you need a
pattern to use the X character, you must place the forward slash before the X so that HotDocs doesn't try to replace
the X with a character the user types.
209
3. Click the Option drop-down button and select the option you want to modify.
4. Perform any of the following optional tasks:
Type a new prompt in the Prompt box or edit the existing prompt. (500-character limit)
Type a new merge text option in the Default merge text box or edit the existing merge text. (1,000-character
limit)
Select Automatically select this option if variable is unanswered when displayed to have HotDocs preselect one or more options for the user. During the interview, the user can either accept this selection, or make
a different selection.
Caution:
Do not use the Automatically select this option if variable is unanswered when displayed if you are using the
Multiple Choice variable in a repeated dialog. Because of the way HotDocs processes dialogs, whenever you default
a value for a variable, there will always be one extra repetition in the dialog. To set a default option for a repeated
Multiple Choice variable, you should use a computation script that conditions the default value. See DEFAULT VAR
TO VALUE for more details.
Note:
You can assign resources to each specific option of a Multiple Choice variable. See the note at the end of Add
Resource Information to a Variable or Dialog.
If you are using a SET instruction, you can set two or more options for a Multiple Choice variable. To do
this, separate each option with a vertical bar (for example, SET MC Variable TO "Option1|Option2|
Option3"). (The Multiple Choice variable must have the Select All That Apply property set.)
210
3. Click OK. The merge text options you just entered are now saved with the other component properties.
4. At the Variable Field dialog box for the Multiple Choice variable, select Use default. HotDocs grays all field
properties for the variable.
To assign field-specific merge text to a Multiple Choice variable
1. Create or edit a Multiple Choice variable (see Customize a Multiple Choice Variable and Edit a Variable.)
2. At the Variable Field dialog box, clear Use defaults. HotDocs ungrays the Merge Text column.
3. Enter the merge text that corresponds with the Options you have specified.
Note:
The Use defaults option at a Variable Field dialog box controls all field properties of a variable. (Field-specific
properties include variable formats, Multiple Choice merge text, and formatting styles for answer fields, which are
visible when you click Show Advanced.) This means that you cannot assign a field-specific property to a field
and then assign a default property to the component. If you choose one type of property, all other properties must
be the same type.
When assigning merge text to a variable, you can assign an existing merge text group by clicking the Default
Merge Text column heading and choosing the option from the drop-down list.
211
1. In the spreadsheet or table, select or highlight the columns and rows that contain the information you want to copy
and copy them. (See the application's help for information on copying.)
2. Edit the Multiple Choice variable. (See Edit a Variable.) The Multiple Choice Variable Editor appears.
3. Place your cursor in the spreadsheet column where you want the new data to be used.
4. Right-click and choose Paste Multiple from the shortcut menu. The data is pasted into the spreadsheet.
To copy data from the Multiple Choice Variable Editor and paste it into a spreadsheet or table
1. In the Multiple Choice Variable Editor, place your cursor in the spreadsheet column where you want to copy the
data.
2. Right-click and choose Copy Column (copies the text from the current cell down for this column only) or Copy All
Columns (copies the text from the current cell down in all columns) from the shortcut menu.
3. In the spreadsheet or table, place your cursor where you want to paste the data and paste it. (See the application's
help for information on pasting.)
Note:
To copy the spreadsheet from one Multiple Choice variable and paste it into another Multiple Choice variable, rightclick on the first cell in the spreadsheet and choose Copy All Columns from the shortcut menu. Then edit the second
variable, place your cursor in the first cell of the spreadsheet, and choose Paste Multiple from the shortcut menu.
212
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Click the Components drop-down button and select Merge Text. HotDocs displays the different merge text groups
available in your component file.
appears.
4. Enter a name for the merge text group in the New name box.
5. Click Rename. The component is renamed.
213
Use Variables and Scripts in Prompts, Dialog Element Text, and Resources
You can further customize the interview process by including variables in prompts, in plain text resources, and in dialog
element text. You can also include variables in dialog titles and Multiple Choice option prompts and merge text.
Additionally, you can include IF and REPEAT instructions in plain text resources. You should note, however, that
placing an instruction in a resource will not cause variables used in the instruction to be asked during the interview. If an
instruction relies on a variable being asked in order to be processed, you must make sure those references are resolved
earlier in the interview, before the resource is displayed.
Referring to variables and instructions in other components can provide users with more specific information about the
answer they need to enter during the interview. For example, if you ask for a defendant's name at the beginning of an
interview, whatever name the user enters can appear in a prompt or resource later in the interview.
To customize prompts, dialog element text, dialog titles, plain-text resources, and Multiple Choice merge text
and prompts
1. Edit the component where you want to merge the variable reference or script. (See Edit a Variable or Gather
Questions into a Custom Dialog.)
2. Place your cursor where you want the variable reference (for example, a prompt, title, or dialog element text box),
right-click, and choose Variable Field. The Variable Field dialog box appears.
Note:
To include variable answers in Multiple Choice merge text and prompts, you must either enter the variables at the
Options tab, or you must manually enter the variable references in the options spreadsheet.
3. Enter the variable information and click OK. The variable is merged in the field.
4. Optionally, to enter a script in a plain-text resource, right-click in the Text box and choose IF Field or REPEAT Field
from the shortcut menu, depending on the type of instruction you are inserting.
Note:
You can also merge variable field references by typing double-angle brackets (<< >>), followed by the variable
name or instruction keyword. HotDocs will convert the double-angle brackets to HotDocs chevrons ( ).
If Component Manager is open, you can also drag a variable from Component Manager and HotDocs will
automatically include the chevrons.
214
Do This
Have HotDocs
automatically complete
keywords, component
names, and Multiple
Choice options as you type
Place your cursor in the Script box and press Ctrl+Spacebar. HotDocs displays
a list of instruction and expression keywords, constant values (such as month
abbreviations), and components. Type a portion of the keyword, component name, or
Multiple Choice option for which you are searching. As you type, HotDocs filters the
list to show only those keywords that contain the text you have typed. Once selected,
press Enter to merge it into your script.
To keep seldom-used keywords out of the auto-complete list, click the
Options
button and clear Include seldom-used keywords in auto-complete list.
Click the
Click the
Click the
Select the portion of the script you want to cut or copy, and then click the
button or the
script in a new location, insert your cursor at that location and click the
button.
Find a specific string of
text in the script
Click the
Cut
Paste
Find button and enter your search text in the Find what box. To find the
Note:
To find only those instances of text that are complete words, select Find whole
words only. To find only those instances that have the same capitalization as the
text for which you are searching, select Match case.
Find a specific string
of text in the script and
Click the
Find and Replace button. Enter the search text for which you are
searching in the Find what box, and then enter the replacement text in the Replace
215
To
Do This
with box. Once you have entered the required text, click Replace, Replace All, or
Find Next.
To find and replace script text in a specific block of script, select the block of script
first and then click the
Find and Replace button. At the Find and Replace dialog
box, select Replace only in selected text.
Click the
Go To button. This displays the Go To dialog box, where you can enter
the line number or character position of where you want your cursor to move.
Select the portion of the script you want to indent or outdent and click the
button or the
indent.)
Indent
Cause HotDocs to ignore a Highlight the block of the script you want to comment and click the
Comment
section of the script when
Block button. This puts two forward slashes in front of each line of the script, which
it processes it, or insert a
instructs HotDocs to ignore this section. To uncomment it, highlight the text and click
comment in the script
the
Uncomment Block button.
Match an IF or REPEAT
instruction with its END
IF or END REPEAT
instruction (or vice versa)
Place your cursor inside the instruction, right-click, and select Match IF/REPEAT
from the shortcut menu. (You can also press Ctrl+M.)
Highlight an entire IF
or REPEAT instruction
block (meaning everything
between a beginning
and ending IF/REPEAT
instruction)
Place your cursor inside the instruction, right-click, and select Select IF/REPEAT
from the shortcut menu. (You can also press Ctrl+Shift+M.)
Click the
Click the
Options.)
See Use Line Breaks, Paragraph Ends, and Tabs in Computation Scripts.
Assign formatting
characteristics to literal
text strings in a script
Insert the corresponding dot code. See one of the following topics for details:
Options button and make your changes. (See Change Script Editing
Note:
To access the script editor toolbar using the keyboard, press F10.
To access help for each instruction or expression, first select the model in one of the lists and then press Ctrl+F1.
Copyright 2010 HotDocs Ltd. All rights reserved
216
For an explanation of the HotDocs scripting language, see Understand the HotDocs Scripting Language. For
details on creating a Computation variable, see Customize a Computation Variable. For a list of instruction and
expression models, see Overview: Instruction and Expression Models.
217
5. Click OK after the placeholders have been replaced with actual values.
Note:
You should never SET a variable's value and then cause the variable to be asked later in the template. If you do
this, the value assigned by the SET instruction will always overwrite users' answers. If you want to suggest an
answer for users but allow them to change it, use the DEFAULT instruction. (See DEFAULT VAR TO VALUE
instruction model and Differences Between SET and DEFAULT Instructions.)
To set two or more options for a Multiple Choice variable, separate each option with a vertical bar (for example,
SET MC Variable TO "Option1|Option2|Option3").
218
219
sensitive and any limits entered for the first variable (such as maximum number of characters, patterns, and decimal
places) must be entered for each duplicate variable or the answers will not flow from one document to the next.
When many variables are shared throughout your template set, you may find it easier to use one component file for
all of your templates. (See Use One Component File for Multiple Templates.) Or, if you want each template to use an
independent component file, copy the contents from the first templates component file into each subsequent component
file. (See Copy Components From One File to Another.) Using either method, you can use variables you have already
created, rather than recreating each variable.
220
Text Variables
Example Format
User's Answer
like this
Marianne Stevens
marianne stevens
Like this
Marianne Stevens
Marianne stevens
Like This
Marianne Stevens
Marianne Stevens
LIKE THIS
Marianne Stevens
MARIANNE STEVENS
Like a This
Example Format
User's Answer
09
04
78
78
7,898
7,898
9 1/8
2.3
2 1/4
9,999.00
9214
9,214.00
9214.36
9.214.36
9,999.99999
87.5984
87.5984
9.9
87.6
87.6
9.9.a
287.3
287.3.a
9999
12587
12587
9th
23
23rd
nine
1,278
NINE
1,278
5.36
ninth
782
alpha
12
twelve
Number Variables
Alpha
Copyright 2010 HotDocs Ltd. All rights reserved
Twelve
221
ALPHA
ordinal
TWELVE
25
twenty-fifth
Ordinal
Twenty-Fifth
ORDINAL
TWENTY-FIFTH
Caution:
Many of these formats will change depending on whether you assign decimal places to the answer. How many decimal
places you assign also affects the outcome.
Date Variables
Example Format
User's Answer
03 JUN 90
November 6, 2000
06 NOV 00
06/30/90
November 6, 2000
11/06/00
3 June 1990
November 6, 2000
6 November 2000
November 6, 2000
6/3/90
November 6, 2000
11/6/00
June 3, 1990
November 6, 2000
November 6, 2000
June 3rd
November 6, 2000
November 6th
November 6, 2000
Sunday
November 6, 2000
Monday
November 6, 2000
November 6, 2000
Note:
For additional date formats, please see Additional Date Formats.
True/False Variables
Example Format
User's Answer
/x
Yes
(nothing)
No
Yes
true
No
false
Yes
No
(nothing)
Yes
yes
No
no
true/false
x/
yes/no
222
Computation Variables
Formats for Computation variables depend on the type of computation script you are creating. If you are calculating
numbers, the formats are the same as Number variables. If you are working with text, the formats available are the same
as Text variables.
Answer Lists
To create a list of answers, you can either create a Multiple Choice variable and assign the Select All That Apply
property for it, or you can create a REPEAT instruction. The following list of formats describes the format for each type of
list.
Caution:
When creating lists of answers using a REPEAT instruction, the formats with all capital letters only capitalize the
conjunction in the sentence, for example, the word AND. Individual answers in the list are either merged as the user
types them or as you have specified for each variable.
Example Format
User's Answer
a, and b
a, b
a, b and c
A, b and c
A, B and C
A, B AND C
223
a, b, and c
a; b; and c
224
225
When using the RESULT expression, you must first set the computation to a value. If the computation will return
text, set it to a specific value by typing text inside quotation marks at the start of the script. (To set a text computation
to an empty value, type nothing between the quotation marksnot even a space.) If the computation will return a
number, set it to a value by typing a number at the very beginning of the script. (To set a number computation to
nothing, type 0 (zero).)
226
Clause (referenced in a
clause library)
Database component
Database component
Dialog (nonrepeated)
Dialog (repeated as
spreadsheet)
227
Note:
Remember that when variables are linked to or used in dialogs, the text that appears in the interview outline and
in the dialog pane title bar comes from the dialog, not the variable.
You should always test assemble your template to make sure these combinations of titles, prompts, and variable
names make sense for the interview. See Overview: Test HotDocs Templates.
228
229
During the interview, HotDocs displays the dialog and allows the user to enter answers.
230
You can also add scripts to your dialogs, which let you conditionally hide or dim variable questions and require that certain
questions be answered. You can use text from a Windows or HTML Help file, Folio Infobase, custom program, or Web
page as a resource for a dialog. You can also create an answer sourcean answer file from which a user can select
existing answers during the interview. Finally, you can change the width and placement of answer fields in the dialog.
231
2. Select Dialogs from the Components drop-down list. This limits the list of components to show only the dialogs
used in the template.
3. Click the
New
6. Optionally, to change the order variables are asked in the dialog, select a variable and drag it up or down in the list.
As you do this, HotDocs displays a horizontal bar showing you where the variable will be placed when you release
the mouse.
7. Once all the variables are added, you can perform any of the following optional tasks:
To
Do This
Type the desired prompt in the Title box. The title is what will be used in the interview
outline and in the dialog title bar during the interview.
Dialog titles are useful when the dialog name you have assigned wouldn't make
sense to the user.
To make the title bold, italic, or underlined, insert the opening dot code for the style
you need. Do not include a closing dot code. (See Change Font Properties of Text.)
Click on the Create New Dialog Element icon and drag it to the Contents list. The
Dialog Element Editor opens where you can choose to add text, lines or spaces,
a link that runs a computation, a link that launches an application, a hyperlink, or a
graphic.
Click the Style drop-down button and choose a repeated display option: Repeated
Series or Spreadsheet. (See Create a REPEAT Instruction to Gather a List of
Answers.)
To assign a label to the entire repeated series of dialogs, enter the label in the Label
box. (See Customize REPEAT Titles.)
Customize how the dialog Click the Options tab and make your selections. (See Change a Dialog's Options.)
displays variable questions
and control how the dialog
functions
232
To
Do This
Click the Script tab and create a script. (See Use Scripts to Add Power to Your
Dialogs.)
Click the Resource tab and enter the resource text. The information you enter here
appears in the resource pane during the interview. (See Add Resource Information to
a Variable or Dialog.)
Click the Layout tab and drag variables to the line you want. (See Change the
Layout of Variables in a Dialog.)
Click the Used In tab. (See View Relationship Between the Current Component and
Other Components.)
Click the Notes tab and enter your comments. (See Add Notes to Components for
details.)
Click Test. A test assembly window appears, showing the current dialog. (See Test a
Custom Dialog.)
If you want to make changes to the dialog, make your changes in the Dialog Editor
(without closing the assembly window) and click Update. When you are satisfied with
your changes, close the test assembly window and click OK.
Once your dialog is created, you can rearrange components within the dialog by dragging them up or down in the
Contents list. You can remove all components by dragging them back to the Components list. To edit a component,
double-click it (at either the Contents box or the Components list).
By default, HotDocs asks variables and dialogs in the order it "reads" them in the template (top-to-bottom, left-to-right).
If you want a dialog to be asked at a specific place in the template, you must use an ASK instruction. See Control When
Your Dialogs Appear for details.
Caution:
When you add variables to a dialog, the variables and the dialog become linked and used variables appear grayed in
the Components list of the Dialog Editor. Be careful when adding an already-linked variable to a different dialog. If
you don't first clear the Link variables to this dialog option (Options tab), you will remove the variable from the first
dialog. (See Use the Same Variable or Clause in Two or More Dialogs.)
Note:
If you don't link variables to a dialog, the variables will appear in their own default dialogs in the interview. If you
assign titles to the variables, that title will be used in the interview outline and in the dialog title bar. Otherwise, the
variable prompt or name will be used.
You can control the width of answer fields in a dialog. See Specify the Width of Answer Fields in the Interview.
To save your changes to a dialog without closing the Dialog Editor, click Save.
To move components between the Components and Contents list using the keyboard, use the Left and Right
arrow keys. To move components within the Contents list, press Alt+Up Arrow or Alt+Down Arrow.
233
2. Select Dialogs from the Components drop-down list. This limits the list of components to show only the dialogs
used in the component file.
4. Make changes to the dialog. (See Change a Dialog's Options for ideas.)
Note:
To edit a dialog without using Component Manager, make sure your cursor isn't in a variable field. Then, click the
Edit Component button in the HotDocs toolbar. Select Dialog and click the Component drop-down button.
Choose the dialog you want to edit from the list.
234
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. Click the Options tab. The window changes to show several custom options.
3. Perform any of the following tasks:
To
Do This
Choose Select All That Apply from the Selection grouping drop-down list.
Note:
Providing a None of the Above option for your users gives them the chance to
answer a question without selecting any of the options you have presented.
235
To
Do This
Automatic places the prompt according to the values you specify in the
Maximum units box. Prompts that are shorter than this number will be placed
to the left of the answer field. Prompts that are longer are placed above the
answer field.
To right-align prompts, select Right-align prompts.
Note:
One unit is about equal to the width of the character 5.
When variables are placed side-by-side in a dialog, prompts will always
appear above the answer field.
Clear Show buttons for child dialogs. HotDocs removes any representation of
the child dialog from the parent dialog. The only reference to the dialog will be in the
interview outline, and users must manually click on the dialog to answer questions
within it.
Select Hide this dialog when all variables are inactive. (See Automatically Disable
Irrelevant Variables in Interviews for details.)
Clear Ask automatically. (See Control Whether Dialogs are Asked Automatically.)
Cause variables in
the dialog to be asked
separately, rather than
together in a dialog
Clear Link variables to this dialog. If this option is cleared and the dialog is not
specified in an ASK instruction, the variable questions are asked individually.
This option is also useful when you have a dialog that contains dialog element text
only. By selecting this option, you can ensure that users navigating the interview
using the Next Unanswered button will still see this dialog. (See Using a Dialog to
Display Only Dialog Element Text.)
236
To
Do This
Clear Link variables to this dialog. (See Use the Same Variable or Clause in Two
or More Dialogs.)
Either type the name of an answer source file in the Answer source box, or click the
drop-down button and select an existing answer source. (See Suggest an Answer
Source for Dialogs.)
Click the Map Variables button to link an existing answer source to a dialog where
the variable names are not the same. (See Link an Existing Answer Source to Other
Dialogs or Link a Dialog to a List Gathered by a Repeated Dialog.)
You can also link an answer source to a Time Matters Record or an Outlook Contacts
list
237
1. Open the variable or dialog to which you want to assign resources. (See Edit a Variable or Edit a Custom Dialog.)
2. Click the Resource tab.
3. Click the Resource type drop-down button and select Plain Text.
4. Type the information in the Text box.
5. Optionally, to use variables in the resource or make text in the resource conditional, enter the variable name,
or enter an IF instruction or expression. (See Use Variables and Scripts in Prompts, Dialog Element Text, and
Resources.)
6. Optionally, select Pop-up to display the information in a What's This? help-style window, rather than a typical
window. (The pop-up window only appears when the user clicks the Resource button next to the answer field.)
During assembly, HotDocs displays the resource text either in the resource pane or in a text-only pop-up window,
depending on your selection. (Pop-up windows stay open only until the user clicks somewhere else.)
Caution:
You cannot use angle brackets with text between them in a plain-text resource (for example, <Your Name>). Instead,
you must use the codes < and > to insert the brackets (for example, <Your Name>). (You can use
brackets, however, if you put a space immediately after the opening angle bracket and immediately before the closing
angle bracket, like this < Your Name >.)
Note:
When editing Multiple Choice variables, you can assign resource text to the entire variable or to individual options. At
the Multiple Choice Variable Editor, click the Resource tab and make your selection at the Resource for drop-down
list.
238
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. Click the Script tab. The window changes to show scripting options.
3. Enter your dialog script. (See Use the Script Editor and Special Instructions for Dialog Scripts.)
Once you have written your script, you can make sure it works correctly by testing the dialog. The dialog appears just as it
will during regular assembly. (See Test a Custom Dialog.)
Note:
At the Script tab, the Components list shows the components (including dialog element components) in the order
they are used in the dialog. This makes it easier to see exactly which components you can use in the script.
239
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. Click the Layout tab. The window changes to show icons representing each component in the dialog.
3. Click a component icon and drag it to another location in the window.
When you do this, HotDocs displays either a vertical or a horizontal bar, which tells you where the variable will be
moved when you release the mouse button. A vertical bar shows that the variable will be placed to the right or left of
variables already on that line. A horizontal bar shows that the variable will be placed above or below that line. You
can place up to three variables on the same line.
4. Optionally, click Test. HotDocs displays the variables in a test assembly window. (You can leave this window open
and return to the Dialog Editor to make additional changes, which are immediately updated in the window.)
Note:
If you place only two components on the same line, you can make one of the components wider than the other by
right-clicking on the component and selecting Wide from the shortcut menu. To further adjust the width of answer
fields, at the Variable Editor, click the Advanced tab and make your changes. (See Specify the Width of Answer
Fields in the Interview for further instructions.)
To edit a component or remove it from the dialog, right-click on the component and select Edit or Remove from
the shortcut menu.
When two or more components appear on the same line, the prompts will automatically appear above the answer
fieldyou cannot specify a different prompt alignment.
240
1. At the template or at Component Manager, select the component and edit it. (See Edit a Variable.) The Component
Editor appears.
2. Click the Used In tab. The window changes to show a box listing the dialog(s) (and database components) in which
the component is used.
3. Optionally, to view a list of other components that refer to this component, click List All Components. HotDocs
creates a list of all components that refer to this particular component. (Depending on the complexity of your
template, this may take several seconds.)
4. Optionally, to always view this list of component cross-references each time you view the Used In tab (regardless of
the component you are editing), select Always list all components when viewing this tab.
Note:
The dialog to which the variable is linked is marked with a red arrow. Dialogs that simply use the component are
marked with a plain arrow. See Use the Same Variable or Clause in Two or More Dialogs.
If you make changes to other components in the component file while you have the component editor open, you
can click List All Components again to regenerate the list of used components.
241
1. Edit the component. (See Edit a Variable or Edit a Custom Dialog.) The component editor appears.
2. Click the Notes tab. The view changes to show a multi-line text box.
3. Enter the notes you want associated with the component.
242
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor. (At the Components list
of the Dialog Editor, variables and clauses that are already linked to other dialogs are grayed out.)
2. Click the Options tab. The window changes to show several custom options.
3. Clear Link variables to this dialog.
Caution:
If you clear this option for a dialog, you must specifically ASK the dialog in the template or else it will not be displayed
during the interview. (See Control Whether Dialogs are Asked Automatically.)
243
1. Edit a custom dialog. (See Edit a Custom Dialog.) The Dialog Editor appears.
2. Click the Options tab. The window changes to show several custom options.
3. Clear Ask automatically.
Note:
This option replaces the need for using ASK NONE / ASK ALL instructions. However, instructions for using them are
still available.
244
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. At the Properties tab of the Dialog Editor, click the
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically, which
allows HotDocs to name the component.
7. Optionally, if the dialog is repeated as a spreadsheet, click the Options tab and select one of the following options:
Spreadsheet view only displays the text on the dialog only when users view the spreadsheet and not when
they edit individual rows in the spreadsheet.
Edit Row view only displays the text on the dialog only when users edit individual rows of the spreadsheet. No
text will appear when they are viewing the spreadsheet.
8. Move the dialog element within the dialog by dragging it up or down in the Contents list.
Note:
To edit the dialog element, double-click it in the Contents list. To remove the element, drag it back to the
Components list.
You can use a dialog to display just text and no variables. For example, you may want to include a dialog that
contains only instructions for completing the interview. See Using a Dialog to Display Only Dialog Element Text.
You can customize dialog element text based on users' answers by including variables and other scripting
instructions in the element text. See Use Variables and Scripts in Prompts, Dialog Element Text, and Resources
for details.
245
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. At the Properties tab of the Dialog Editor, click the
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically , which
allows HotDocs to name the component.
6. In the Link text box, enter the text you want to use as the link.
7. Click the Options tab and select how you'd like the link to appear on the dialog, based on the following information:
In the Display as group, select whether the link should be a Button or Hyperlink. (If you select Button, you
can specify a custom button size in the Button size group.)
If you select Hyperlink, select whether the link should include text, an image, or both in the Display using
group. (Enter the name of the image file in the Image file box if you select Image.)
In the Display in group, select Desktop interviews. (Application links are not allowed in HotDocs Server
interviews.)
246
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor .
2. At the Properties tab of the Dialog Editor, click the
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically , which
allows HotDocs to name the component.
New
6. In the Link text box, enter the text you want to use as the link.
7. Click the Options tab and select how you'd like the link to appear on the dialog, based on the following information:
In the Display as group, select whether the link should be a Button or Hyperlink. (If you select Button, you
can specify a custom button size in the Button size group.)
If you select Hyperlink, select whether the link should include text, an image, or both in the Display using
group. (Enter the name of the image file in the Image file box if you select Image.)
Caution:
Any images displayed in a browser-based (HotDocs Server) interview must be located in the same folder
as the template. Also, bitmap (.BMP) files are not supported in browser-based interviews. Additionally,
Silverlight does not support all possible color depths that are included in the PNG specification. Specifically,
gray scale and 64-bit true color are not supported in Silverlight.
In the Display in group, select whether the link should appear when the dialog is displayed in Desktop
interviews, Server interviews, or both.
247
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. At the Properties tab of the Dialog Editor, click the
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically, which
allows HotDocs to name the component.
6. In the Link text box, enter the text you want to use as the hyperlink.
7. Click the Options tab and select how you'd like the link to appear on the dialog, based on the following information:
In the Display as group, select whether the link should be a Button or Hyperlink. (If you select Button, you
can specify a custom button size in the Button size group.)
If you select Hyperlink, select whether the link should include text, an image, or both in the Display using
group. (Enter the name of the image file in the Image file box if you select Image.)
Caution:
Any images displayed in a browser-based (HotDocs Server) interview must be located in the same folder
as the template. Also, bitmap (.BMP) files are not supported in browser-based interviews. Additionally,
Silverlight does not support all possible color depths that are included in the PNG specification. Specifically,
gray scale and 64-bit true color are not supported in Silverlight.
In the Display in group, select whether the link should appear when the dialog is displayed in Desktop
interviews, Server interviews, or both.
8. Optionally, to control the appearance of the browser window when it opens, enter the JavaScript parameters in the
Window.open features string (HotDocs Server only) box.
This value corresponds to the third parameter of the JavaScript window.open method (sFeatures). For example, to
open the resource in a window that is 200 pixels high, 400 pixels wide, includes the status bar, and does not include
the toolbar, menu bar, and location bar, use this string:
height=200,width=400,status=yes,toolbar=no,menubar=no,location=no
248
Caution:
If your hyperlink is designed to allow HotDocs Server users to access a database via a Web page, you must select
Server interviews in the Display in group. Note that the hyperlink will not work in a desktop interview.
249
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. At the Properties tab of the Dialog Editor, click the Dialog Element button and drag it to the Contents list. The
Dialog Element Editor appears.
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically, which
allows HotDocs to name the component.
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. At the Properties tab of the Dialog Editor, click the Dialog Element button and drag it to the Contents list. The
Dialog Element Editor appears.
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically, which
allows HotDocs to name the component.
250
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. At the Properties tab of the Dialog Editor, click the Dialog Element button and drag it to the Contents list. The
Dialog Element Editor appears.
3. Enter a name for the component in the Dialog element name box, or select Generate name automatically, which
allows HotDocs to name the component.
Caution:
Any images displayed in a browser-based (HotDocs Server) interview must be located in the same folder as the
template. Also, bitmap (.BMP) files are not supported in browser-based interviews. Additionally, Silverlight does
not support all possible color depths that are included in the PNG specification. Specifically, gray scale and 64-bit
true color are not supported in Silverlight.
251
1. Open Component Manager for the template. (See Open and Close Component Manager.)
2. Click the
Component File Properties button. The Component File Properties dialog box appears.
3. Click the Interview tab. The view changes to show interview options.
4. Select Automatically disable irrelevant variables and dialogs.
Copyright 2010 HotDocs Ltd. All rights reserved
252
5. Click the Default drop-down button and choose one of the options from the list:
Gray causes all variables with their irrelevant status set to Default to be grayed.
Hide causes all variables with their irrelevant status set to Default to be hidden.
Show causes all variables with their irrelevant status set to Default to always be asked, even if the variable is
irrelevant.
Note:
Model documents assembled from markup are set to automatically disable unused variables. For information on
marking up model documents, see Overview: Create a Model Document.
Caution:
Even when variables are automatically disabled, they will always be visible in pop-up dialogs users view when they
click a form field wizard button.
253
1. Open a dialog for editing. (See Edit a Custom Dialog.) HotDocs displays the Dialog Editor.
2. Click the Script tab. The window changes to show scripting options.
3. Enter your dialog script. (See Use the Script Editor and Special Instructions for Dialog Scripts.)
Once you have written your script, you can make sure it works correctly by testing the dialog. The dialog appears just as it
will during regular assembly. (See Test a Custom Dialog.)
Note:
At the Script tab, the Components list shows the components (including dialog element components) in the order
they are used in the dialog. This makes it easier to see exactly which components you can use in the script.
254
1. Edit or create a dialog that contains the variables you want to associate with an answer source file. The Dialog
Editor appears.
Caution:
Remember that variables in each dialog can be answered by only one record. If you have variables that must be
answered by a different answer source, place those variables in a different dialog.
2. Click the Options tab. The window changes to show several custom options.
3. Select an existing answer source file by clicking the Answer source drop-down button, or create an answer source
by typing a file name with a three-letter extension, such as .ANX or .HPL, in the Answer source box. (You can use
an existing answer source by clicking the
4. If you are linking an existing answer source to a dialog, and the variable names used in the answer source don't
match the variable names in the dialog, you must associate the variables so they can share information. Click Map
Variables to do this. (See Link an Existing Answer Source to Other Dialogs or Link a Dialog to a List Gathered by a
Repeated Dialog.)
255
When associating an answer source with a repeated child dialog, the child dialog cannot be repeated as a
spreadsheet on the parent. If you do this, the
256
257
1. Edit the dialog whose answers you want to retrieve from an existing list. (See Edit a Custom Dialog.)
2. Click the Options tab. The window changes to show several custom options.
3. Click the Answer source drop-down button and choose CURRENT ANSWER FILE.
4. Click Map Variables. The HotDocs Variable Mapping dialog box appears.
5. In the Map To column, click the drop-down button corresponding to the first variable and select the variable that
should share the same answer. (The drop-down list contains the variables in the current template that are the same
type as the variables in the dialog.)
258
1. Edit the dialog you want to link to the answer source. (This dialog can be in any template.) (See Edit a Custom
Dialog.)
2. Click the Options tab. The window changes to show several custom options.
3. In the Answer source box, enter the answer source file name. (If the answer source is saved in a location other
than the HotDocs Answers folder or the current template's folder, enter a full folder path along with the file name.)
4. If the variable names in the current dialog match those in the answer source, click OK. If not, continue this process.
5. If the variable names in the current dialog don't match those in the answer source, click Map Variables. The
HotDocs Variable Mapping dialog box appears. The variable names in the current dialog are listed in the Variable
Name column.
6. In the Map To column, click the drop-down button corresponding to the first variable whose answer you want to
come from the answer source. (The drop-down list contains the variables in the answer source that are the same
type as the variables in the dialog.)
7. From the list, select the variable you want to map to the variable in the current dialog.
8. Continue selecting corresponding variables for each variable in the dialog you want to map.
259
1. Edit the dialog you want to link to the Contacts list. (This dialog can be in any template.) (See Edit a Custom Dialog.)
2. Click the Options tab. The window changes to show several custom options.
3. Click the Answer source drop-down button and choose Outlook.
4. Click Map Variables. The HotDocs Variable Mapping dialog box appears. The Variable Name column lists the
variables in the current component file.
5. In the Map To column, click the drop-down button and choose the Outlook field that corresponds to the variable.
6. Repeat Step 5 for each variable you want to map.
Now, when users view this dialog during the interview, a
Select button will appear on the dialog. When they click
the button, HotDocs will display the Contacts list in Outlook where users can select the name of a contact and have the
appropriate information merged into answer fields in the interview.
260
1. Edit the dialog you want to link to the Time Matters record. (This dialog can be in any template.) (See Edit a Custom
Dialog.)
2. Click the Options tab. The window changes to show several custom options.
3. Click the Answer source drop-down button and choose Time Matters - Contact or Time Matters - Matter.
4. Click Map Variables. The HotDocs Variable Mapping dialog box appears. The Variable Name column lists the
variables in the current component file.
5. In the Map To column, click the drop-down button and choose the Time Matters field that corresponds to the
variable.
6. Optionally, click the Write Back drop-down button and choose the option you need:
Never keeps the answer from being written back to Time Matters if it is changed.
Always always writes the answer back to Time Matters if it is changed. The user will not be notified or
prompted of the change.
Prompt displays a dialog box that lets the user decide if the changed answer should be written back to Time
Matters.
261
1. Create the parent dialog as well as the child dialog. (See Gather Questions into a Custom Dialog.)
2. Once both dialogs are created, edit the parent dialog. (See Edit a Custom Dialog.)
3. At the Properties tab, click the Components drop-down button and select Dialogs from the list. HotDocs limits the
contents of the list to just dialogs.
262
1. Create the parent dialog as well as the dialogs you want to insert. (See Gather Questions into a Custom Dialog.)
2. Once your dialogs are created, edit the parent dialog and add the child dialogs to it. (See Edit a Custom Dialog and
Insert Dialogs Into Dialogs.)
3. While editing the parent dialog, click the Options tab. The window changes to show options for working with the
dialog.
4. Click the Selection grouping drop-down button and select Select One or Select All That Apply.
Note:
When child dialogs are grouped, you can use a SET instruction to automatically select a child dialog for answering.
Doing this will automatically add the correct child dialog to the interview outline. You can also test whether a child
dialog has been selected for answering by using a True/False expression.
263
1. Position the cursor at the point in the template where you want the dialog to appear (for example, at the top of the
template).
2. Click the
264
1. Create the dialogs you want to ask. (See Gather Questions into a Custom Dialog.)
2. At the template, position your cursor where you want to insert the Computation variable that asks the series of
dialogs.
265
1. Place your cursor at the point in the template where you want HotDocs to control what gets asked.
2. Insert an ASK instruction (see Control When Your Dialogs Appear). Once the instruction is inserted, replace the
dialog name with one of the following keywords: ALL or NONE.
To change the ASK mode in a computation script
1. Open a Computation variable for editing. (See Customize a Computation Variable.) The Computation Editor
appears.
2. Drag ASK DIALOG from the Instruction models list into the Script box.
3. Replace DIALOG with one of the following keywords: ALL or NONE.
Caution:
If you change the ASK mode in a computation, you should always change it back to what it was originally (ALL or
NONE).
266
2. Optionally, adjust the Component Manager window to the desired width and click the
3. Once Component Manager is opened, you can perform any number of tasks, including:
Using Component Manager to work with components.
Creating and inserting a variable using Component Manager.
Creating and editing multiple components simultaneously.
Changing component file properties.
To close Component Manager, click the X in the upper-right corner of Component Manager.
Note:
You can also open Component Manager at the template library. This allows you to create and edit components without
actually opening the corresponding template. It also allows you to more easily edit the component file of a clause
library or interview template. (See Open Component Manager at the Template Library.)
267
1. At the HotDocs library, select the template or clause library whose component file you want to open.
2. Click the
3. Make changes to the component file as necessary, such as create new components, edit existing components, and
rename components. (See Use Component Manager to Work with Components.)
268
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
Do This
Click the
by Type.
Sort Components button and then choose either Sort by Name or Sort
To sort component lists that appear in the Dialog Editor and Computation Editor,
right-click on the list and then choose your sorting option from the shortcut menu.
Display Component
Manager side by side with
the template development
window
Adjust Component Manager to the width you want and click the
Arrange
Windows button. HotDocs adjusts the size of the template development window so
that both windows can be viewed in full.
Click the
Click the
Component File Properties button. (See Change Component File
Properties.)
Place your cursor in the template where you want the variable, select the variable
Click the Components drop-down button, select the type of component you want to
Make changes to an
existing component
Select the component from the component list and click the
button. (You can also double-click the component.)
Remove a component
from the component file
Edit Component
Delete Component
Caution:
The component is removed from the component file and any associated dialogs,
but references to it in the template and other components (such as scripts,
prompts, or dialog text elements) will not be updated. If you've referred to this
component in any of these ways, you must manually update these references or
your template may not work.
269
To
Do This
Click the
Restore All button. HotDocs brings all open Component Editors to the
front so you can view and edit them.
Click the
Minimize All button. All open Component Editors are then minimized.
However, you can still access them by clicking their icon in the Windows taskbar.
Click the
Save and Close All button. All changes made to components are saved
and all open Component Editors are closed.
Note:
To access the Component Manager toolbar using the keyboard, press F10.
You can open a component file for another template while viewing the current component file. Once opened,
you can edit components or assign other properties. To do this, click the Expand button, and then select the
component file. Once open, edit the component. You can also copy components between the open component
files. See Copy Components From One File to Another.
For information on searching and replacing text strings in the component file, spell checking components, and
printing lists of component properties, see Search Component Files, Print a List of Components, and Spell Check
Components.
270
Restore All,
3. Make changes to each variable as necessary, using the following tools to help you manage the open windows:
To bring all open Component Editors to the front, click the
To minimize all open Component Editors, click the
271
Component File Properties button. The Component File Properties dialog box appears.
Do This
Enter the template title in the Template title box. This title is used to identify the
template in the template library file list.
Enter a description in the Template description box. The description appears when
the user views its properties at the library Properties tab.
Click the Component file format drop-down button and choose the version of
HotDocs you need:
Choose Current Format to save it in the latest version of HotDocsin this
case, HotDocs 2009-10. When you upgrade to a future version of HotDocs,
HotDocs automatically upgrades the component file version so you don't have
to (as you do if you choose one of the other options).
Choose HotDocs 6, HotDocs 2005, HotDocs 2006-2008, or HotDocs 2009-10
to save the component file in that specific version. To upgrade or downgrade
the version, you must manually choose the new version here.
Caution:
Be careful not to use new features that aren't supported in the older versions of
HotDocs or you may experience errors during assembly.
Specify a shared
component file for the
template
Click the Shared component file drop-down button and choose the component file
from the list. (Shared and pointed component files must be stored in the same folder.)
To point a template to a
shared component file,
make sure you first close
Copyright 2010 HotDocs Ltd. All rights reserved
272
To
Do This
Do This
If you choose to create and use your own interview component, select Use custom
interview and enter the name of the computation in the Interview component box.
(In HotDocs 2005 and earlier, this component's name was INTERVIEW. You can
continue to use this name, or you can use any nameas long as it's specified here.)
If you choose to let HotDocs generate a default interview, select Generate default
interview. HotDocs then asks the variables and processes the instructions in the
template in the order it "reads" them. If a variable is linked to a dialog, the dialog is
displayed instead.
Automatically disable
variables in dialogs that
aren't referred to in the
document
Select Hide interview outline. The only way the user can navigate the interview is
Select Hide End of Interview dialog. When the user clicks Next at the last dialog
in the interview, HotDocs will either send the assembled document to the word
processor or it will display the Document tab, depending on which End of Interview
action the user has defined. (See Control Whether Users See the End of Interview
Dialog and Control What Happens When You Finish an Interview.)
Have HotDocs
automatically generate
titles for dialogs based on
the contents of the dialog
You can specify the default action for variables in the template. Click the Default
drop-down button and choose an option. (To make use of this setting, at each
variable's Advanced tab, click the When irrelevant drop-down button and choose
Default.)
by using the
Previous and
Next commands.
If you want to create your own custom dialog titles, assign them at each dialog's
Dialog Editor. (See Change a Dialog's Options.) Once you specify a title for a dialog,
HotDocs will not generate them.
273
To
Do This
Enter the text in the Resource button label box that you want users to see when
they hover their mouse cursor over the resource button during the interview.
Do This
Enter a title in the Product title box. (If you leave this field empty, HotDocs will use
the text HotDocs Developer 10.)
Create a word processor bookmark in the template and select Move to the
"TypeHere" bookmark. (See Position the Cursor in the Assembled Document.)
Once selected, this option causes the first information-gathering dialog to appear
immediately after the template is selected for assembly. At the end of assembly,
users cannot save their answers.
Automatically update
Select Update table of contents, references, fields, etc.
the document's table of
contents and/or index once Once the document is sent to the word processor, these references will be updated
based on any changes made during assembly of the document.
the document has been
sent to the word processor
Let users see their
answers highlighted in the
assembled Microsoft Word
document
When you do this, HotDocs marks merge fields in the Document Preview tab.
Users can then click the
Highlight Answers button in the assembly window and
answers will be highlighted with a special color.
274
To
Do This
As users change answers, answers throughout the document (and interview) will be
updated to reflect the change.
Click the
Browse button next to the Post-assembly macro file (Word only)
box and locate the template that contains these macros. See PLAY "MACRO" and
Specify a Word Template for Storing Post-Assembly Macros for more information.
Type a number in the Maximum WHILE iterations box. This number represents the
number of times dialogs or variables in the template or script can be looped before
HotDocs stops it from doing so.
Type a number in the Maximum processing stack depth box. This number
represents how many instructions you want HotDocs to allow in the processing stack
(see note in previous column). When HotDocs reaches this limit, the recursion will
stop.
Note:
Recursion happens
when a computation
"calls" itself over and
over until the desired
result is achieved. For
example, you can use a
recursive computation
to scan a text string,
character by character,
for a specific value.
As HotDocs searches
for this value, it adds
information to the
processing stack. If too
much information gets
added to this stack,
HotDocs may stop
responding.
6. Change any of the following options available from the remaining tabs:
To
Do This
Have HotDocs
automatically remove
hidden data from the
assembled document
At the Hidden Data tab, select which types of data you want to remove from the
assembled document. See Remove Hidden Data from Assembled Documents for
more details.
275
To
Do This
At the HotDocs Server tab, select Enable template for use with HotDocs Server.
See Enable Templates for Use with HotDocs Server for a description of all of these
options.
If you do not select this option, you will not be able to browser test the template or
publish it for use with HotDocs Server.
At the Answer Upload tab, fill in the information about answer uploading in the
corresponding fields. See Specify Options to Upload Answers.
276
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. From the Components list, select the variable, format, pattern, or merge text you want to delete.
3. Click the
Delete Components button and click Yes when HotDocs confirms the removal. The component is
removed. If a reference to the component still exists in the template, you must remove it or you will receive errors
when you assemble the template.
Note:
To delete unused components in several templates, use Template Manager. (See Delete Components from
Multiple Component Files.)
When you are viewing the component list, you can limit the list of components that are showing by clicking the
Components drop-down button and selecting the specific component type.
277
2. Click the
Expand button in the upper-right corner of Component Manager. The window expands to show a second
component list.
3. Click the
Open button. The Open dialog box appears. (You can also click the Other component file drop-down
button and select one of the component files that is saved in the same folder as the current file.)
4. Locate the component file you want to display and click OK. HotDocs shows a list of components in that file.
5. In either the current component file or the other component file, select the components you want to copy.
6. Click the
7. If a component already exists in the file to which you are copying and contains properties that are different, complete
any of the following steps at the Copy Components dialog box:
Click Overwrite to overwrite that specific instance of an existing component with the one you are copying.
Click Don't Overwrite to not copy a specific component.
Click Rename to assign a new name to the component you are copying. Both the original and the copied
component are saved in the component file.
Click Always Overwrite to overwrite all existing components with the ones you are copying. Once you select
this option, you will not be warned when other duplicate components are found.
Click Never Overwrite to tell HotDocs to not copy (and overwrite) any existing components with ones you are
copying.
Also, at the Copy Components dialog box, you can view the components you are copying. To view the component in the
file from which you are copying, click the first View button. To see the component that exists in the component file into
which you are copying, click the second View button.
Once you have copied the components, click the
show only the current list of components.
Note:
To copy components between several component files at once, you can use Template Manager. (See Copy and Paste
Components Across Multiple Component Files.)
278
3. In the Variable name box, type the new variable name and click OK. HotDocs verifies that you want to rename the
component.
4. Click Yes. The variable component is renamed, and the Variable Field dialog box appears again.
5. Click OK.
6. Remove any other references to the variable in the template and insert the new variable field. (See Insert a Variable
Field in a Text Template.)
To rename a single component using Component Manager
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Select the component from the Components list and click the
3. Type the new component name in the New name box and click Rename. HotDocs changes the name throughout
the component file.
4. In the template, replace old component references with the new component. (See Insert a Variable Field in a Text
Template.)
To rename multiple components using Component Manager
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Select the components from the Components list and click the
3. In the Existing Component Names column, select the components you want to rename.
4. Type the new name in the New Component Names column.
5. Optionally, to create multiple like-named components at once (for example, to rename two variables that use the
word Plaintiff so the new names instead use Client), type the existing word or phrase (i.e. Plaintiff) in the Replace
box, and then type the new word or phase (i.e. Client) in the with box, and click Apply. Where applicable, HotDocs
changes all the names in the New Component Names column.
279
7. In the template, replace old component references with the new components. (See Insert a Variable Field in a Text
Template.)
HotDocs lists all the components that were renamed in the Renamed Components list of Component Manager. To view
the full list of components again, click the Components drop-down button and choose All Components.
280
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
3. Change the name and any other properties of the variable and click OK. The new variable is added to the
component file.
To duplicate multiple variables at once
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Select the variables you want to create copies of and click the
3. In the Existing Variables column, select the variable(s) you want to duplicate.
4. Type the name of the new variable in the New Variables column.
5. Optionally, to create multiple like-named components at once (for example, to copy Defendant-related components
to create Plaintiff-related components), type the existing word or phrase (i.e. Defendant) in the Replace box, and
then type the new word or phase (i.e. Plaintiff) in the with box, and click Apply. Where applicable, HotDocs changes
all of the names in the New Variables column.
281
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Click the Components drop-down button and select the type of supplemental component you want to edit. Your
options include variable formats (like Text Formats and Number Formats), Merge Text, Dialog Elements, and
Text Patterns. The list is filtered to show that kind of component.
editor.
282
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Click the
3. From the Include list, select one of the following options: All components in list (searches all of the components
currently displayed in the Components list), Selected components in list (searches only the components that are
currently selected (highlighted) in the Components list), All components in component file (searches all of the
components in the component file, regardless of what is currently displayed (and selected) in the Components list).
4. Type the word or string of text in the Find what column. (You can include up to 10 text strings.)
5. Optionally, select any other search criteria:
Match case searches for a text string that matches the capitalization you have used.
Find whole words only excludes instances where the text in the Find column occurs as part of another word.
6. Specify which properties of a component you want to search by selecting an option. (See Component Properties for
an explanation of each property.)
7. Click Find. Once HotDocs is finished searching the components for the specified string, Component Manager
displays the Found Components list, which shows only those components that contained a match. This list
continues to show the results of your search until you either perform a new search or you close Component
Manager. To view the full list of components again, click the Components drop-down button and choose All
Components.
To search components for a certain text string and then replace the string with new text
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Click the
Find and Replace in Components button. The Find and Replace in Components dialog box
appears.
3. From the Include list, select one of the following options: All components in list (searches all of the components
currently displayed in the Components list), Selected components in list (searches only the components that are
currently selected (highlighted) in the Components list), All components in component file (searches all of the
components in Component Manager, regardless of what is currently displayed (and selected) in the Components
list).
4. Type the text string for which you want to search in the Find what column. (You can include up to 10 strings.)
5. Type the text string with which you want to replace the found text in the Replace with column.
6. Optionally, select any other search criteria:
Match case searches for a text string that matches the capitalization you have used.
Find whole words only excludes instances where the text in the Find column occurs as part of another word.
Confirm replacements makes HotDocs ask you before it replaces the text string.
7. Specify which properties of a component you want to search by selecting an option. (See Component Properties for
an explanation of each property.)
8. Click Find. If you selected Confirm replacements, HotDocs will confirm each replacement. Once HotDocs finishes
replacing the components for the specified string, Component Manager displays the Found Components list, which
shows only those components that were modified. This list continues to show the results of your search and replace
Copyright 2010 HotDocs Ltd. All rights reserved
283
until you either perform a new search or you close Component Manager. To view the full list of components again,
click the Components drop-down button and choose All Components.
Note:
To search for a specific component based on the component name, select the Find check box (located at the bottom
of the Component Manager window) and type the text for which you are searching.
284
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Click the
Spell Check Components button. The Spell Check Components dialog box appears.
3. From the Include list, select one of the following options: All components in list, Selected components in list, or
All components in component file.
4. Select the component properties you want to spell check. (See Component Properties.)
5. Click OK. If HotDocs finds any unrecognized words, it displays the Check Spelling dialog box.
6. Make your selection, based on information in the following table:
To
Do This
Select an existing replacement from the Change to list (or type the replacement in
the Change to box) and click Change.
Select an existing replacement from the Change to list (or type the replacement in
the Change to box) and click Change All.
Click Add.
Click Suggest.
Click Options. (You can also change your options at the HotDocs Options dialog
box. See Change Your Spell Checking Options.)
Note:
A deeper search takes longer but produces better possible replacements. If the
button is unavailable, HotDocs is searching at the deepest level.
When you are finished spell checking, HotDocs displays a list of components that were modified in the Changed
Components list. If HotDocs does not find any misspelled words, or if you do not correct any misspellings, this list is
empty. To view the full list of components again, click the Components drop-down button and choose All Components.
Copyright 2010 HotDocs Ltd. All rights reserved
285
1. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
2. Click the
4. Select the properties you want to print. (See Component Properties for an explanation of each property.)
5. Click OK and specify any printer options.
286
1. Make sure all templates and component editors are closed. (The only window that should be open is the template
library.)
2. At the template library, select the template whose component file you want to point.
3. Click the
4. Click the
Component File Properties button. The Component File Properties dialog box appears.
5. At the General tab, click the Shared component file drop-down button and select the shared component file. (This
drop-down list shows all of the component files listed in the same folder as the actual component file. Remember,
pointed and shared component files must be saved to the same folder.)
6. Optionally, to use the properties of the pointed component file instead of the shared, clear Use properties stored
in the shared component file at each respective tab of the Component File Properties dialog box. To copy the
properties of the shared component file into the pointed component file, click Copy Shared. (Any properties you
change after choosing to use the pointed component file will not be updated in the shared file.)
7. Click OK. The current template's component file is now pointed and the contents of the shared component file
appear in the component list. (At Component Manager, the
appearance to indicate that the component file is pointed.)
Copyright 2010 HotDocs Ltd. All rights reserved
Caution:
If you created variables before you pointed the component file to the shared file, you must copy those variables to the
shared file. See Copy Components From One File to Another for details.
Note:
HotDocs can display a warning when you edit a template that has a pointed component file. This warning reminds you
that changes you make will affect all templates that point to the component file you are editing. See Display HotDocs
Warning Messages for details.
288
1. Point the template's component file. See Use One Component File for Multiple Templates.
2. With Component Manager open and the Component File Properties dialog box displayed, click the tab for the
properties you want to use from the pointed component file. (For example, to use the pointed file's interview options,
click the Interview tab.) The view changes to show those specific options.
289
1. Make sure all templates and component editors are closed. (The only thing that should be open is the template
library.)
2. At the template library, select the template whose component file you want to unpoint.
3. Click the
4. Click the
Component File Properties button. The Component File Properties dialog box appears.
5. At the General tab, click the Shared component file drop-down button and choose the blank line at the top of the
list.
6. Click OK. The component list changes to show the components used in the original component file.
Caution:
If you added or created components while the component file was pointed, you must copy those components back
to your original component file so HotDocs can find them. See Copy Components From One File to Another for
information on how to do this.
290
1. Open Component Manager for the template whose End of Interview dialog you want to hide. (See Open and Close
Component Manager.) The Component Manager window appears.
2. Click the
Component File Properties button. The Component File Properties dialog box appears.
3. Click the Interview tab and select Hide End of Interview dialog.
When the End of Interview dialog is hidden and the user clicks Next at the last dialog in the interview, HotDocs will
perform the End of Interview action the user specifies at HotDocs Options. These options include sending the document
to the word processor or Filler, or viewing the assembled document at the Document Preview tab. (See Control What
Happens When You Finish an Interview.)
Note:
Users can choose which options appear in the End of Interview dialog by making their selections at HotDocs Options.
See Customize the End of Interview Dialog.
291
1. Create a template or open an existing template for editing. (See Create a New Text Template File or Edit a
Template.)
2. Place the cursor in the template where you want your cursor to appear when the assembled document is sent to the
word processor.
3. Use your word processors functionality to create a bookmark. Name it TypeHere and insert it into the text. (See
your word processors help file for information on creating bookmarks.)
4. Open Component Manager. (See Open and Close Component Manager.) The Component Manager window
appears.
5. Click the
Component File Properties button. The Component File Properties dialog box appears.
6. Click the Assembly tab and select Move to the Type Here bookmark.
7. Click OK.
292
1. Create a Word DOT template and store your macro in it. (See the Microsoft Word documentation for instructions on
doing this.)
2. Edit the template to which you want to attach the macro. (See Edit a Template.)
3. Insert the PLAY MACRO instruction in the template. (See PLAY "MACRO".)
4. Open the Component File Properties dialog box for the template. (See Change Component File Properties.)
5. Click the Assembly tab, and, in the Post-assembly macro file box, enter the name of the template you created in
Step 1. (Remember, the Word macro template must be stored in the same folder as the HotDocs template.)
Note:
Post-assembly macros are played whenever the user creates a document from the template, specifically when the
user prints the document, saves the document to disk, or sends the document to the word processor.
293
Component File Properties button. The Component File Properties dialog box appears.
3. Click the Hidden Data (Word) tab. The view changes to show the properties you can remove.
4. Select the types of data you want removed from the assembled document. You can remove content as well as
properties from the assembled document. Specifically:
Options in the Document Data to Remove group include marks or other types of data Word uses to manage
information in the document:
o
Invisible merge ID marks: Word merges revision ID numbers in the template each time you edit the
template text. (Word uses these numbers to improve accuracy when merging or comparing related
documents.) Each time you edit the text of a template, more IDs are added to the template and the size of
the file increases. Removing these IDs reduces the size of the document.
Redundant metafile graphics: When you insert a graphic image in your RTF template, Word merges a
Windows Metafile copy of the graphic in the template as well. This means there are two versions of the
graphic in the template. Removing the metafile version can significantly reduce the size of the document.
Unused property codes: When you apply formatting properties (such as bold, underline, alignment, etc.)
to text in a template, these codes are stored in the template. Selecting this property removes any codes
that may be left in the assembled document after the section of text to which the property was applied has
been removed through the use of IF instructions.
Options in the Document Properties to Remove group include information stored about the document,
including information about who created the document. (Document properties typically appear on the
Properties dialog box for a given document.)
Options in the HotDocs Fields to Remove group include the bookmarks HotDocs merges in a document to
indicate editable answers and text.
Options in the Document Markup group include reviewer's comments, such as annotations or change-tracking
suggestions.
Caution:
For complete explanations of each individual property, view the What's This help for each option on the tab, or see the
Microsoft Word documentation.
Now, when the document is assembled and sent to the word processor, the data associated with each option you've
selected will be removed from the document.
294
6. In the Document Properties group, select which properties you want to remove from the template. (This includes
information stored in the Properties dialog box for a given template. It usually represents information about who
created the template.)
8. Once you've selected which data you want to remove, click Remove Data. HotDocs removes the data from the
selected templates.
295
WordPerfect
Footnotes
Text Boxes
Caution:
Using buttons in the HotDocs Navigation toolbar will have no effect while editing the contents of a header or
footer.
When inserting variables or instructions in a WordPerfect header, footer, footnote, or text box, you cannot
highlight text and then replace it with the field. You must simply insert the variable by clicking in the text.
HotDocs 5 users: In HotDocs 5, you had to specify a component file property that instructed HotDocs to
assemble variables in Word headers and footers. HotDocs 10 automatically assembles these, so the option has
been removed from the Component File Properties dialog box.
Note:
If a Word RTF template contains headers and footers with variables, you may find your variables being asked "out
of order." You can create a custom interview to control the order your variables and dialogs are asked. See Define a
Custom Interview for details.
296
In addition to using a single instruction or expression to merge or remove a single block of text, there may be times when
you have multiple versions of a paragraph or other text, only one version of which should be merged into the assembled
document. To accomplish this, you can use a series of ELSE IF instructions or expressions. If you have a paragraph that
should be merged when no conditions are met, you can use an ELSE instruction.
Copyright 2010 HotDocs Ltd. All rights reserved
297
1. Highlight the template text you want to make conditionala word, a sentence, a paragraph, an instruction, and so
forth.
2. Click the
Edit Component button to make changes to the variable's component properties. (See
Customize a True/False Variable.)
6. Click OK. HotDocs inserts an IF instruction around the text you selected.
To add or exclude text based on a True/False expression
1. Select the text in the template you want to make conditionala word, a sentence, a paragraph, an instruction, and
so forth.
2. Click the
3. Select IF Expression. The window changes to let you create a script for the expression. (See Understand the
HotDocs Scripting Language.)
Copyright 2010 HotDocs Ltd. All rights reserved
298
4. Enter the script, using models from the Expression models list. (For example, the following is an expression that
tests three different conditions: 1) the client must be married, 2) the client must be over age 25, and 3) the client
must live in Pennsylvania: Client is Married AND AGE( Client Birth Date ) > 25 AND Client
State= "Pennsylvania".)
5. Click OK. HotDocs inserts the expression around the part of the template you selected.
Note:
True/false expressions can contain only 256 characters. If longer, you must use a Computation variable.
When the True/False variable appears during the interview, the variable name is used as the prompt. You can
enter a Prompt at the True/False Variable Editor to make it more specific. (See Tips on Naming Your Variables
and Create a Prompt for a Variable.) Additionally, you can include a resource (see Add Resource Information to a
Variable or Dialog.)
To help you create the expression, you can use predefined expression models from a list of models. Two
expression models you will use frequently are MULT_CHOICE = TEXT and MULT_CHOICE != TEXTboth of
which test what the answer is for a Multiple Choice variable.
Caution:
You cannot use an IF instruction to condition a table that appears within another table. For example, if you have a table
which contains another table within one of its cells, you cannot use a condition to remove the embedded table during
assembly. (If you do, HotDocs only removes the text from the table and leaves the empty table in the assembled
document.)
299
1. Highlight the first conditional part of the template and create an IF instruction. (See Include or Exclude a Single
Version of Text Using a Simple IF Instruction or Expression.)
2. Select the IF instructions END IF keywords together with the next section of conditional text and click the
IF
3. Select ELSE IF True/False Variable or ELSE IF Expression. The dialog box changes to show the options for
defining the condition.
4. Enter a name in the True/False variable box, or enter an expression in the Expression box.
5. Click OK to complete the instruction.
6. Repeat this procedure for each section of conditional text, making sure you select the preceding sections END IF
instruction, along with the new section of text.
Optionally, if you have a paragraph or block of text you want to include if all other conditions are false, you can use
an ELSE instruction.
7. Highlight the last END IF instruction together with the part of the template you want to be used if none of the
preceding conditions in the instruction are true.
8. Click the
300
9. Select ELSE and click OK. The selected section of the text is added to the IF instruction. (You don't have to specify
a condition for this sectionit will simply be used whenever all the earlier conditions are false.)
Note:
True/false expressions can contain only 256 characters. If longer, you must use a Computation variable.
When the conditions in an ELSE IF instruction are all True/False variables, you can put them together in a singleselection group in a dialog. (See Change a Dialog's Options.)
Caution:
You cannot use an IF instruction to condition a table that appears within another table. For example, if you have a table
which contains another table within one of its cells, you cannot use a condition to remove the embedded table during
assembly. (If you do, HotDocs only removes the text from the table and leaves the empty table in the assembled
document.)
301
302
Nest IF Instructions
You can nest an IF instruction inside another IF instruction. HotDocs wont process the nested instruction unless the first
(or top) level of the instruction is true.
In this example, if HotDocs finds that Clients Marital Status was answered Married, HotDocs inserts the text with the
spouses name and then checks to see if Client Has Children by This Marriage was answered true. If it is, HotDocs inserts
the names of the children.
This ruling affects the client, Full Name of ClientIF Client's Marital Status
= "Married"; and spouse, Full Name of SpouseIF Client Has Children by This
Marriage; and the following children: REPEAT Children:a, b, and cFull Name of
ChildEND REPEATEND IFEND IF.
But if HotDocs finds that Clients Marital Status was not answered Married, HotDocs skips the rest of the instruction,
including the question about children in the marriage.
Note:
If you ask variables later in the template based on a nested IF instruction being true, you must make sure you use
the full conditional reference before asking the variable. See Tips on Using IF Instructions.
You can have HotDocs identify the level of nesting in your IF instructions using both labels and field coloring. See
Use Labels to Identify Instructions and Assign Colors to Fields and Instructions in Templates.
303
304
Line Spacing
The key to correct line spacing between paragraphs when one or more paragraphs is conditional is understanding the
process by which HotDocs inserts returns. By default, HotDocs inserts a return after each IF instruction. Then, during
assembly, it removes any returns it has inserted.
You can select an option that inserts returns after every instruction, an option that inserts returns only if a complete
paragraph is selected, or an option that doesn't insert any returns at all. (See Control When Returns Are Inserted After
Instructions in Text Templates.) If you opt to include returns after complete paragraphs, if there are blank lines between
paragraphs, be sure to consistently include either the preceding or following blank line.
Qualifying Instructions
When automating a template, you can cause certain things to happen in your interview based on answers a user
gives. You accomplish this by using IF instructions. When using IF instructions, however, you should never reference a
conditional variable outside the context of its full condition.
For example, the following script only asks Text Variable B if True/False Variable A has been answered true. Then, later
in the template, another dialog is asked based on whether Text Variable B has been answered.
IF True/False Variable A
Text Variable B
END IF
305
1. Insert a new variable or edit an existing variable. (See Insert a Variable Field in a Text Template or Edit a Variable.)
The Variable Field dialog box appears. Or, insert a new instruction or edit an existing instruction. The instruction
field dialog box appears.
306
307
Note that the Keep Return code (|) in the END IF instruction indicates to HotDocs to keep the return character when it
assembles the document.
Caution:
HotDocs' capacity to delete both an IF instruction and the return that follows it is very important in some situations. If
an optional paragraph includes numbering, it is difficult to condition out the entire paragraph and its numbering without
putting the IF on a separate line before the paragraph. It can be done, but the template looks odd, since the IF is inside
the numbering of the paragraph.
308
Apply Colors button to update existing templates with your custom colors.
If you're using Microsoft Word, you can also apply colors by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Apply Colors. (To access this menu button in Word 2007 and later, click the
HotDocs drop-down button.)
309
3. Click OK. HotDocs applies the labels you have selected to any instructions in the template.
Note:
SPAN fields are supported in Microsoft Word only.
To clear labels from fields or show comments once again, click the
options, and click OK.
Copyright 2010 HotDocs Ltd. All rights reserved
310
If you're using Microsoft Word, you can also label fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Label Fields.
311
3. Click the
Match Fields button. HotDocs moves your cursor to the corresponding instruction.
Note:
When editing instructions in a computation script, you can place your cursor in either the opening or closing
instruction and press Ctrl+M. This will move your cursor to the corresponding instruction.
If you're using Microsoft Word, you can also match fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Match Fields.
312
This shows the list of answers the REPEAT instruction merged into the template:
313
When you create a REPEAT instruction, you will be asked to create or select a custom dialog to control the instruction.
During the interview, users can answer the dialog over and over again, until they have entered all the answers for the list.
Or, you can limit the number of answers a user can enter for a repeated variable.
Additionally, you can repeat any text, instructions, or other parts of a template. Everything inside a REPEAT instruction is
repeated along with the variables.
You can make lists in a document appear the way you likeeither in sentence style with punctuation, or in column style.
You can also have HotDocs sort, number, and filter lists automatically.
314
1. Select the template text, including variables you want to repeat, and click the
2. Either select an existing dialog from the Dialog drop-down list, or type the name of a new dialog in the box.
3. Click the
4. Click the Style drop-down button and select the format for the repeated dialog. (See Choose a Presentation Style for
the Repeated Dialog.)
6. If you are creating a new dialog, add the variables you want repeated to the dialog. (See Gather Questions into a
Custom Dialog.)
7. Click OK at the Dialog Editor. HotDocs displays the REPEAT Field dialog box again.
8. Complete either of the following optional tasks:
Click the Format drop-down button to choose a punctuation style for a sentence-style list (for example, A, B,
and C.) (See Punctuate a Sentence-Style List.)
Click Show Advanced to select sorting and filtering options for the repeated dialog. (See Sort a List of
Answers and Filter a List of Answers.)
315
REPEAT Field button. The REPEAT Field dialog box appears with the repeated dialog already
selected.
316
Spreadsheet causes a single dialog to appear with a column for each variable and an unlimited number of rows.
Users fill in as many rows as they need. (The spreadsheet format lets users see all the answers at one time and
makes it easier to change answers. However, a dialog with several variables can make a spreadsheet too large to
view easily.)
To make a repeated dialog appear as a series
1. Edit the REPEAT instruction. (See Edit a REPEAT Instruction.) The REPEAT Field dialog box appears.
2. Click the
1. Edit the REPEAT instruction. (See Edit a REPEAT Instruction.) The REPEAT Field dialog box appears.
2. Click the
5. Optionally, select Hide buttons to keep the Edit Row, Insert Row, and Delete Row buttons from appearing just
below the spreadsheet. (Users can still access these commands either by right-clicking on the spreadsheet row, or
by choosing the commands from the Edit menu.)
Caution:
If the repeated dialog contains a multiple-selection Multiple Choice variable, the dialog must use the Repeated Series
styleit cannot use the Spreadsheet style. (See Customize a Multiple Choice Variable.)
Note:
For information on using the Spreadsheet on Parent option, see Display a Child Dialog Directly on the Parent
Dialog.
You can control the width HotDocs uses for the columns in a spreadsheet. See Specify the Width of Answer
Fields in the Interview.
317
This approach may work in some situations, but in others, it may be better to customize the title for each repetition so
the user knows what's in that particular dialog. For example, maybe you want the topmost icon in the list to use a generic
title (like List of Beneficiaries), but you want the name of the beneficiary to appear for each individual repetition in the
interview. This way, the user can easily review what's in each dialog, like this:
1. Edit the repeated dialog and select Repeated Series at the Style drop-down list. (See Edit a Custom Dialog and
Choose a Presentation Style for the Repeated Dialog.)
6. In the Script box, enter the script that tests whether the variable you want to use in the title is answered. The script
should also merge the text you want to be used in the title. An example script would be:
VALUE(Beneficiary Name, "Next Beneficiary")
Copyright 2010 HotDocs Ltd. All rights reserved
318
7. Click OK at both the Computation Editor and at the Variable Field dialog box. The variable is merged in the title
field.
319
1. At the template, edit the REPEAT instruction you want to punctuate. (See Edit a REPEAT Instruction.) The REPEAT
Field dialog box appears.
Do This
Choose a, b.
Choose a, b and c.
Choose a, b, or c.
Type your style in the Format box. Base it on the other formats in the list. For
example, you could use or or some other text instead of and, or you could use a
semicolon instead of a comma.
Note:
If you want to create a list in a column, see Make a List Appear as one or More Columns.
You can punctuate the same list differently at another place in the document. Choose a punctuation style
separately at each REPEAT instruction field.
320
1. At the template, edit the REPEAT instruction you want to sort. (See Edit a REPEAT Instruction.) The REPEAT Field
dialog box appears.
2. Click Show Advanced. The dialog box changes to show sorting and filtering options.
3. Click the Sort by drop-down button and choose the variable on which you want to sort.
4. Select Ascending or Descending.
5. Optionally, to sort on a second level, select a variable at the Then By box and choose either Ascending or
Descending.
When you close the REPEAT Field dialog box, you will see the names of the variable(s) on which you are sorting added
to the REPEAT instruction.
Note:
You can sort the same list differently at another place in the document. Edit that specific REPEAT instruction and
specify the sort order you want, following the instructions given above.
321
1. At the template, edit the REPEAT instruction. (See Edit a REPEAT Instruction.) The REPEAT Field dialog box
appears.
2. Click Show Advanced. The dialog box changes to show sorting and filtering options.
3. Click the
Edit Component button next to the Filter by drop-down list. The Computation Editor appears.
322
1. Edit the REPEAT instruction. (See Edit a REPEAT Instruction.) The REPEAT Field dialog box appears.
2. Click the
323
1. Open the repeated dialog for editing. (See Edit a Custom Dialog.) The Dialog Editor appears.
2. Click the Script tab. The window changes to show scripting options.
3. Drag LIMIT NUM from the Instruction models list into the Script box.
4. Replace the NUM placeholder with the maximum number of answers you want the user to enter.
Note:
You can let the user change the limit each time a document is assembled. To do this, replace NUM with a
Number variable. Make sure the Number variable gets answered before the REPEAT instruction is processed.
To control the number of viewable rows in a spreadsheet (but still allow users to enter as many answers as they
need), enter the number in the Rows to display box. (Make sure Spreadsheet is selected as the Style.)
324
1. Create a computation that contains the expression SUM( NUM_VAR ) if the repeated variable you are totaling is a
list of Number variables, or SUM( COMPUTATION VAR ) if you are totaling a list of Computation variables. (See
Customize a Computation Variable.)
2. Replace the NUM_VAR or COMPUTATION_VAR placeholder with the name of the repeated Number or
Computation variable, respectively.
3. Insert the Computation variable containing the SUM instruction where you want the total to appearfor example, at
the bottom of a column of numbers.
325
1. Create a table in your word processor with a single row and a column for each repeating variable. (If you want to use
a row for column headings, create a two-row table and put the headings in the first row.) (See your word processor's
documentation for information on creating tables.)
2. Insert the variables in the table, with one variable per column. (See Insert a Variable Field in a Text Template.)
3. Once your variables are created, position the cursor in the first table cellbefore the first variable.
4. Click the
5. Click the Dialog drop-down button and select the dialog you want to repeat. (To create a new dialog, click the
Edit Component button. See Gather Questions into a Custom Dialog.)
6. Select a repeat style for the dialog. (See Choose a Presentation Style for the Repeated Dialog.)
7. When you are finished, click OK at the REPEAT Field dialog box. The REPEAT instruction is inserted in the table,
like this:
326
327
1. Create a Computation variable containing the expression COUNT( DIALOG ). (See Customize a Computation
Variable.)
2. Replace the DIALOG placeholder with the name of the repeated dialog.
3. Optionally, insert this Computation variable wherever you want the number of entries to appear. (You don't have
to insert the Computation variable in the template. Often, template developers simply use the COUNT( DIALOG )
expression as a way to keep track of the number of answers without ever inserting the actual number in the
template.)
To number a list automatically
1. At the template, position your cursor before the variable in the list you want to number.
2. Insert a Number variable. (See Insert a Variable Field in a Text Template and Customize a Number Variable.)
Instead of typing a variable name, however, click the Variable drop-down button and select COUNTER.
3. Click OK.
4. Add any punctuation or spaces you want to go with the number. For example:
The children are listed, as follows:
REPEAT Childrens Names
COUNTER. Name of Child, Age of Child
END REPEAT
328
1. Insert the variable whose value you want to retrieve in the template text. (Make sure the variable is repeated
someplace earlier in the template.)
2. Once the variable is inserted, place your cursor immediately after the variable name and enterbetween brackets
the index number of the repetition you want to retrieve. This index should be before any additional field formatting
notations, for example:
The second alternate will be Alternate Board Member[2]:LIKE THIS.
Note:
To set an explicit index for a variable in a form field, first create the variable. Then select the field and open the
Field Properties dialog box. Enter the explicit index in the Variable box, immediately after the variable name
(like in the example above).
Normally, a repeated variable must be inside a REPEAT instruction, but when you a specify a particular list entry
this way, the REPEAT instruction should not be included.
The Maximum WHILE iterations limit controls the maximum-allowed explicit index. (You set this value at the
Component File Properties dialog box. See Change Component File Properties for details.)
329
1. Insert a new variable or edit an existing variable. (See Insert a Variable Field in a Text Template or Edit a Variable.)
The Variable Field dialog box appears. Or, insert a new instruction or edit an existing instruction. The instruction
field dialog box appears.
330
331
Note that the Keep Return code (|) in the END IF instruction indicates to HotDocs to keep the return character when it
assembles the document.
Caution:
HotDocs' capacity to delete both an IF instruction and the return that follows it is very important in some situations. If
an optional paragraph includes numbering, it is difficult to condition out the entire paragraph and its numbering without
putting the IF on a separate line before the paragraph. It can be done, but the template looks odd, since the IF is inside
the numbering of the paragraph.
332
Apply Colors button to update existing templates with your custom colors.
If you're using Microsoft Word, you can also apply colors by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Apply Colors. (To access this menu button in Word 2007 and later, click the
HotDocs drop-down button.)
333
3. Click OK. HotDocs applies the labels you have selected to any instructions in the template.
Note:
SPAN fields are supported in Microsoft Word only.
To clear labels from fields or show comments once again, click the
options, and click OK.
Copyright 2010 HotDocs Ltd. All rights reserved
334
If you're using Microsoft Word, you can also label fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Label Fields.
335
3. Click the
Match Fields button. HotDocs moves your cursor to the corresponding instruction.
Note:
When editing instructions in a computation script, you can place your cursor in either the opening or closing
instruction and press Ctrl+M. This will move your cursor to the corresponding instruction.
If you're using Microsoft Word, you can also match fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Match Fields.
336
337
1. Create a Computation variable that contains your REPEAT instruction. (See Create a REPEAT Instruction Using a
Computation Variable.)
2. Drag FORMAT "LIST_FORMAT" from the Instruction models list into the Script box on a line of its own, after the
REPEAT instruction but before the RESULT expression.
3. Replace the LIST_FORMAT placeholder with a punctuation format (such as "A, B, and C"). An example would be:
""
REPEAT Tour Information
FORMAT "a; b; and c"
RESULT + Name of City + ", " + Venue
END REPEAT
338
1. Create a Computation variable that contains your REPEAT instruction. (See Create a REPEAT Instruction Using a
Computation Variable.)
2. Drag ASCEND VAR or DESCEND VAR from the Instruction models list into the Script box on a line of its own,
after the REPEAT instruction but before the RESULT expression.
3. Replace the VAR placeholder with the repeated variable you want to sort on. An example would be:
""
REPEAT Tour Information
ASCEND Name of City
RESULT + Name of City + ", " + Venue + "
"
END REPEAT
Note:
When you use a script to merge a list of answers that have been gathered using a REPEAT, you must first set
the computation to a starting value. This value must be a 0 if the result will be a number, or it must be "" if the
result will be text.
To add a second sort level, insert a second ASCEND VAR or DESCEND VAR instruction below the first.
339
1. Create a Computation variable that contains your REPEAT instruction. (See Create a REPEAT Instruction Using a
Computation Variable.)
2. Once you have added the REPEAT instruction to the script, drag FILTER COMPUTATION_VAR from the
Instruction models list into the Script box. (Place this model on a line of its own, after the REPEAT instruction and
any punctuation or sorting instructions but before the RESULT expression.)
7. Drag the new variable onto the COMPUTATION_VAR placeholder and complete the REPEAT instruction. An
example of a possible script would be:
""
REPEAT Tour Information
ASCEND Tour City
FILTER New York Appearances
RESULT + Tour City + ", " + Tour State + ", " + Tour Venue + "
"
END REPEAT
Note:
The New York Appearances filter contains the script, Tour State CONTAINS "new york"
Note:
When you use a script to merge a list of answers that have been gathered using a REPEAT, you must first set the
computation to a starting value. This value must be a 0 if the result will be a number, or it must be "" if the result will be
text.
340
341
342
1. Create the variables you want repeated and insert them into the template. (See Insert a Variable Field in a Text
Template.)
2. Gather the variables you want repeated into dialogs. (Make sure you choose a repeat style for each dialog. See
Gather Questions into a Custom Dialog.)
3. At the template, select all the template text and variables you want repeated (including all repeat levels) and click the
REPEAT Field button. The REPEAT Field dialog box appears.
4. Select the dialog for the first (or top) level of the repeat from the Dialog drop-down list and click OK. HotDocs inserts
the REPEAT instruction in the template. (Even though you have selected all levels of the repeat in the template text,
this dialog should only contain the variables from the first level of the repeat.)
5. At the template, select the second level of repeated text and variables, as well as any subsequent levels of
information (do not select the END REPEAT instruction) and click the
dialog box appears again.
6. Select the dialog for the second level of the repeat from the Dialog drop-down list and click OK.
7. Repeat this process for each subsequent list.
The second part in nesting REPEAT instructions is to edit the contents of each dialog and insert each repeated
dialog (except the dialog for the first repeat level) into the preceding levels dialog.
8. Edit the dialog in the first (or top) level of the repeat. (See Edit a Custom Dialog.) The Dialog Editor appears.
9. Drag the dialog for the second repeat level from the Available Components list into the Contents box and click
OK.
10. Repeat this process until each dialog in the nested repeat (except for the first) is inserted into the preceding levels
dialog.
Note:
By default, a child dialog appears as a button on the parent dialog. You can change the style of a repeated dialog
to Spreadsheet on parent, which lets users enter the nested list of answers while viewing its parent dialog. (See
Display a Child Dialog Directly on the Parent Dialog.)
If you are nesting REPEAT instructions in a form template, the REPEAT instructions must be placed in a
Computation variable. See Nest REPEAT Instructions Using a Computation Variable for details.
343
1. Edit the inserted dialog (or the dialog you want to appear as a spreadsheet on its parent dialog). (See Edit a Custom
Dialog.) The Dialog Editor appears.
4. Click OK.
344
1. Create a Computation variable and enter the script containing the nested repeats in the Script box. (See Customize
a Computation Variable.) An example of a possible script would be:
""
REPEAT Department Information
RESULT + Department Name + " " + "Department" + "
"
REPEAT Employee Information
RESULT + " " + FORMAT( COUNTER , "9" )
+ "." + " " + Employee Name + "
"
END REPEAT
END REPEAT
2. Open each dialog for editing and insert each repeated dialog (except for the first) into the dialog preceding it. (See
Insert Dialogs Into Dialogs.)
3. Select a repeated dialog style for each repeated dialog. (See Choose a Presentation Style for the Repeated Dialog
or Display a Child Dialog Directly on the Parent Dialog.)
345
1. Determine the number path leading to the answer you want to merge.
2. At the template, position the cursor after the variable name, but inside the chevrons.
3. Type brackets ( [ ] ), and then, within the brackets, type the first number of the path, followed by a comma, then the
second number, followed by a comma, and so forth. Dont put spaces after the commas, and dont put a comma
after the last number.
As you select specific records from a nested repeat, enter all the necessary numbers in the path. HotDocs always uses
a 1 if a necessary number is missing, and it always places the 1 after the number(s) you entered. If you dont enter any
numbers, HotDocs uses [1,1,...] as the default number path.
346
Note:
When automating a form template, you must enter the number path in the Variable box at the Field Properties dialog
box. (See Retrieve a Specific Answer from a List.)
347
348
1. At the template, select (highlight) the text you want to include in the inserted template and click the
INSERT Field
349
1. At the template, position the cursor where you want to insert the section of text.
2. Click the
350
1. At the template, place the cursor in the INSERT field and click the INSERT Field button. The
box appears.
Click Edit Template to edit the text of the inserted template. (Once the template is open, make any necessary
changes. Click the
Save and Close button to save and close the inserted template.)
Caution:
You cannot place INSERT instructions in template headers or footers. Additionally, you cannot place INSERT
instructions in a table.
351
352
1. In the parent template, define the header/footer (or define no header/footer at all).
2. Place your cursor at the place in the parent template where you want the inserted template to be merged and place
a next-page section break.
3. Click the
4. Click the
Open button next to the Template to insert box and locate the template file you are inserting.
5. At the INSERT Field dialog box, click Show Advanced. The view changes to show advanced options. Select either
Keep header of inserted template or Keep footer of inserted template. (Select both if you want the document to
maintain both the header and the footer.)
6. Click OK.
7. If inserting multiple templates, repeat this process for each inserted template.
Once you define headers/footers in the inserted template, any text that appears in the main template after the INSERT
instruction will use the headers/footers that were defined in the inserted template.
At times, you may want a cover page for the document that has its own unique header/footer (for example, a notice or
disclaimer). For the document to be assembled correctly, you must use a combination of section breaks both in the main
template as well as in the inserted templates.
353
Caution:
You cannot use the Keep header and Keep footer options with ASSEMBLE instructions.
354
1. At the template, position the cursor in the template where you want the ASSEMBLE instruction.
2. Click the HotDocs drop-down menu in the HotDocs toolbar and choose Other Field from the list of options. The
Other Field dialog box appears.
Browse button next to the Template to assemble box and locate the template you want to assemble.
1. At the template, position the cursor in the template where you want the ASSEMBLE instruction.
2. Click the
Open button to select the template file you want to have assembled.
5. Click OK. HotDocs inserts the instruction for that specific template. For example: INSERT "subpoena.rtf".
6. Delete the text INSERT from the instruction and type the keyword ASSEMBLE. For example: ASSEMBLE
"subpoena.rtf".
Caution:
If the template you are inserting is a form template, HotDocs will not let you browse for the file from the INSERT Field
dialog box. Instead, at the template, you must manually enter the file path and name of the form template file.
To insert an ASSEMBLE instruction in a form template
1. At the template, create a field and attach a Computation variable to it. (See Create a Form Field and Attach a
Variable to a Field.)
2. At the Computation Editor, enter the ASSEMBLE instruction, including the path and file name (if necessary) of the
template you want to assemble. For example: ASSEMBLE "subpoena.hft".
Note:
You can add command-line options to an ASSEMBLE instruction (for example, ASSEMBLE "subpoena.rtf /pr").
If the command-line option includes a file path and name, enclose the path and name in double quotation marks (for
example, ASSEMBLE "subpoena.rtf /sa /af=""L Chang"""). (Four command-line options were designed
specifically for use with ASSEMBLE instructions. They are: Suggest Save, Suggest Save New, Save Answers, and
Save Answers Prompt. They control the saving of answers after each ASSEMBLE instruction is processed.)
355
Caution:
If your template uses a custom interview, you must place ASSEMBLE instructions in both the body of the template and
in the interview script. For more information, see ASSEMBLE "FILENAME".
356
1. In the template, position the cursor where you want to insert the image file.
2. Click the
Open button next to the Image file to insert box and select the graphic file.
1. In the template, click on the image you want to include in an RTF document. Field borders appear around the
graphic.
2. Click the
357
4. Enter a name for the RTF document in the Image file to create box. (To specify a folder location different from the
template, click the
5. Click OK. HotDocs removes the image from the template, copies it to an RTF document, and inserts the INSERT
Image instruction.
Note:
If you do not know which graphic should be inserted during template development, you can use a variable INSERT
instruction so that the file path and name can be inserted during document assembly. For details, see Specify File
Names for Inserting Files During Assembly.
358
1. At the template, position the cursor where you want to insert the template or graphic.
2. Click the
3. Select INSERT Template or INSERT image, depending on which type of file you want to include in the assembled
document.
7. Click the Variable drop-down button and choose the variable you want to use. (To create a new variable or edit the
existing variable, click the
359
360
1. At the template, select the text you want the user to be able to edit.
Caution:
When selecting template text, do not include IF instructions or REPEAT instructions between the SPAN
instructions, as these instructions will no longer be processed correctly once the user edits the document text.
2. Click the
Edit Component button and enter a title in the Title box. The title will be used to identify the
editable text in the Document Text Editor.
Note:
When naming Span components, use unique component names. If two different (but related) templates use the
same Span component name, when users edit the document text in the first document, save the answer file,
and then use that answer file to assemble the second document, those changes from the first document may
overwrite text in the second.
To let users enter a new paragraph of text in the document, see Allow Users to Enter New Text in the Assembled
Document.
You cannot insert SPAN instructions in template headers and footers.
When working with SPAN instructions, you can use buttons on the HotDocs Navigation toolbar to label
instructions and match starting and ending instructions. (See Use Labels to Identify Instructions and Match
Opening Instructions with Closing Instructions.) You can also assign color to SPAN instructions. (See Assign
Colors to Fields and Instructions in Templates.)
You can also insert SPAN instructions either by clicking on the HotDocs drop-down menu in the HotDocs toolbar
and choosing SPAN Field, or by right-clicking in the template and choosing SPAN Field from the shortcut menu.
361
1. At the template, place your cursor where you want the user to enter text.
2. Click the
Edit Component button and enter a title in the Title box. The title will be used to identify the editable
text in the Document Text Editor.
5. Optionally, click the Notes tab to enter notes about the span component, such as an explanation about why the span
field was created or how it should function in the interview. (See Add Notes to Components for details.)
Note:
When naming Span components, use unique component names. If two different (but related) templates use the
same Span component name, when users edit the document text in the first document, save the answer file,
and then use that answer file to assemble the second document, those changes from the first document may
overwrite text in the second.
To allow users to edit existing paragraph text, see Allow Users to Edit the Text of an Assembled Document.
You cannot insert SPAN instructions in template headers and footers.
When working with SPAN instructions, you can use buttons on the HotDocs Navigation toolbar to label
instructions and match starting and ending instructions. (See Use Labels to Identify Instructions and Match
Opening Instructions with Closing Instructions.) You can also assign color for SPAN instructions. (See Assign
Colors to Fields and Instructions in Templates.)
You can also insert SPAN instructions either by clicking on the HotDocs drop-down menu in the HotDocs toolbar
and choosing SPAN Field, or by right-clicking in the template and choosing SPAN Field from the shortcut menu.
362
1. Insert a new variable or edit an existing variable. (See Insert a Variable Field in a Text Template or Edit a Variable.)
The Variable Field dialog box appears. Or, insert a new instruction or edit an existing instruction. The instruction
field dialog box appears.
363
364
Note that the Keep Return code (|) in the END IF instruction indicates to HotDocs to keep the return character when it
assembles the document.
Caution:
HotDocs' capacity to delete both an IF instruction and the return that follows it is very important in some situations. If
an optional paragraph includes numbering, it is difficult to condition out the entire paragraph and its numbering without
putting the IF on a separate line before the paragraph. It can be done, but the template looks odd, since the IF is inside
the numbering of the paragraph.
365
3. Click OK. HotDocs applies the labels you have selected to any instructions in the template.
Note:
SPAN fields are supported in Microsoft Word only.
To clear labels from fields or show comments once again, click the
options, and click OK.
Copyright 2010 HotDocs Ltd. All rights reserved
366
If you're using Microsoft Word, you can also label fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Label Fields.
367
3. Click the
Match Fields button. HotDocs moves your cursor to the corresponding instruction.
Note:
When editing instructions in a computation script, you can place your cursor in either the opening or closing
instruction and press Ctrl+M. This will move your cursor to the corresponding instruction.
If you're using Microsoft Word, you can also match fields by clicking on the HotDocs drop-down menu in the
HotDocs toolbar and choosing Match Fields.
368
Clauses
When you insert a clause into a template, you are actually working with three different parts of the clausethe clause
field, the clause component, and the clause text:
Clause field: This is the merge field that inserts the clause text into the assembled document. You can control
whether the clause is inserted automatically, or whether the clause is inserted based on certain conditions being
met. (When you create a clause at the clause library, there is no clause field associated with the clause.)
Clause component: This is the clause itself. It includes component properties, such as a prompt and resource
information.
Clause text: This is the text you want inserted into the assembled document. The clause text can also contain
HotDocs components, such as variables, dialogs, and instructions, which will all be processed during assembly.
Clause Libraries
Like a template library, a clause library is a collection of clauses. Grouping clauses in a library allows users to select,
organize, and insert any number of clauses into the document. HotDocs then proceeds to prompt users for any variables
contained in the clauses.
You can create clauses and clause libraries at two places: a HotDocs library and a template. Each location causes the
clause library to function a little differently:
A clause library assembled from a HotDocs library allows users to select clauses to insert into any text document.
They can select the clause library first at the template library and assemble a document using clauses from it, or
they can assemble a document and then after assembly, add clauses from the library to the document.
A clause library assembled in a template allows users to select which clauses they want to insert at that specific
point in the assembled document.
Note:
For additional information on the underlying functionality of clauses, see Understand How Clauses Work.
369
370
371
1. At the template library, select the folder in which you want the clause library to appear.
2. Click
3. Click the Type drop-down button and select a clause library option for the word processor you are using. Your
options include Word RTF Clause Library, Word DOT Clause Library, and WordPerfect Clause Library.
4. Type a name for the clause library in the File name box.
5. Type a title for the clause library in the Title box (or accept the suggestion HotDocs makes).
6. Optionally, type a description in the Description box. The description appears when the user views the clause
library's properties at the HotDocs template library.
372
1. At the template, or at the template library, open the clause library for editing. (See Open and Close a Clause
Library.)
2. With the clause library displayed, select the folder in which you want to create a new folder.
3. Click
4. Click the Type drop-down button and select Folder. The dialog box changes to show folder properties.
5. Type a name for the folder in the Title box.
6. Optionally, type a description for the folder in the Description box. The description appears in the Properties tab of
the clause library window when the folder is selected.
Once you have created folders, you can arrange the folders (as well as the contents of the folders) by selecting the library
item and dragging it to a new location in the list. You can also arrange the contents of each folder by clicking
(See Customize a Clause Library.)
Sort.
373
1. Open for editing the clause library which will contain your clause components. (See Open and Close a Clause
Library.)
2. Click
3. Type a name for the clause in the Clause name box. (50-character limit.)
4. Optionally, enter a title for the clause in the Title box. The title will be used as the default title for the item once it is
added to the clause library.
5. Optionally, click the Resource tab to provide users with helpful information that can assist them in providing the
correct answer. (See Add Resource Information to a Variable or Dialog.)
6. Optionally, click the Notes tab to enter notes about the clause, such as an explanation about why the clause was
created or how it should function in the interview. (See Add Notes to Components for details.)
Save and Close Template button at the HotDocs toolbar. The clause is added
10. Repeat this process for all the clauses you need to create.
Caution:
In Word, the word processor may insert an extra hard return at the end of a new clause. To fix this, select the clause
at the clause library and click
Edit. The Clause Editor appears, where you can click Edit Clause Text. When
your text appears, delete the extra hard return. (Click the Show / Hide button in the Word toolbar to view paragraph
marks.)
Note:
As you create clauses, if you paste template text that already contains variables or other HotDocs components, you
must copy those components into the clause library's component file in order for the clauses to assemble correctly.
The easiest way to do this is to click the
Component Manager button in the clause library toolbar and copy those
components in. (See Copy Components From One File to Another.)
374
1. Open the clause library for editing. (See Open and Close a Clause Library.) The Clause Library dialog box appears.
2. Click
3. Click the Select clause drop-down button and select the clause you want to add.
4. Enter a new title for the clause in the Title box, or accept the suggestion HotDocs makes. (If you entered one,
HotDocs uses the title you suggested when you created the clause component. If you later decide you want to
change the title, select the clause in the clause library and click
Properties dialog box.)
5. Optionally, enter a description in the Description box. The description, along with the title, appears in the
Properties pane of the clause library window.
6. Click OK. The clause is added to the clause list in the library.
375
1. Open a clause library for editing. (See Open and Close a Clause Library.)
2. Perform any of the following tasks:
To
Do This
Select a clause and drag it to a different position. As you are dragging, HotDocs
displays a horizontal bar, indicating where the clause will be placed when you release
the mouse button.
Resize the clause library window to the desired height and click the
Arrange
button. The clause library window appears below the window from which it was
openedeither the word processor or the template library.
Click
New. HotDocs opens the Clause Editor where you can assign properties to
a clause component. Once you assign a name and click OK, a text template opens
where you can enter your clause text. (See Create Clauses at the Clause Library.)
Click
Add. HotDocs opens the Add Clause dialog box where you can select an
existing clause and add it. (See Add Existing Clauses to a Clause Library.)
Click
Add. When the Add Clause dialog box appears, select Folder from the
Type drop-down list. (See Add a Folder to a Clause Library.)
Remove a clause or a
folder from the clause
library
Select the folder whose contents you want to arrange and click the
Sort button.
HotDocs displays the Folder Sort Options dialog box where you can choose either
Ascending or Descending order.
Click the
Print button. HotDocs prints a list of all the clauses with their associated
clause identifiers.
Click the
Component Manager button. (See Use Component Manager to Work
with Components.)
Remove Item.
376
To
Do This
Select Find and then type the text for which you are searching. HotDocs searches
the clause names as well as clause descriptions. When it finds the text string, it lists
only those clauses in the clause list until you clear Find.
Any time you make changes at the clause library file, those changes are automatically saved.
Note:
To access the clause library toolbar using the keyboard, press F10.
377
1. At the template containing your clause text, select the text you want to make into a clause and click the
Clause
Library button. The Clause Editor appears, as well as the Clause Library.
4. Optionally, click the Resource tab to provide users with information that can assist them in providing the correct
answer. (See Add Resource Information to a Variable or Dialog.)
5. Optionally, click the Notes tab to enter notes about the clause, such as an explanation about why the clause was
created or how it should function in the interview. (See Add Notes to Components for details.)
6. Click OK. The clause is added to the clause list in the library.
Caution:
In Word, the word processor may insert an extra hard return at the end of a new clause. To fix this, select the clause
at the clause library and click
Edit. The Clause Editor appears, where you can click Edit Clause Text. When
your text appears, delete the extra hard return. (Click the Show / Hide button in the Word toolbar to view paragraph
marks.)
378
1. Edit the template that contains the text you want to convert to clauses. (See Edit a Template.)
2. At the template, select the text for the first clause and click the
box appears.
8. Click OK when you are finished. The instruction is inserted into the template.
Caution:
In Word, the word processor may insert an extra hard return at the end of a new clause. To fix this, select the clause
at the clause library and click
Edit. The Clause Editor appears, where you can click Edit Clause Text. When
your text appears, delete the extra hard return. (Click the Show / Hide button in the Word toolbar to view paragraph
marks.)
Note:
To insert an existing clause in the template, position your cursor where you want the clause inserted and click the
INSERT Field button. Then select the clause by clicking the Clause to insert drop-down button. (The dropdown button is not available if you have selected text.)
You can add the clauses you have created to a clause library, which can be used to assemble any other
document. See Add Existing Clauses to a Clause Library for details.
Clauses not only have a text value, but they have a true/false value as well. That means if you insert a clause in a
template by using an INSERT IF instruction, the clause will automatically appear to the user as a yes/no question
during assembly. If the user answers Yes, the clause will be included in the document; if the user answers No,
the clause will not be included. You can also group clauses in a single selection or multiple selection group. See
Group Clause Components in One Custom Dialog for details.
379
1. At the template, place the cursor where you want the library to be inserted. (If you've divided the whole document
into clauses in the library, the template may show no text at all.)
2. Click the
Open button next to the Clause library to insert box to browse for and select the file. Click OK when
you are finished.
Note:
To insert a clause library that is located in a folder separate from its host template, you must include the folder path,
or at least some portion of it. For example, a clause library can be inserted from a subfolder of the host template
(INSERT "Subfolder\ClauseLib.hdl"); or it can be inserted using a full file path (INSERT "C:\My Documents
\ClauseLib.hdl"); or it can be inserted using a reference path (INSERT "^referencePath\ClauseLib.hdl").
380
Edit.
In Component Manager, select the clause in the Components list and click
Edit Component.
In the template, place your cursor in the INSERT Clause instruction and click the
2. Make any changes to the clause component by editing the Properties or the Resources.
3. Optionally, to edit the clause text, click Edit Clause Text at the Clause Editor. (Click
381
1. At the template, create the clauses you want the user to choose from, making sure you select INSERT clause only
IF selected at each clause's INSERT Field dialog box. (See Create and Insert Clauses Directly in Template.)
2. Create a dialog for the clauses. (See Gather Questions into a Custom Dialog.)
3. Once you have added the clauses to the Contents box at the Dialog Editor, click the Options tab. The window
changes to show several custom options.
4. Click the Selection grouping drop-down button and select either Select One or Select All That Apply, depending
on how many clauses you want your users to select.
Note:
Be careful not to create a custom dialog that contains variables from two or more different clauses. If the user selects
one clause and not the other, HotDocs might present a dialog that asks for unnecessary information. If youre going to
create custom dialogs, limit each dialog to include only those variables used in a single clause.
382
383
Component File Properties button. The Component File Properties dialog box appears.
3. Click the Interview tab. The window changes to show interview options.
4. Select Generate default interview.
Now, whenever this template is assembled, the questions in the interview will be asked based on the order they are asked
in the template.
If you want to control the appearance of just one or two dialogs in the interview, you can insert ASK instructions at the
place in the template where you want your questions asked. See Control When Your Dialogs Appear for details. If you
want to use a custom interview script, see Define a Custom Interview.
384
1. At the template (which should be completely automated), open Component Manager. (See Open and Close
Component Manager.)
2. Select Computation Variables from the Components drop-down list and click the
3. Enter a name in the Variable name box. (The component can use any name, including INTERVIEW.)
4. Using a series of instructions, specify how you want variables in the template to be asked, based on the logic you
use in the template. For example, you can create a series of ASK instructions that ask the dialogs, as well as use IF
instructions to make variables in the template conditional upon users' answers.
385
Note:
If you are pointing several templates to a shared component file, but you want each template to use its own
custom interview, at the Interview tab, clear Use Interview properties stored in the shared component
file, select Use custom interview, and then specify the name of the interview computation in the Interview
component box.
In a text template, if you select both Generate default interview and Use custom interview, HotDocs will
always use the custom interview. Any variables not asked in the custom interview will be left out of the interview
altogether. In a form template when both options are selected, HotDocs will present the custom interview first and
then include any variables not asked in the custom interview at the end of the interview outline.
386
387
1. Open Component Manager for the template. (See Open and Close Component Manager.)
2. Click the
Component File Properties button. The Component File Properties dialog box appears.
3. Click the Interview tab. The view changes to show interview options.
4. Select Automatically disable irrelevant variables and dialogs.
5. Click the Default drop-down button and choose one of the options from the list:
Copyright 2010 HotDocs Ltd. All rights reserved
388
Gray causes all variables with their irrelevant status set to Default to be grayed.
Hide causes all variables with their irrelevant status set to Default to be hidden.
Show causes all variables with their irrelevant status set to Default to always be asked, even if the variable is
irrelevant.
Note:
Model documents assembled from markup are set to automatically disable unused variables. For information on
marking up model documents, see Overview: Create a Model Document.
Caution:
Even when variables are automatically disabled, they will always be visible in pop-up dialogs users view when they
click a form field wizard button.
389
Chapter 29: Using Dot Codes to Format Text and Insert Special Characters
Overview: Dot Codes
Working with Plain Text
When working with plain texteither in variable prompts, dialog element text, plain-text resources, or in answers
generated by computation scriptsyou frequently want to assign font properties to the text, such as bolding, italicizing,
and underlining. Additionally, you may want to punctuate and capitalize characters in plain text as well as insert special
characters, such as hyphens and other punctuation marks.
To do this, you insert dot code fields in the your prompts, text, or scripts. During assembly, these dot codes will be
processed and will apply whatever formatting you specify to the text with which you are working.
Note:
Unfortunately, dot codes that format answer text in a form document cannot be processed. This is because the text
is in plain-text format and cannot support formatting, like bold and italics. To explain, think of when you've worked
on a plain-text document in Notepad. You can insert characters like line breaks, section symbols, and punctuation in
a Notepad document, but you cannot make character-level formatting changes. HotDocs uses this same plain text
in form document answers. Dot codes that insert characters (such as line breaks, section symbols, and so forth),
however, are processed without any problems in forms.
What It Does
Punctuation and
Capitalization Dot Codes
.
.a/.ae
.c
.l/.le
.s/.se
Capitalizes each letter in the enclosed text and displays the text at a smaller font size
390
.h/.he
.i/.ie
.u/.ue
.x/.xe
.z/.ze
Increases or decreases the font size for a word or group of words by a specified
percentage.The dot code, .z +Size, is a percent increase in the current size. The dot
code, .z -Size is a percent decrease in the current size. (When you select this option,
HotDocs displays a dialog box asking you to specify these properties.)
Inserts a or an, depending on whether the word that follows begins with a consonant or a
vowel.
.la/.ra
.lq/.rq
.ps
.ss
.tc
.lb
.pm
.pb
.ns
.nh
.oh
Non-Repeated List
Punctuation Dot Codes
.p "style"/.p/.pe
Identifies the beginning of a punctuated list and assigns the punctuation format to it. The
second dot code then identifies where the punctuation character should be inserted.
Finally, the closing dot code identifies where the punctuated list ends.
Inserts a Web link. Enter the link text between the two dot codes.
391
1. Either edit a Computation variable (See Customize a Computation Variable), or edit a prompt or dialog element text
(see Create a Prompt for a Variable and Add Text to Your Dialogs).
2. Highlight the text you want to format and right-click. A shortcut menu appears.
3. Choose Character Format > Format (where Format represents one of the dot codes described in the following
table). (WordPerfect users: To insert the dot codes, manually type the codes as you see them in the table below.)
Dot Code
What It Does
.b (Bold)
Increases or decreases the font size for a word or group of words by a specified
percentage. The dot code, .z +Size, is a percent increase in the current size. The
dot code, .z -Size is a percent decrease in the current size. (When you select this
option, HotDocs displays a dialog box asking you to specify these properties.)
392
Dot Code
Caution:
The font size options
are not supported in
WordPerfect templates.
What It Does
The following is an example of a computation script that uses dot codes. The account status is bolded:
IF DAYS FROM( Purchase Date, TODAY ) > 60
"Your account is .bpast due.be."
ELSE
"Your account is .bcurrent.be. Thank you."
END IF
Likewise, this is an example of a variable's plain-text resource that uses dot codes. Here, the name of a required form is
italicized:
To get free service of the court's orders without paying a fee, you must fill out and
file the .iRequest and Order for Free Service of Restraining Order.ie.
Note:
When you type double angle brackets (<< >>), HotDocs converts them to chevrons ( ). You can manually enter the
dot code by typing the brackets with the format code between them.
393
1. Edit a prompt or dialog text element. (see Create a Prompt for a Variable and Add Text to Your Dialogs.)
2. Place your cursor where you want the link to appear and right-click. A shortcut menu appears.
3. Choose Web Link. The Web Link dialog box appears.
4. In the URL box, enter the complete Web address for the page you want the hyperlink to open. (Make sure the URL
is entered correctly. Include http:// or https:// or ftp://, depending on what type of URL it is.)
5. Enter the text you want the user to see for the link in the Link text box.
Note:
Before creating the Web link, you can select existing text in the prompt or dialog element text and that text will be
used as the Link text.
If you don't know the exact URL for the Web page, click the
for the Web page.
You can include a link that opens an e-mail message rather than a Web address. To do this, enter
mailto:, followed by the email address you want included, in the URL box. (For example, enter
mailto:[email protected].)
394
1. Either edit a Computation variable (See Customize a Computation Variable), or insert your cursor in the template
text where you want to insert the dot code.
2. To insert a punctuation mark, right-click to display the shortcut menu and choose Sentence Punctuation >
Punctuation Mark (where Punctuation Mark represents one of the dot codes described in the following table.
(WordPerfect users: To insert the dot codes, manually type the codes as you see them in the table below.)
Dot Code
What It Does
3. To change the capitalization of text, right-click to display the shortcut menu and choose Character Format >
Capitalization (where Capitalization represents one of the dot codes described in the following table:
Dot Code
What It Does
.a (All Caps)
Capitalizes the first letter of the word immediately following the code.
.l (Leading Caps)
Capitalizes each letter in the selected text and displays the text at a smaller font size.
395
1. Either edit a Computation variable (See Customize a Computation Variable) or edit a prompt or dialog text element.
(see Create a Prompt for a Variable and Add Text to Your Dialogs.)
2. Place your cursor where you want the character and right-click. A shortcut menu appears.
3. Choose Character Insertion > Character (where Character represents one of the dot codes described in the
following table). (WordPerfect users: To insert the dot codes, manually type the codes as you see them in the table
below.)
Dot Code
What It Does
.an (An)
Inserts a or an, depending on whether the word that follows begins with a consonant
or a vowel. For example,
Employee Name, .anJob Title
becomes
Jack Carey, a paralegal
or
Bonnie Millet, an attorney
.ns (Non-breaking
Space)
.nh (Non-breaking
Hyphen)
396
Note:
When you type double angle brackets (<< >>), HotDocs converts them to chevrons ( ). You can manually enter the
dot code by typing the brackets with the format code between them.
397
What It Does
.p "style" (Punctuation
Format)
Identifies the beginning of a punctuated list and assigns the punctuation format.
.p (Punctuation)
The following is an example of how punctuation dot codes are used in the text of a template. The first dot code (.p "a, b,
and c") indicates the start of the list (and specifies the punctuation and conjunction that should be used). Each item that
is added to the list is marked by a punctuation code (.p) which indicates where the punctuation mark should be merged.
The end punctuation mark (.pe) indicates the end of the list:
.p "a, b, and c"The client's family consists of Client Name.pIF Client is
Marriedspouse Spouse Name.pEND IFIF Client Has Childrenchildren REPEAT
Children:a, b, and cChild NameEND REPEAT.pEND IF.pe.
In this example, there are really two listsfirst, the list of family members (client, spouse, and children) and then
second, the list of individual children. While dot codes are used to punctuate this first list, the repeat format for the
REPEAT instruction punctuates the list of children. However, you can use dot codes to punctuate the items in a REPEAT
instruction, as well. The following script demonstrates how to nest these dot codes:
.p "a, b, and c"The client's family consists of Client Name.pIF Client is
Marriedspouse Spouse Name.pEND IFIF Client Has Children.p "a, b, and
c"children REPEAT ChildrenChild Name.pEND REPEAT.pe.pEND IF.pe.
398
Description
The two items in the comparison are of equal value. For example:
Birth Date = 17 Dec 1989
Employee Name = "Louisa Gehrig"
!=
The two items in the comparison are not of equal value. For example:
IF Exhibit A != TRUE
IF Plaintiff Gender != "Male"
<
The first item in the comparison has a lesser value than the second item. For example:
Account Balance < 9000
COUNTER < 10
>
The first item in the comparison has a greater value than the second item. For example:
Dependent Age > 18
<=
The first item in the comparison is less than or equal to the second item. For example:
Client Age <= 65
COUNTER <= 2
>=
The first item in the comparison is greater than or equal to the second item. For example:
Taxed Income >= 75000
CONTAINS
The value of the first item is found in the value of the second item. For example:
"massachusetts virginia kentucky pennsylvania" CONTAINS State
Name
Arithmetic Operator
Description
Subtract the different components of the script from each other. For example:
Monthly Income - Amount of Owed Child Support
399
The unary minus operator results in the numeric negation of the operand (which must be
a Number value). For example:
SET Loss Amount TO - Aggregate Amount
The unary percent operator results in the operand (which must be a Number value)
divided by 100. It is a postfix operator. For example:
Purchase Price + (Purchase Price * 6.25%)
Logical Operator
Description
AND
The statement to the left and the statement to the right must both be true. For example:
IF Client is Married AND Client has Children
OR
The statement to the left or the statement to the right must be true. For example:
IF Single OR Widowed
NOT
The NOT operator results in the logical negation of the operand (which must be a True/
False value). For example:
IF NOT Client is Married
Note:
HotDocs also supports two other unary operatorsunary plus (+) and the dollar sign ($). While both produce
numeric results in a script, the results are exactly the same as the operands. Therefore, they should not be used
in a script.
The Add ( + ) operator can also be used to string together (concatenate) two text values.
The final operator, the parentheses ( ), instructs HotDocs to perform the operation inside the parentheses first.
HotDocs operators are processed in the following order of precedence, from highest to lowest. Operators listed on the
same line have the same precedence.
()
NOT - %
* /
+ = != < > <= >=
AND
OR
So in other words, when HotDocs is evaluating an expression, first parenthesis are used to determine order of operations,
then unary operators, then multiplication and division, then plus and minus, then comparisons, then logical AND, and last
logical OR.
400
A line break
Press Enter or Shift+Enter. When you do this, HotDocs creates a new line of text in the
same paragraph.
Note:
When you use a line break to span a literal text string across two lines in the script
editor, the color coding assigned to the text string changes to the default color. This
doesn't affect how the computation will be processed, but it may make it more difficult
to visually recognize the different portions of your script. To fix the color coding, click
the
Insert a Line Break dot code (.lb) at the place you want HotDocs to start a new line.
(See Insert Characters in Text Strings.)
A paragraph end
Press Ctrl+Enter. When you do this, HotDocs inserts a paragraph mark ( ) and starts a
new paragraph of text.
Insert a Paragraph Mark dot code (.pm) at the place you want HotDocs to start a new
paragraph. (See Insert Characters in Text Strings.)
A tab character
Press Ctrl+T.
If you want the Tab key to insert a tab character (instead of you pressing Ctrl+T), click
the
Options button and select Tab key inserts a tab in scripts. Now, whenever you
press Tab or Shift+Tab, HotDocs will insert a tab in the script instead of taking you to
another field in the dialog box.
Insert a Tab Character dot code (.tc) at the place you want the text to be tabbed. (See
Insert Characters in Text Strings.)
When creating multi-line Text variables, you can force HotDocs to merge a paragraph mark (rather than a line break)
when the user presses Enter. For details, see Customize a Text Variable.
401
Do This
Have HotDocs
automatically complete
keywords, component
names, and Multiple
Choice options as you type
Place your cursor in the Script box and press Ctrl+Spacebar. HotDocs displays
a list of instruction and expression keywords, constant values (such as month
abbreviations), and components. Type a portion of the keyword, component name, or
Multiple Choice option for which you are searching. As you type, HotDocs filters the
list to show only those keywords that contain the text you have typed. Once selected,
press Enter to merge it into your script.
To keep seldom-used keywords out of the auto-complete list, click the
Options
button and clear Include seldom-used keywords in auto-complete list.
Click the
Click the
Click the
Select the portion of the script you want to cut or copy, and then click the
button or the
script in a new location, insert your cursor at that location and click the
button.
Find a specific string of
text in the script
Click the
Cut
Paste
Find button and enter your search text in the Find what box. To find the
Note:
To find only those instances of text that are complete words, select Find whole
words only. To find only those instances that have the same capitalization as the
text for which you are searching, select Match case.
Find a specific string
of text in the script and
Click the
Find and Replace button. Enter the search text for which you are
searching in the Find what box, and then enter the replacement text in the Replace
402
To
Do This
with box. Once you have entered the required text, click Replace, Replace All, or
Find Next.
To find and replace script text in a specific block of script, select the block of script
first and then click the
Find and Replace button. At the Find and Replace dialog
box, select Replace only in selected text.
Click the
Go To button. This displays the Go To dialog box, where you can enter
the line number or character position of where you want your cursor to move.
Select the portion of the script you want to indent or outdent and click the
button or the
indent.)
Indent
Cause HotDocs to ignore a Highlight the block of the script you want to comment and click the
Comment
section of the script when
Block button. This puts two forward slashes in front of each line of the script, which
it processes it, or insert a
instructs HotDocs to ignore this section. To uncomment it, highlight the text and click
comment in the script
the
Uncomment Block button.
Match an IF or REPEAT
instruction with its END
IF or END REPEAT
instruction (or vice versa)
Place your cursor inside the instruction, right-click, and select Match IF/REPEAT
from the shortcut menu. (You can also press Ctrl+M.)
Highlight an entire IF
or REPEAT instruction
block (meaning everything
between a beginning
and ending IF/REPEAT
instruction)
Place your cursor inside the instruction, right-click, and select Select IF/REPEAT
from the shortcut menu. (You can also press Ctrl+Shift+M.)
Click the
Click the
Options.)
See Use Line Breaks, Paragraph Ends, and Tabs in Computation Scripts.
Assign formatting
characteristics to literal
text strings in a script
Insert the corresponding dot code. See one of the following topics for details:
Options button and make your changes. (See Change Script Editing
Note:
To access the script editor toolbar using the keyboard, press F10.
To access help for each instruction or expression, first select the model in one of the lists and then press Ctrl+F1.
Copyright 2010 HotDocs Ltd. All rights reserved
403
For an explanation of the HotDocs scripting language, see Understand the HotDocs Scripting Language. For
details on creating a Computation variable, see Customize a Computation Variable. For a list of instruction and
expression models, see Overview: Instruction and Expression Models.
404
Do This
Click the
Expand All button. The outline expands to show all levels of instructions.
Click the
Refresh Outline button. The outline updates and displays any changes
you've made to the template text.
Click the
Synch Template button. Now, when you click in the template, entries in
the outline are highlighted to show where in the outline your cursor position is.
Click the
Show Variables button. The outline expands to include all variables
merged in the template.
Viewing variables allows you to see relationships between variables and any
surrounding instructions.
Click the
Apply Colors button. The Apply Colors dialog box appears, where you
can choose the color scheme you want to use in the outline:
Choose None to make all variable and instruction entries black.
Choose Regular to mark all variable and instruction entries using a custom
color specific to that field type. For example, all variables will be marked with
one color, all IF instructions will be marked with a different color, all REPEAT
instructions will use a different color, and so forth.
Choose Nested to mark all instructions using a custom color. Where pairs of
REPEAT, IF, or SPAN instructions are nested, each level of nesting will be
marked with its own color.
Choose Sequential to mark all instructions using a custom color. Each pair
of REPEAT, IF, and SPAN instructions in the template will be marked by a
different color.
405
To
Do This
Click the
Copy to Clipboard button. The entire outline is copied. Open another
application and then paste the script using that application's Paste command.
View all conditions or other Select Limit to and then click the drop-down button to select the variable you want
instructions surrounding
to view. The outline changes to show any REPEAT or IF instructions that affect that
the inclusion of a specific
particular variable.
variable in the outline
View the conditions
or other instructions
surrounding the cursor
position in the template
Select Limit to and then choose <cursor position> from the drop-down list. Click in
the template where you want to view these instructions or conditions.
Right-click on the instruction or variable in the outline and choose Edit or Test.
Right-click on the instruction in the outline and choose Find Matching END. In the
template, the instruction is highlighted.
406
Description
ADD TEXT TO
MULT_CHOICE_VAR;
CLEAR
MULT_CHOICE_VAR
These instructions allow you to modify options of a Multiple Choice variable. The CLEAR
instruction removes all the current options, and the ADD instruction adds options to the
variable.
The ASCEND instruction sorts lists of answers (gathered using a REPEAT instruction) in
alphanumeric order, from 1 to 9, and from A to Z. The DESCEND instruction sorts lists of
answers from 9 to 1, and from Z to A.
ASK DIALOG
The ASK DIALOG instruction allows you to control the order in which dialogs appear in
an interview. (See Control When Your Dialogs Appear.)
ASK VAR
Sometimes a variable needs to be asked by itself. You can use the ASK VAR instruction
so that during the interview, HotDocs displays the variable in its own default dialog.
ASSEMBLE "FILENAME"
You can use the ASSEMBLE instruction to add templates to the assembly queue. Unlike
the INSERT instruction, an ASSEMBLE instruction waits until the current document is
assembled before starting the next assembly session.
CONCEAL VAR
This instruction, which you use in a dialog script, keeps variables from appearing in the
Select From Answer Source dialog box of an answer source.
DEBUG
This instruction steps through the template or script field by field or line by line. It helps
you determine why the template you are automating (or the script you are writing) is
producing results you don't expect.
The ERASE instructions let you clear answers in a dialog. Specifically, ERASE VAR
clears answers for a specified variable in a dialog, while ERASE DIALOG clears all
answers in the dialog. This may be useful when you are using a temporary dialog to store
lists of answers from two or more dialogs.
FILTER
COMPUTATION_VAR
The FILTER instruction filters out certain entries from a repeated list, based on conditions
you specify.
FORMAT "LIST_FORMAT"
These instructions, which are used in a dialog script, control whether components in a
dialog appear grayed or ungrayed, depending on answers a user enters. GRAY ALL dims
all components in the dialog, while UNGRAY ALL makes all of the components active
again. Likewise, GRAY VAR dims a single component, and UNGRAY VAR enables the
component again.
These instructions, which are used in a dialog script, control whether the user is able to
see variables in a dialog. The HIDE ALL instruction hides all variables in the dialog, while
407
SHOW ALL reveals the variables again. Likewise, HIDE VAR hides a single variable, and
SHOW VAR reveals the variable.
IF EXPRESSION; ELSE IF;
ELSE; END IF
INCREMENT NUM_VAR;
DECREMENT NUM_VAR
INSERT "FILENAME"
This instruction inserts a clause, a clause library, or a template into the document
currently being assembled. When HotDocs encounters an INSERT instruction, it
immediately processes the instruction and inserts the template, clause, or clause library
into the current document. If there are variables to be answered, HotDocs presents them
before finishing the interview of the main document.
LANGUAGE CODE
This instruction tells HotDocs to format numbers and dates in a particular language.
LIMIT NUM
The LIMIT instruction limits the number of times a dialog can be repeated. It is placed in
the script of the dialog that must be limited to a specific number of repetitions.
OMIT VAR
The OMIT VAR instruction, which you use in a dialog script, keeps variables from
appearing in the Edit Answer Source dialog box of an answer source.
PLAY "MACRO"
The PLAY "MACRO" instruction plays a word processor macro after the document is
assembled and either sent to the word processor, printed, or saved.
QUIT
The QUIT instruction allows you to close the variable without losing the work you have
done. Normally, HotDocs will not save an invalid computation. The only way to exit an
invalid computation is to click Cancel, which erases the script. The instruction is usually
placed at the beginning of an unfinished or invalid computation.
A REPEAT instruction gathers lists of answers and merges them into a document.
The REQUIRE instruction requires users to answer questions in a dialog before they can
advance to the next dialog in the interview.
This instruction lets you specify a given value for a variables answer automatically, rather
than allow the user to specify an answer. With the SET instruction, you can transfer
names and other values from one variable to another.
WHILE EXPRESSION;
END WHILE
The WHILE EXPRESSION instruction allows you to repeatedly process (or loop through)
an answer or set of answers until a certain condition is met, such as a certain answer is
found or a limit is reached.
408
Replace With
TEXT
MULT_CHOICE
These instructions allow you to modify options of a Multiple Choice variable. The CLEAR instruction removes all the
current options, and the ADD instruction adds options to the variable.
Using these two models, you can create an entire Multiple Choice variable using answers the user provides.
For example, a template requires the user to first enter a list of all the committee member names. Later, the user can
identify which committee member is the chairperson. You can allow the user to identify the chairperson by presenting a
Multiple Choice variable that has the names of all committee members as options. The following script would create that
Multiple Choice variable:
CLEAR Committee Chairperson
REPEAT Committee Members List
ADD Member Name TO Committee Chairperson
END REPEAT
In this example, the CLEAR instruction first removes any existing options from the Multiple Choice variable Committee
Chairperson. Then, the script repeats the Committee Members List dialog, gathering the names of each committee
member. The ADD instruction then adds each members name to the Multiple Choice variable. After the committee
members have all been entered, you can present the Committee Chairperson variable for the user to identify the
chairperson.
Additionally, if the Multiple Choice variable you are clearing uses any option prompts, these prompts will also be cleared.
When adding new options to the Multiple Choice variable, you can also add new prompts. To do this, use a vertical bar to
separate the option from the prompt in the ADD instruction. For example:
CLEAR Marital Status
ADD "Single|Client is single" TO Marital Status
ADD "Married|Client is married" TO Marital Status
ADD "Divorced|Client is divorced" TO Marital Status
In this example, the Multiple Choice variable Marital Status is cleared. The script then adds a literal text value (denoted by
quotation marks) for the new option. The option is immediately followed by a vertical bar, which tells HotDocs to use the
text following the bar as a prompt for the option.
Both the CLEAR and ADD instructions must be used in a computation script, which must be processed before the Multiple
Choice variable is asked. To add options to a Multiple Choice variable, you should create the variable beforehand and
assign a temporary option. Then, as the user provides the answers you want to include as options, the CLEAR instruction
removes the temporary option, and the ADD instruction places the users answers as options in the variable.
Caution:
Unlike options and prompts, the merge text for a Multiple Choice variable comes from another componenta Merge
Text component. This means you cannot create and add merge text to a Multiple Choice variable "on the fly."
409
Replace With
VAR
A repeated variable
The ASCEND instruction sorts lists of answers (gathered using a REPEAT instruction) in alphanumeric order, from 1 to 9,
and from A to Z. The DESCEND instruction sorts lists of answers from 9 to 1, and from Z to A.
For example, the following script would insert a list of clients in alphabetical order, from A to Z. Even though it lists Client
First Name first, it sorts by Client Last Name:
""
REPEAT Client Information
ASCEND Client Last Name
RESULT + Client First Name + " " + Client Last Name + "
"
END REPEAT
The first empty set of quotation marks sets the computation value to nothing. Then, the repeated dialog, Client
Information, asks for each clients first and last name. Next, the ASCEND instruction sorts the list of names by last name.
Finally, the RESULT expression tells HotDocs to merge the names in the document.
Note:
The ASCEND and DESCEND instructions can only sort on a single variable; however, you can sort multiple variables
by including multiple ASCEND or DESCEND instructions.
410
ASK DIALOG
Placeholder
Replace With
DIALOG
The ASK DIALOG instruction allows you to control the order in which dialogs appear in an interview. (See Control When
Your Dialogs Appear.)
ASK instructions are also useful when some interview questions should only be asked in certain situations. In the
following example, HotDocs only asks the Buyer Information dialog if the user is a first-time buyer:
IF First Time Buyer
ASK Buyer Information
END IF
In general, the ASK instruction tells HotDocs to display a dialog as soon as the instruction is processed. You can insert
an ASK instruction directly in the template, or use a Computation variable to ask several dialogs at once. In fact, you can
control the entire interview by using a series of ASK and other instructions in a single computation. (See Define a Custom
Interview for details.)
411
ASK VAR
Placeholder
Replace With
VAR
Sometimes a variable needs to be asked by itself. You can use the ASK VAR instruction so that during the interview,
HotDocs displays the variable in its own default dialog.
In the following example, an IF expression evaluates if more than a year has passed since the last time the client
assembled this document. If so, the Insurance Company Name variable is asked:
IF MONTHS FROM( Date Of Previous Filing , TODAY ) >= 13
ASK Insurance Company Name
END IF
You can insert the ASK VAR instruction directly in the template or you can use it in a Computation variable. Be aware,
however, that if you insert the instruction directly in the template, you can ask only one variable, and any answers the user
provides will not be merged into the document at that place.
412
ASSEMBLE "FILENAME"
Placeholder
Replace With
FILENAME
Note:
Complete instructions on using the ASSEMBLE instruction can be found in the topic, Start a New Assembly From a
Template.
You can use the ASSEMBLE instruction to add templates to the assembly queue. Unlike the INSERT instruction, an
ASSEMBLE instruction waits until the current document is assembled before starting the next assembly session.
For example, you may or may not need to include a cover letter with the document you are assembling. If you do, the
following script adds the template, Cover Letter, to the assembly queue.
IF Cover Letter Required
ASSEMBLE "Cover Letter.rtf"
END IF
In this script, if the user opts to assemble a cover letter, then the ASSEMBLE instruction is processed and HotDocs
assembles the cover letter template after the main document is assembled.
413
CONCEAL VAR
Placeholder
Replace With
VAR
This instruction, which you use in a dialog script, keeps variables from appearing in the Select From Answer Source
dialog box of an answer source.
Answer sources are associated with specific dialogs in a template. When users view the dialog during the interview, they
can click a special button, which displays a list of answers that were entered during previous interview sessions. They can
either select an existing set of answers or add a new set to the list.
After creating an answer source for one dialog, you can use it with other dialogs, including dialogs in other templates.
However, when using an answer source with multiple dialogs, each variable must be represented in both the answer
source and in each dialog. If a variable that is referenced in the answer source isnt included in the dialog (or vice-versa),
answers in the answer source will get mixed together whenever you add, edit, or delete records.
In some situations though, it isnt always practical or relevant to show the user every variableeither in the dialog or in
the answer source. To accommodate this, you can use the HIDE, CONCEAL, and OMIT instructions to manipulate these
variables in both the dialog and the answer source. Specifically, HIDE keeps a variable from appearing on the dialog,
while CONCEAL keeps it from appearing in the answer source. OMIT keeps it from being associated with the answer
source at all. Often, you must use a combination of these instructions to achieve your desired result.
For example, in one template, the user must enter both a Creditor Name and a Creditor Address. However, in a second
template that uses the same dialog and answer source, Creditor Address isn't needed. You can keep it from appearing in
the Select From Answer Source dialog box for this template by using the following script:
CONCEAL Creditor Address
Answers for Creditor Address are still saved in the answer source, even though they do not appear when the user opens
the Select From Answer Source dialog box. (You would most likely include the instruction HIDE Creditor Address in this
script as well, which would keep Creditor Address from appearing on the actual interview dialog. To keep the variable
from appearing when the user edits a record in the answer source, see OMIT VAR.)
See Suggest an Answer Source for Dialogs for more information.
414
DEBUG
This instruction steps through the template or script field by field or line by line. It helps you determine why the template
you are automating (or the script you are writing) is producing results you don't expect.
For full information on how to use this instruction, please see the following topics:
Overview: Debugging Templates
Insert Debugging Instructions in Templates and Scripts
Step Through a Template or Script
415
Replace With
VAR
VALUE
416
Replace With
VAR
DIALOG
The ERASE instructions let you clear answers in a dialog. Specifically, ERASE VAR clears answers for a specified
variable in a dialog, while ERASE DIALOG clears all answers in the dialog. This may be useful when you are using a
temporary dialog to store lists of answers from two or more dialogs.
For example, say you have two repeated dialogsone containing plaintiff names and another containing defendant
names. If you need to generate a single list of all parties in the case, you can combine the two lists into a single repeated
dialog. To do this, you would want to erase any existing values from the combined list before populating it with the names
from the plaintiff and defendant dialogs.
Using the ERASE instruction in the script keeps the combined list up to date each time the computation script is
processed. For example, if the user adds or removes names in the plaintiff or defendant dialogs during the interview, the
ERASE instruction will make sure they are properly added or removed when the combined list is regenerated.
The following script demonstrates how to accomplish this:
ERASE Combined List
SET Counter TO 0
REPEAT Plaintiff Information
INCREMENT Counter
SET Combined Name[Counter] TO Plaintiff Name
END REPEAT
REPEAT Defendant Information
INCREMENT Counter
SET Combined Name[Counter] TO Defendant Name
END REPEAT
417
FILTER COMPUTATION_VAR
Placeholder
Replace With
COMPUTATION_VAR
Any Computation variable in the template that results in a true or false value
The FILTER instruction filters out certain entries from a repeated list, based on conditions you specify.
In the following example, the script filters out all corporate entities from a list of vendors:
""
REPEAT Vendor Information
FORMAT "A, B, and C"
FILTER No Corporate Vendors
RESULT + Vendor Name
END REPEAT
In the preceding script, No Corporate Vendors is a Computation variable with the following script:
Vendor Type != "Corporation"
First, the empty quotation marks set the value of the repeat to "nothing." HotDocs then repeats the Vendor Information DI
dialog. After the user enters all the information, HotDocs processes the responses, filters out all corporate entities, and
displays a modified list in the specified format.
Note:
You can use the AND operator in the computation to filter out entries based on two or more conditions.
A filter can be as complicated as it needs to be, but it must result in either true or false. For example, the
expression YEARS FROM( Child's Birth Date, TODAY ) produces a number (the age of a person), not a
true or false valueit is not a filter. But the expression YEARS FROM( Child's Birth Date, TODAY ) <=
17 can only result in true or false. It can correctly filter all children under the age of 18 from a list.
418
FORMAT "LIST_FORMAT"
Placeholder
Replace With
LIST_FORMAT
The FORMAT "LIST_FORMAT" instruction allows you to create a sentence-style list within a computation. (If you create
the REPEAT instruction using a REPEAT field, you can specify the list format by choosing a style from the Format dropdown list. See Punctuate a Sentence-Style List.)
For example, perhaps you want the items in your list to appear with the final comma preceding the and. Your script would
look like this:
""
REPEAT Education Information
FORMAT "A, B, and C"
RESULT + Degree Designation
END REPEAT
RESULT
Once a user has provided the list of educational degrees in Education Information, the FORMAT instruction ensures
that the requisite commas are in place.
Note:
FORMAT instructions should be placed immediately after the REPEAT instructions for repeated dialogs.
419
Replace With
Var
These instructions, which are used in a dialog script, control whether components in a dialog appear grayed or ungrayed,
depending on answers a user enters. GRAY ALL dims all components in the dialog, while UNGRAY ALL makes all of the
components active again. Likewise, GRAY VAR dims a single component, and UNGRAY VAR enables the component
again.
For example, say you want certain variables in a dialog to appear based on the user's family situation. How the user
answers the Multiple Choice variable, Family Status, controls which questions are asked:
GRAY ALL
UNGRAY Family Status
IF Family Status = "Married, with children"
UNGRAY ALL
ELSE IF Family Status = "Married, no children"
UNGRAY Spouse Name
ELSE IF Family Status = "Separated, with children"
UNGRAY Number Of Children
END IF
The initial GRAY ALL instruction dims all variables in the dialog, making them inactive. Then the Family Status Multiple
Choice variable is immediately ungrayed so the user can choose an option. Depending on the answer to this Multiple
Choice variable, some or all of the other variables are ungrayed.
Note:
In the script above, you could also gray each variable in the dialog (except the Multiple Choice variable); however,
graying all of the variables and then ungraying the Multiple Choice variable immediately after saves a lot of repetitive
typing.
420
Replace With
Var
These instructions, which are used in a dialog script, control whether the user is able to see variables in a dialog. The
HIDE ALL instruction hides all variables in the dialog, while SHOW ALL reveals the variables again. Likewise, HIDE VAR
hides a single variable, and SHOW VAR reveals the variable.
In the following example, a certain estate planning template may be used for both wills and trusts. The initial dialog uses
a Multiple Choice variable called Document Type to ask which type of document will be assembled. Then, depending on
how the user answers the variable, HotDocs asks either the executor/testator names or the trustee/grantor names:
HIDE ALL
SHOW Document Type
IF Document Type = "Will"
SHOW Executor Name
SHOW Testator Name
ELSE IF Document Type = "Trust"
SHOW Trustee Name
SHOW Grantor Name
END IF
Caution:
You should not HIDE or SHOW a variable in a repeated-as-spreadsheet dialog based on another variable in the same
dialog. When you use HIDE or SHOW in a spreadsheet dialog, the entire column is shown or hidden. Attempting to do
this may produce unexpected results.
421
Replace With
EXPRESSION
You can make sections of templates or scripts conditional by using IF instructions. A conditional section will be included
only if a condition you specify is true. The ELSE IF instruction allows two or more conditions to be included in an IF
instruction. The ELSE instruction establishes a final condition for an IF instruction, specifying that if all preceding
conditions are false, the following information should be included. It must be the last item of the IF instruction.
Each IF instruction or expression must end with an END IF instruction. This instruction completes a section of conditional
logic. HotDocs automatically creates an END IF paired with each IF instruction. These pairs can be nested, allowing you
to test several conditions before applying a single effect.
For example, in the following script, HotDocs uses an IF instruction to insert a paragraph about vacation timebut only if
the new employee qualifies for paid vacation:
IF Vacation DaysIn addition, Employee Name shall be allowed Number of Vacation
Days:ten for vacation time. Employee Name shall also receive seven paid holidays,
including New Year's Day, Memorial Day, Fourth of July, Labor Day, Thanksgiving
(including the day after), and Christmas.END IF
More complex situations can also be handled using IF expressions. For example, in the following computation script, a
single paragraph in a template may change depending on how close a project is to completion. Using the IF, ELSE IF,
and ELSE instructions, the correct paragraph can be inserted:
IF Project Status = "Complete"
"Upon finishing the project"
ELSE IF Project Status = "In Process"
"While working on the project"
ELSE
"Before working on the project"
END IF
Note:
You can use IF expressions anywhere. Operators such as AND and OR can link multiple conditions, giving the
user greater control over the interview. However, creating complicated IF instructions directly in the template can
make the assembly process sluggish. Consider using Computation variables or INSERT instructions instead.
Please see Overview: Make Parts of Templates Conditional for further information on using IF instructions and
expressions.
422
Replace With
NUM_VAR
A Number variable
The INCREMENT and DECREMENT instructions cause HotDocs to increase or decrease a number variable, usually a
counter, by the value of 1.
In the following example, you want to create a list of potential employees. However, you want the list to include only those
applicants with four or more years of schooling. To do this, you would use the WHILE instruction to loop through a list
of applicants. You would then use the INCREMENT instruction to keep track of which repetition you are on so that the
correct information can be merged into a new list.
SET Applicant Count TO 1
SET Prospect Count TO 0
WHILE ANSWERED( Applicant Name[Applicant Count] )
IF Applicant Years of Schooling[Applicant Count] >= 4
INCREMENT Prospect Count
SET Prospect Name[Prospect Count] TO Applicant Name[Applicant Count]
END IF
INCREMENT Applicant Count
END WHILE
423
INSERT "FILENAME"
Placeholder
Replace With
FILENAME
This instruction inserts a clause, a clause library, or a template into the document currently being assembled. When
HotDocs encounters an INSERT instruction, it immediately processes the instruction and inserts the template, clause, or
clause library into the current document. If there are variables to be answered, HotDocs presents them before finishing
the interview of the main document.
To create a simple INSERT instruction, you can click the
INSERT Field button and insert the instruction directly in
the template. However, if you want to insert a more complex instruction using conditional logic, you may need to use a
Computation variable.
Often an organizations documents will include sections that are used frequently, such as company letterhead or attorney
information blocks. Rather than recreate these parts of a document each time you automate a template, you can save
just the letterhead or the information block as its own template and then use an INSERT instruction to include it in the
templates that require it. For example, let's say you have a specific attorney information block you use in pleadings. You
would create a template that contains only the attorney information and then use the INSERT instruction to insert it:
IF Attorney Information Required
INSERT "Attorney Information Block.rtf"
END IF
In text templates, if the inserted template contains unanswered variables, HotDocs asks these variables. After the inserted
template is assembled, HotDocs finishes assembling the main template. In contrast, with form templates, HotDocs
appends the inserted form template to the main form. Once it finishes assembling the main form, it then assembles the
inserted form template.
Note:
For detailed information on inserting templates, see Overview: Insert Templates into Templates.
Templates can be inserted from any location, as long as you specify the correct folder path information. (See
Inserted Template File Locations for examples.)
Inserted files may have formatting that differs from the original template. Headers, footers, and margins can often
be controlled more easily by using word processor section breaks. See Define Headers and Footers in Inserted
Word Templates.
424
LANGUAGE CODE
Placeholder
Replace With
CODE
This instruction tells HotDocs to format numbers and dates in a particular language.
For example, the following script allows the template to use Spanish formats:
LANGUAGE ESN
Start Contract Date:3 Juno 1990
Optionally, if your date or number format requires non-U.S. thousands and decimal separators, you can specify which
separators you want to use in the LANGUAGE instruction. The first character must be the thousands separator and the
second character must be the decimal separator. For example:
LANGUAGE ".," FRA
Note:
For more detailed information on using foreign language templates, see Create a Foreign Language Template.
You must obtain the appropriate foreign language DLL file before the LANGUAGE instruction will work in your
templates. Contact your HotDocs sales representative for more information.
425
LIMIT NUM
Placeholder
Replace With
NUM
The LIMIT instruction limits the number of times a dialog can be repeated. It is placed in the script of the dialog that must
be limited to a specific number of repetitions.
When setting repeat limits, assign a number value or numeric expression. For example, the dialog, Daily Schedule
Information, gathers information about the scheduled activities for each day of the work week, so it needs to be limited to
five repetitions. The following would be placed in the dialog's script:
LIMIT 5
Note:
You can let the user change the limit each time a document or form is assembled by replacing the NUM
placeholder with a Number variable. Make sure the Number variable gets answered before the REPEAT
instruction is processed.
To control the number of viewable rows in a spreadsheet (but still allow users to enter as many answers as they
need), enter the number in the Rows to display box. (Make sure Spreadsheet is selected as the Style.)
426
OMIT VAR
Placeholder
Replace With
VAR
The OMIT VAR instruction, which you use in a dialog script, keeps variables from appearing in the Edit Answer Source
dialog box of an answer source.
Answer sources are associated with specific dialogs in a template. When users view the dialog during the interview, they
can click a special button, which displays a list of answers that were entered during previous interview sessions. They can
either select an existing set of answers or add a new set to the list.
After creating an answer source for one dialog, you can use it with other dialogs, including dialogs in other templates.
When using an answer source with multiple dialogs, each variable must be represented in both the answer source file and
in each dialog. If a variable that is referenced in the answer source file isnt included in the dialog (or vice-versa), answers
in the answer source will get mixed together whenever you add, edit, or delete records.
In some situations though, it isnt always practical or relevant to show the user every variableeither in the dialog or
in the Select From Answer Source dialog box. To accommodate this, you can use the HIDE, CONCEAL, and OMIT
instructions to manipulate these variables in both the dialog and the answer source. Specifically, HIDE keeps a variable
from appearing in the dialog, while CONCEAL keeps it from appearing in the answer source spreadsheet. OMIT keeps
it from appearing in the answer source altogether, but still allows you to use it in the dialog. Often, you must use a
combination of these instructions to achieve your desired result.
For example, say you have a dialog that shows information about a client, including how much a client owes in payments
to the firm. Because information about amounts owed changes, it would not make sense to include it in the answer
source. To keep it from appearing in the answer sourceboth in the Select From Answer Source dialog and in the Edit
Answer Source dialogyou would use the OMIT instruction, like this:
OMIT Amount Owed
The variable would be asked on the dialog, however, so the user could answer it.
See Suggest an Answer Source for Dialogs for more information.
427
PLAY "MACRO"
Placeholder
Replace With
"MACRO"
The PLAY "MACRO" instruction plays a word processor macro after the document is assembled and either sent to the
word processor, printed, or saved.
Where you store the macro depends on which word processor you are using:
For WordPerfect users, the macro can be stored anywhere. The PLAY instruction must include the file name of the
macro, and if the macro is stored anywhere other than the default macro folder, the instruction must include a full
path to the file as well.
For Word DOT users, the macro must be stored in the template itself, in Normal.dot, or in any global template that is
automatically loaded when you start Word.
For Word RTF users, the macro must be stored either in Normal.dot, in any global template that is automatically
loaded when you start Word, or in a Word template you associate with the template through Component Manager.
(See Specify a Word Template for Storing Post-Assembly Macros for details.)
Macros can be helpful in many situations, such as making sure the format of an inserted clause matches the rest of the
document. For example, the text in the Authority Clause document may be formatted differently than the text in the main
document. You could create a macro that can adjust the formatting so that its uniform:
INSERT "Authority Clause.rtf"
PLAY "Standard_Format"
To insert a PLAY instruction in a template
1. At the template, position the cursor in the template where you want the PLAY instruction.
2. If you are using Microsoft Word:
a. Click the HotDocs menu in the HotDocs toolbar and choose Other Field from the list of options. The Other
Field dialog box appears.
b. Click the Field type drop-down button and choose PLAY.
c. In the Macro name box, enter the name of the macro you want to run.
d. Click OK. The instruction is inserted in the template.
428
QUIT
The QUIT instruction allows you to close the variable without losing the work you have done. Normally, HotDocs will not
save an invalid computation. The only way to exit an invalid computation is to click Cancel, which erases the script. The
instruction is usually placed at the beginning of an unfinished or invalid computation.
For example, perhaps you aren't sure about the specific variable names that need to be included because the variables
have not yet been created. Normally, HotDocs wont allow an unfinished script to be saved. The QUIT instruction, though,
makes this possible:
QUIT
IF Client History = "____"
SET ____ TO "Returning"
ELSE
SET ____ TO "New"
END IF
Another useful place to include a QUIT instruction is at the end of a computation, which allows you to enter "developer
comments" about the computation script. You can also apply a comment block to the section of the script you don't want
processed. To do this, select that section of the script and click the
click the
Caution:
If you use a QUIT instruction in a script, it will cause all the scripting after the instruction to lose its syntax-aware
formatting. To restore this formatting once you remove the QUIT instruction, click the
429
Replace With
DIALOG
A REPEAT instruction gathers lists of answers and merges them into a document.
For example, the following script gathers a list of editors and inserts them into the assembled document:
REPEAT Editor Information
Editor: Editor First Name Editor Last Name
END REPEAT
Each REPEAT instruction must also include an END REPEAT instruction, which tells HotDocs to stop repeating the
variables within the instruction.
This next computation script actually contains two repeated dialogsone nested in another. It produces a list of editors as
well as the titles and authors he or she is currently working with:
""
REPEAT Editor Information
RESULT + "Editor: " + Editor First Name + " " + Editor Last Name + "
"
REPEAT Book Information
RESULT + "Book Title: " + Book Title + "
" + "Author: " + Author First Name + " " + Author Last Name + "
"
END REPEAT
END REPEAT
You can create up to three levels of sublists by nesting REPEAT instructions. (See Overview: Create Lists Within a List.)
Note:
For more information about creating lists of answers, see Overview: Include Lists in Your Documents.
While editing complicated sequences, you can jump from the END REPEAT instruction to its associated REPEAT
instruction, or vice versa, by placing the cursor within the REPEAT or END REPEAT chevrons, then clicking the
Match Fields button.
430
Replace With
VAR
The REQUIRE instruction requires users to answer questions in a dialog before they can advance to the next dialog in the
interview.
REQUIRE instructions ensure that important information is not left out of the assembled document. For example, a certain
document requires the user to enter the date when a legal filing was first made. Later in the template, this date is used to
calculate a deadline for subsequent filings. Many users, however, may not take the time to look up the initial filing date,
which creates problems for calculating the deadline. Using the REQUIRE instruction in a dialog script, as shown in this
example script, can help resolve this problem:
REQUIRE Initial Filing Date
When a dialog script contains a REQUIRE instruction, a red mark appears on the dialog icon in the interview outline. The
question in the dialog is also marked. This mark remains until the required variable is answered. If a user tries to move to
another dialog, HotDocs displays an error message, then moves the cursor to the first required answer field in the dialog.
Users cannot advance to the next dialog without first providing the required answers.
Note:
It may be helpful to include text in the dialog that provides users with information about which fields are
mandatory and why. See Add Text to Your Dialogs for details.
You can customize the marks used in the dialog by specifying your options at HotDocs Options. See Customize
the Look of the Dialog Pane.
431
Replace With
VAR
Any variable
VALUE
Note:
For a more detailed explanation of setting variables to values, see Automatically Assign Answers to a Variable.
This instruction lets you specify a given value for a variables answer automatically, rather than allow the user to specify
an answer. With the SET instruction, you can transfer names and other values from one variable to another.
For example, if the plaintiff is the same as the client, you can use a SET instruction to automatically enter the plaintiffs
name as the clients, saving the user from typing the name a second time:
IF Is Plaintiff Also Client
SET Client Name TO Plaintiff Name
END IF
Caution:
Because HotDocs repeatedly processes SET instructions during the course of an interview, you must not let the
user specify a different answer for a variable whose value is being SET. When HotDocs updates the interview, the
users answer will be replaced with the value from the SET instruction. To suggest an answer for the user and allow
them to change it, use the DEFAULT instruction. (See Differences Between SET and DEFAULT Instructions for an
explanation.)
Note:
If you are grouping two or more child (inserted) dialogs in a parent dialog, you can SET the child dialog's status
to TRUE. This forces the contents of the child dialog to automatically appear in the interview outline. (See Group
Child Dialogs in a Parent Dialog for details.)
To set two or more options for a Multiple Choice variable, separate each option with a vertical bar (for example,
SET MC Variable TO "Option1|Option2|Option3")
432
Replace With
EXPRESSION
The WHILE EXPRESSION instruction allows you to repeatedly process (or loop through) an answer or set of answers
until a certain condition is met, such as a certain answer is found or a limit is reached.
Before using the WHILE instruction, you should understand the following:
The WHILE instruction must be used in a computation or dialog scriptit cannot be inserted directly into a template.
When using the WHILE instruction inside of a REPEAT instruction, the WHILE instruction will not affect the
underlying COUNTER variable associated with the REPEAT instruction. If you need to count something within a
WHILE loop, you must create your own temporary counter. Additionally, to access repeated variables in a WHILE
loop, you must use explicit indexing.
Unless the instructions inside the WHILE loop include an instruction that increments the temporary counter, the
WHILE instruction will repeat until the Maximum WHILE iterations limit is reached. You can specify this property at
the Component File Properties dialog box. (See Change Component File Properties.) To avoid problems like this,
make sure you increment the temporary counter.
In the following example, you want to create a list of signers in a will. Since the signers may include both beneficiaries and
fiduciaries, you want to merge both lists into one. Because some fiduciaries may also be beneficiaries, you will want to
remove any duplicate names. To loop through the list of fiduciaries, you will use the WHILE instruction:
SET Signer Count TO 0
REPEAT Beneficiary Information
INCREMENT Signer Count
SET Signer Name[Signer Count] TO Beneficiary Name
END REPEAT
REPEAT Fiduciary Information
SET Lookup TO 1
WHILE Lookup <= Signer Count AND Fiduciary Name != Signer Name[Lookup]
INCREMENT Lookup
END WHILE
IF Lookup > Signer Count
INCREMENT Signer Count
SET Signer Name[Signer Count] TO Fiduciary Name
END IF
END REPEAT
In the first part of this script, the Beneficiary Information dialog is repeated, and as answers are entered, their values are
set to be used for Signer Name (which is the variable that will be repeated to insert all the names of the signers). Then,
in the second part of the script, as the Fiduciary Information dialog is repeated, HotDocs uses the WHILE expression
to test whether the name of the fiduciary is the same as any of the beneficiary names. If it is not, it will likewise be
added to the Signer Information dialog. (When you insert the REPEAT instruction for the Signer Information dialog in
the template, clear the Ask Automatically option at the Dialog Editor (Options tab). See Control Whether Dialogs are
Asked Automatically for details.)
433
In the next example, you need to remove unwanted space characters from a user's account number. Here, the WHILE
instruction is used to repeat an answer, character by character, so that HotDocs can check to see if there are space
characters in the answer. If there are, HotDocs removes them and rewrites the answer.
SET Count Index TO 1
WHILE Count Index <= LENGTH( Account Number )
IF MID(Account Number, Count Index, 1 ) = " "
SET Account Number TO FIRST( Account Number, Count Index -1 ) + LAST( Account
Number, LENGTH(Account Number) - Count Index)
ELSE
INCREMENT Count Index
END IF
END WHILE
This script uses a temporary counter (Count Index) to keep track of which character in the answer HotDocs is looking
at. Any time the answer is repeated and HotDocs finds a space character, it removes it by concatenating the characters
before and after the space character. HotDocs then makes sure that the new character it is now examining isn't a space
character either. If it is not, HotDocs increments the temporary counter, moves to the next character, and repeats this
process.
434
435
Description
The two items in the comparison are of equal value. For example:
Birth Date = 17 Dec 1989
Employee Name = "Louisa Gehrig"
!=
The two items in the comparison are not of equal value. For example:
IF Exhibit A != TRUE
IF Plaintiff Gender != "Male"
<
The first item in the comparison has a lesser value than the second item. For example:
Account Balance < 9000
COUNTER < 10
>
The first item in the comparison has a greater value than the second item. For example:
Dependent Age > 18
<=
The first item in the comparison is less than or equal to the second item. For example:
Client Age <= 65
COUNTER <= 2
>=
The first item in the comparison is greater than or equal to the second item. For example:
Taxed Income >= 75000
CONTAINS
The value of the first item is found in the value of the second item. For example:
"massachusetts virginia kentucky pennsylvania" CONTAINS State
Name
Arithmetic Operator
Description
Subtract the different components of the script from each other. For example:
Monthly Income - Amount of Owed Child Support
436
The unary minus operator results in the numeric negation of the operand (which must be
a Number value). For example:
SET Loss Amount TO - Aggregate Amount
The unary percent operator results in the operand (which must be a Number value)
divided by 100. It is a postfix operator. For example:
Purchase Price + (Purchase Price * 6.25%)
Logical Operator
Description
AND
The statement to the left and the statement to the right must both be true. For example:
IF Client is Married AND Client has Children
OR
The statement to the left or the statement to the right must be true. For example:
IF Single OR Widowed
NOT
The NOT operator results in the logical negation of the operand (which must be a True/
False value). For example:
IF NOT Client is Married
Note:
HotDocs also supports two other unary operatorsunary plus (+) and the dollar sign ($). While both produce
numeric results in a script, the results are exactly the same as the operands. Therefore, they should not be used
in a script.
The Add ( + ) operator can also be used to string together (concatenate) two text values.
The final operator, the parentheses ( ), instructs HotDocs to perform the operation inside the parentheses first.
HotDocs operators are processed in the following order of precedence, from highest to lowest. Operators listed on the
same line have the same precedence.
()
NOT - %
* /
+ = != < > <= >=
AND
OR
So in other words, when HotDocs is evaluating an expression, first parenthesis are used to determine order of operations,
then unary operators, then multiplication and division, then plus and minus, then comparisons, then logical AND, and last
logical OR.
437
A line break
Press Enter or Shift+Enter. When you do this, HotDocs creates a new line of text in the
same paragraph.
Note:
When you use a line break to span a literal text string across two lines in the script
editor, the color coding assigned to the text string changes to the default color. This
doesn't affect how the computation will be processed, but it may make it more difficult
to visually recognize the different portions of your script. To fix the color coding, click
the
Insert a Line Break dot code (.lb) at the place you want HotDocs to start a new line.
(See Insert Characters in Text Strings.)
A paragraph end
Press Ctrl+Enter. When you do this, HotDocs inserts a paragraph mark ( ) and starts a
new paragraph of text.
Insert a Paragraph Mark dot code (.pm) at the place you want HotDocs to start a new
paragraph. (See Insert Characters in Text Strings.)
A tab character
Press Ctrl+T.
If you want the Tab key to insert a tab character (instead of you pressing Ctrl+T), click
the
Options button and select Tab key inserts a tab in scripts. Now, whenever you
press Tab or Shift+Tab, HotDocs will insert a tab in the script instead of taking you to
another field in the dialog box.
Insert a Tab Character dot code (.tc) at the place you want the text to be tabbed. (See
Insert Characters in Text Strings.)
When creating multi-line Text variables, you can force HotDocs to merge a paragraph mark (rather than a line break)
when the user presses Enter. For details, see Customize a Text Variable.
438
Do This
Have HotDocs
automatically complete
keywords, component
names, and Multiple
Choice options as you type
Place your cursor in the Script box and press Ctrl+Spacebar. HotDocs displays
a list of instruction and expression keywords, constant values (such as month
abbreviations), and components. Type a portion of the keyword, component name, or
Multiple Choice option for which you are searching. As you type, HotDocs filters the
list to show only those keywords that contain the text you have typed. Once selected,
press Enter to merge it into your script.
To keep seldom-used keywords out of the auto-complete list, click the
Options
button and clear Include seldom-used keywords in auto-complete list.
Click the
Click the
Click the
Select the portion of the script you want to cut or copy, and then click the
button or the
script in a new location, insert your cursor at that location and click the
button.
Find a specific string of
text in the script
Click the
Cut
Paste
Find button and enter your search text in the Find what box. To find the
Note:
To find only those instances of text that are complete words, select Find whole
words only. To find only those instances that have the same capitalization as the
text for which you are searching, select Match case.
Find a specific string
of text in the script and
Click the
Find and Replace button. Enter the search text for which you are
searching in the Find what box, and then enter the replacement text in the Replace
439
To
Do This
with box. Once you have entered the required text, click Replace, Replace All, or
Find Next.
To find and replace script text in a specific block of script, select the block of script
first and then click the
Find and Replace button. At the Find and Replace dialog
box, select Replace only in selected text.
Click the
Go To button. This displays the Go To dialog box, where you can enter
the line number or character position of where you want your cursor to move.
Select the portion of the script you want to indent or outdent and click the
button or the
indent.)
Indent
Cause HotDocs to ignore a Highlight the block of the script you want to comment and click the
Comment
section of the script when
Block button. This puts two forward slashes in front of each line of the script, which
it processes it, or insert a
instructs HotDocs to ignore this section. To uncomment it, highlight the text and click
comment in the script
the
Uncomment Block button.
Match an IF or REPEAT
instruction with its END
IF or END REPEAT
instruction (or vice versa)
Place your cursor inside the instruction, right-click, and select Match IF/REPEAT
from the shortcut menu. (You can also press Ctrl+M.)
Highlight an entire IF
or REPEAT instruction
block (meaning everything
between a beginning
and ending IF/REPEAT
instruction)
Place your cursor inside the instruction, right-click, and select Select IF/REPEAT
from the shortcut menu. (You can also press Ctrl+Shift+M.)
Click the
Click the
Options.)
See Use Line Breaks, Paragraph Ends, and Tabs in Computation Scripts.
Assign formatting
characteristics to literal
text strings in a script
Insert the corresponding dot code. See one of the following topics for details:
Options button and make your changes. (See Change Script Editing
Note:
To access the script editor toolbar using the keyboard, press F10.
To access help for each instruction or expression, first select the model in one of the lists and then press Ctrl+F1.
Copyright 2010 HotDocs Ltd. All rights reserved
440
For an explanation of the HotDocs scripting language, see Understand the HotDocs Scripting Language. For
details on creating a Computation variable, see Customize a Computation Variable. For a list of instruction and
expression models, see Overview: Instruction and Expression Models.
441
Description
Enter a Date
You can use this expression to format your dates correctly as you write computations.
Enter a Number
You can use the Enter a Number expression to format numbers correctly as you write
computations. Numbers in computations and expressions must be in numeric form and
cannot contain commas. If you enter a number that contains a comma, it will be removed
from the value. Decimals must have one digit to the left of the decimal point, even if it is
only a zero.
You can use the Enter some Text expression to format a text string correctly as you
write computations. When used in computations and expressions, text strings must be
inside quotation marks. This expression adds those quotation marks to the text string.
You can use this expression to enter a TRUE or FALSE value in a computation or
expression script. True/False values must use uppercase letters.
Using the ABSOLUTE VALUE expression, you can find the absolute value of a given
number. You can calculate a negative number, but have it appear as a positive number.
AGE( DATE )
The AGE( DATE ) expression produces an age, in years, by calculating the number of
years between the current date (as determined by your computers system clock) and a
date you provide in the computation script.
ANSWERED( DIALOG )
HotDocs can determine whether a dialog has been answered using the ANSWERED
expression. Even if only one variable in the dialog is answered, the expression returns a
value of true.
ANSWERED( VAR )
You can use the ANSWERED expression to determine whether a HotDocs variable has
been assigned a value. If so, the expression receives the value of true.
COUNT( DIALOG )
You can find out how many sets of answers a user provides for a repeated dialog. A
repeated dialog is any dialog used in a REPEAT instruction. This expression produces a
number, based on each answered dialog.
COUNT( MULT_CHOICE_VARThis
) expression counts how many options a user chooses when answering a Multiple
Choice variable. The result it produces is a number.
COUNTER
You can use the COUNTER expression to keep track of the current number of repetitions
of a repeated dialog. Each time a user clicks the Next button at a repeated dialog and
provides additional information, the value of COUNTER increases.
You can subtract any number of days from a Date variable. The result of this computation
is a new date value, which can be merged into the assembled document.
You can subtract a certain number of months from a Date variable. The result of this
computation is a new date value, which can be merged into the assembled document.
You can subtract a certain number of years from a Date variable. The result of this
computation is a new date value, which can be merged into the assembled document.
442
You can add any number of days to a Date variable. The result of this computation is a
new date value, which can be merged into the assembled document.
You can add any number of months to a Date variable. The result of this computation is a
new date value, which can be merged into the assembled document.
You can add a certain number of years to a Date variable. The result of this computation
is a new date value, which can be merged into the assembled document.
This expression finds a date value based on day, month, and year values.
This expression determines on which day of the week a specific date falls and converts
that value to an integer.
This expression allows you to find the number of days between two dates.
Using this expression, you can return any number of characters starting with the first
character in an answer value.
FORMAT( VALUE,
"EXAMPLE" )
Sometimes you may need to add a date, number, or true/false value to a text value. You
can do this by formatting the date, number, or true/false value as text.
INTEGER( TEXT )
Sometimes you may have a text value that contains number characters, as in the case
of a time of day value. The INTEGER expression allows you to convert those number
characters into numeric values so you can perform calculations or compare them with
other values.
The LAST expression finds and returns a certain number of characters from the end of a
text string.
LENGTH( TEXT )
The MAX expression compares two number values and returns the greater of the two.
Like the FIRST and LAST expressions, this expression extracts a specified number of
characters from within a text string.
The MIN expression compares two number values and returns the lesser of the two.
The MONTHS FROM expression calculates the number of months between two given
dates.
MULT_CHOICE=TEXT;
MULT_CHOICE!=TEXT
The MULT_CHOICE = TEXT expression returns true when the user chooses a
Multiple Choice option that is equal to ( = ) a given text value. If it is not equal ( != ),
the expression returns false. The MULT_CHOICE != TEXT expression functions in the
opposite waytesting instead to see if an answer is not equal to ( != ) a given text value.
NOT TRUE_FALSE
You can use the NOT TRUE_FALSE expression to find out if a True/False variable is
false.
443
OTHER( MULT_CHOICE_VARThis
) expression determines whether the user has chosen the Other option of a Multiple
Choice variable and, if so, returns the text entered in the Other field. It can also be used
to test whether the user has selected the None of the Above option.
POSITION( TEXT, TEXT )
The POSITION expression finds the position of a certain character or character string in a
given text value. It is useful if you need to find a character you know will be in an answer
but are not sure where it will appear. It returns a number value, which represents the first
character.
This expression lets you search a string of text for a given character string and replace
the results with new text.
RESULT
As you write computations, you often need HotDocs to acknowledge what the result
would be at that point in the script. You can update this answer by using the RESULT
expression.
SELECTION( MULT_CHOICE_VAR,
This expression lets you retrieve individual options (answers) selected in a Multiple
NUM )
Choice variable. It returns a text value that corresponds to the defined answer (as
designated by the NUM placeholder).
SPACE( TEXT, TEXT )
This expression tests whether the variable is answered. If it is, it merges the answer,
followed by a space character. If the variable is unanswered, it merges nothing ("").
This expression removes a specified character or characters from the beginning or end
of a text answer. By default, HotDocs removes the characters from both the beginning
and the end of the text. If you want to specify just one or the other, you must use the
TRUE_FALSE parameters.
SUM( COMPUTATION_VAR ) Using the SUM( COMPUTATION_VAR ) expression, you can add computation values
that have been repeated.
SUM( NUM_VAR )
Using the SUM expression, you can add repeated number values.
The TEXT CONTAINS TEXT expression determines whether the first text value contains
the same text as the second value. If it does, it returns the value of true.
TODAY
This expression returns the current date, according to your computers system clock.
You can truncate a decimal number a specified number of places after a decimal point.
UNANSWERED
This expression removes an assigned value from a variable. It is used most often with the
SET VAR TO VALUE instruction:
UNION( MULT_CHOICE,
MULT_CHOICE )
This expression creates a single list of all unique options (answers) that have been
selected across two or more Multiple Choice variables.
VALUE( VAR,
EXPRESSION )
This expression returns a default value for the variable type if the variable is unanswered.
If the variable is answered, the value is the answer the user specifies.
444
You can use this expression model to find the year portion of a given date.
This expression calculates the number of years between two given dates.
ZERO( NUM_VAR )
This expression returns the value of zero only if a Number variable is unanswered. If the
Number variable is answered, the value is the answer the user specifies.
445
Enter a Date
You can use this expression to format your dates correctly as you write computations.
To use the expression, drag the Enter a Date expression into the Script or Expression box. The Enter a Date dialog
appears where you can type a date into the field, or you can use the pop-up calendar to select a date. When you click OK,
HotDocs inserts the date at the cursor position in the correct format, for example, 3 JUN 1990.
446
Enter a Number
You can use the Enter a Number expression to format numbers correctly as you write computations. Numbers in
computations and expressions must be in numeric form and cannot contain commas. If you enter a number that contains
a comma, it will be removed from the value. Decimals must have one digit to the left of the decimal point, even if it is only
a zero.
To use the expression, drag the Enter a Number expression into the Script or Expression box. The Enter a Number
dialog box appears. Enter a number and click OK. The correctly formatted number is inserted at the cursor position.
447
448
449
Replace With
NUM
A number value for which you want the absolute value returned. Can be a Number
variable or a fixed number value.
Using the ABSOLUTE VALUE expression, you can find the absolute value of a given number. You can calculate a
negative number, but have it appear as a positive number.
For example, you may need to send a notice to a client about an account balance. Not knowing whether it will be a
positive or negative balance, you would create the computation Absolute Value of Final Balance, which would return a
positive expression, regardless. The computation script is:
ABSOLUTE VALUE( Final Balance )
Once you have created the computation, you can use an IF/ELSE expression to merge the desired text with the correct
value in the document:
IF Final Balance < 0
Your account is $Absolute Value of Final Balance overdrawn.
ELSE
You have $Absolute Value of Final Balance in your account.
END IF
450
AGE( DATE )
Placeholder
Replace With
DATE
A date value, which you want to check against the current date. This can be a Date
variable or a fixed date value.
The AGE( DATE ) expression produces an age, in years, by calculating the number of years between the current date (as
determined by your computers system clock) and a date you provide in the computation script.
For example, the following script determines the age of the user based on his or her birth date:
AGE( Birth Date )
In the following conditional script, HotDocs determines whether the client is under the age of 18. If so, the ParentGuardian Information dialog is asked. If the client is over the age of 18, no dialogs are asked.
IF AGE( Birth Date ) < 18
ASK Parent-Guardian Information
END IF
451
ANSWERED( DIALOG )
Placeholder
Replace With
DIALOG
A dialog name
HotDocs can determine whether a dialog has been answered using the ANSWERED expression. Even if only one
variable in the dialog is answered, the expression returns a value of true.
Let's suppose you have a dialog that gathers information about a decedent (Decedent Information). From within this
dialog, a user could open an inserted dialog that asks questions about the decedent's assets (Decedent's Assets). Later in
the template, you could ask additional questions based on whether these dialogs have been answered:
IF ANSWERED( Decedent Information ) AND ANSWERED( Decedent's Assets )
ASK Asset Distribution Information
END IF
452
ANSWERED( VAR )
Placeholder
Replace With
VAR
A variable
You can use the ANSWERED expression to determine whether a HotDocs variable has been assigned a value. If so, the
expression receives the value of true.
Caution:
If you are testing whether a user has ANSWERED a variable, you must make sure the variable is presented to the user
using a custom dialog. Using the ANSWERED( VAR ) expression alone will not automatically force HotDocs to display
the variable for the user.
For example, you may place a variable for the second line of an address (Client Address 2) in a custom dialog; however,
not all users will provide information for that variable. In the template text, you can surround Client Address 2 with an IF
expression that merges that variable into the documentonly if the user answers it:
Client Name
Client Address 1
IF ANSWERED( Client Address 2 )
Client Address 2
END IF
Client City, Client State Client ZIP
In this script, the ANSWERED expression is used with an IF expression to insert or remove Client Address 2, based on
whether the user has provided that information. (Without it, the default unanswered text, ***Client Address 2***, would be
inserted in the assembled document.)
Note:
Even if a user chooses not to answer a variable that has been tested using the ANSWERED expression, HotDocs will
still warn that it is unanswered. If you don't want a warning to appear, clear Warn when unanswered at the Advanced
tab of the Variable Editor. (Control How HotDocs Processes a Variable.)
453
COUNT( DIALOG )
Placeholder
Replace With
DIALOG
A dialog name
You can find out how many sets of answers a user provides for a repeated dialog. A repeated dialog is any dialog used in
a REPEAT instruction. This expression produces a number, based on each answered dialog.
The following example determines if there is more than one fiduciary. If there is, certain prefixes and plural abbreviations
are added to the fiduciary title so the paragraph is structured correctly.
I appoint REPEAT Fiduciary Information:a, b, and cFiduciary Name:LIKE
THISEND REPEAT as IF COUNT( Fiduciary Information ) > 1Co-Fiduciary
TitlesELSEFiduciary TitleEND IF.
This expression uses the COUNT instruction to determine if Fiduciary Information is answered more than once. If it is,
the Co- prefix is inserted before Fiduciary Title, and the plural s is inserted at the end of the variable. For example, in the
assembled document, the answer may be inserted as Co-Executors or Co-Personal Representatives.
Note:
The difference between COUNT and COUNTER is that COUNT counts the number of repetitions in a list, while
COUNTER gives you the number of the current repetition.
454
COUNTER
You can use the COUNTER expression to keep track of the current number of repetitions of a repeated dialog. Each
time a user clicks the
increases.
Next button at a repeated dialog and provides additional information, the value of COUNTER
For example, a user may want to create a word processor table that contains a numbered list of clients:
REPEAT Client Information
COUNTER. Client Name
END REPEAT
In the example above, Client Information repeats the Client Name variable. Each time a user enters a different client,
COUNTER is incremented and merged into the assembled document. For example:
1.
2.
3.
4.
John TeNgaio
Erica Nees
Lisa Alvey
Jonathan Rainwater
HotDocs also uses COUNTER as a way to compare two incrementing number values. For example, perhaps you want to
list the last child named in a repeated dialog:
""
REPEAT Children Information
ASCEND Child Birth Date
IF COUNTER = COUNT( Children Information )
RESULT + "The youngest child is " + Child Name
END IF
END REPEAT
In this computation script, HotDocs first sets the value of the computation to nothing. It then processes the REPEAT
instruction, sorting the children based on their birth dates. It uses COUNTER to determine when the last answer in the
dialog is given (by comparing it to the COUNT of the dialog), and then merges the name of the youngest child in the list
into the document.
Note:
The difference between COUNT and COUNTER is that COUNT counts the number of repetitions in a list, while
COUNTER gives you the number of the current repetition.
455
COUNT( MULT_CHOICE_VAR )
Placeholder
Replace With
MULT_CHOICE_VAR
A Multiple Choice variable with the Select option set to All That Apply
This expression counts how many options a user chooses when answering a Multiple Choice variable. The result it
produces is a number.
For example, suppose the user wants to generate a list of cities in which an author plans to make appearances. There
might be oneor manydepending on the schedule. HotDocs can merge the correct termcity or citiesinto the
document once it knows how many cities were selected from the Multiple Choice variable:
IF COUNT( Publicity Tour City ) = 1
"city"
ELSE IF COUNT( Publicity Tour City ) > 1
"cities"
END IF
456
Replace With
DATE
NUM
A number value
You can subtract any number of days from a Date variable. The result of this computation is a new date value, which can
be merged into the assembled document.
For example, this computation calculates the date the books need to arrive at the warehouse before they can be shipped:
Shipping Date - 14 DAYS
457
Replace With
DATE
NUM
A number value
You can subtract a certain number of months from a Date variable. The result of this computation is a new date value,
which can be merged into the assembled document.
In the following example, HotDocs subtracts four months from the Shipping Date and inserts the new date:
Shipping Date - 4 MONTHS
458
Replace With
DATE
NUM
A number value
You can subtract a certain number of years from a Date variable. The result of this computation is a new date value,
which can be merged into the assembled document.
For example, this computation subtracts two years from Marriage Date:
Marriage Date - 2 YEARS
459
Replace With
DATE
NUM
A number value
You can add any number of days to a Date variable. The result of this computation is a new date value, which can be
merged into the assembled document.
For example, this computation script adds 90 days to the Date variable, Purchase Date:
Purchase Date + 90 DAYS
460
Replace With
DATE
NUM
A number value
You can add any number of months to a Date variable. The result of this computation is a new date value, which can be
merged into the assembled document.
For example, this computation determines what the date will be six months from the date the document is assembled:
TODAY + 6 MONTHS
461
Replace With
DATE
NUM
A number value
You can add a certain number of years to a Date variable. The result of this computation is a new date value, which can
be merged into the assembled document.
In this script, HotDocs adds 30 years to the date the loan originated:
Loan Origination Date + 30 YEARS
462
Replace With
NUM
NUM
NUM
This expression finds a date value based on day, month, and year values.
You can use this expression to compare a date the user gives with another date, such as a cut-off date for when an
employee had to be hired to qualify for a yearly bonus:
IF Hire Date <= DATE OF ( 15, 8, YEAR OF( TODAY ) )
Employee Name + " qualifies for the annual bonus."
END IF
HotDocs uses an IF instruction to compare Hire Date with August 15 of the current year. If the comparison returns a true
value, the employee qualifies for the bonus.
Suppose, in this next example, a new employee qualifies for a benefits package on the first day of the second month of
employmentregardless of what day the employee was hired during the first month of employment. You can calculate
that date with the DATE OF expression:
DATE OF ( 1, MONTH OF( Hire Date + 1 MONTHS ), YEAR OF( Hire Date + 1 MONTHS ))
The first parameter in the expression, 1, tells HotDocs to specify the first day of the month. The second parameter
identifies the month of the hire date and adds one month. The third parameter determines the year of the hire date (plus
one month).
463
Replace With
DATE
A date value
1
TO Hire Date
TO DATE OF( 1, MONTH OF( Hire Date + 1 MONTHS ), YEAR
) )
464
Replace With
DATE
A Date variable
This expression determines on which day of the week a specific date falls and converts that value to an integer.
These integers are as follows:
Sunday = 1
Monday = 2
Tuesday = 3
Wednesday = 4
Thursday = 5
Friday = 6
Saturday = 7
For example, perhaps you want to determine whether a payment due date falls on a Saturday or Sunday. If it does,
HotDocs moves the payment due date to the following Monday. The following script shows how this works:
IF DAY OF WEEK( Payment Date ) = 7
Payment Date + 2 DAYS
ELSE IF DAY OF WEEK( Payment Date ) = 1
Payment Date + 1 DAYS
ELSE
Payment Date
END IF
465
Replace With
DATE
DATE
This expression allows you to find the number of days between two dates.
In the following example, a buyer has 60 days to make a payment on an account balance. If the buyer has miss ed the
payment deadline, HotDocs merges a warning into the document:
IF DAYS FROM( Purchase Date, TODAY ) > 60
"Your account is past due."
ELSE
"Your account is current. Thank you."
END IF
This example uses an IF/ELSE IF expression to determine the text that must be inserted.
466
Replace With
TEXT
A text value, such as a Text variable, from which the specified number of characters will
be returned. This can be a fixed text value, inside quotation marks.
NUM
A number value, such as a Number variable or a fixed number value. It specifies the
number of characters you want returned.
Using this expression, you can return any number of characters starting with the first character in an answer value.
The following computation looks at the clients first, middle, and last names and returns only the first character from each
of these variables. When merged together, these characters create the clients initials:
FIRST( Client First Name, 1 ) + FIRST( Client Middle Name, 1 ) + FIRST( Client Last
Name, 1 )
In the following example, the first four characters of a clients last name are merged with a case number to create a file
number.
FIRST( Client Last Name, 4 ) + Case Number
467
Replace With
VALUE
"EXAMPLE"
A format example (in quotation marks) you want used with the value. Must be in a format
HotDocs can recognize.
Sometimes you may need to add a date, number, or true/false value to a text value. You can do this by formatting the
date, number, or true/false value as text.
For example, perhaps you want to create a list of items with their associated monetary values. Because these two values
are different in nature, they cannot be added together without first representing the number value as a text value:
""
REPEAT Purchase Information
RESULT + Item Name + ", " + FORMAT( Item Amount, "$9,999.00" ) + "
"
END REPEAT
In this script, HotDocs first sets the computation value to nothing. Then HotDocs repeats Purchase information and then
places the answers for both Item Name and Item Amount (which is formatted to appear as a text value) in the same text
string, separated by a comma. If Purchase Information is answered more than once, HotDocs manually inserts a hard
return (as shown before the END REPEAT) to create a column of amounts.
468
INTEGER( TEXT )
Placeholder
Replace With
TEXT
Sometimes you may have a text value that contains number characters, as in the case of a time of day value. The
INTEGER expression allows you to convert those number characters into numeric values so you can perform calculations
or compare them with other values.
INTEGER searches the beginning of a text string for number characters and converts those it finds to numeric values.
When it encounters a non-number character (such as a letter or punctuation mark) it stops processing the instruction.
For example, if you tried to find the integer of the word cat, the INTEGER expression would return 0 (zero) since there are
no number characters in cat. However, if you used INTEGER on the text value 12:30, it would return the number value 12
since those characters are numbers. (As explained earlier, it stops processing when it reaches a punctuation mark, which
in this case is a colon.)
One of the main uses for the INTEGER expression is to compare time values. In the following computation, HotDocs is
attempting to determine if a given time value falls after 5:30 P.M. Because time values are text values, the Text variable,
Call Time, must first be converted to an integer before it can be used in the comparison:
IF Call Time CONTAINS "p"
INTEGER( Call Time ) + ( INTEGER( MID( Call Time, 1 + POSITION( Call Time, ":" ),
2 ) ) /60 ) > 5.5
ELSE
INTEGER( Call Time ) + ( INTEGER( MID( Call Time, 1 + POSITION( Call Time, ":" ),
2 ) ) /60 ) > 17.5
END IF
In this script, Call Time is a Text variable with a 24-hour or 12-hour time pattern (99:99 or 99:99 A.M.). HotDocs first
determines if Call Time is in the afternoon (P.M.). If it is, the script uses the INTEGER expression to convert all the digit
characters up to the first non-digit character (the colon) into a numeric value. This number represents the hours portion of
the total time. Using the MID expression to locate the two digit characters after the colon, it also converts these characters
into an integer and divides the value by 60. This number represents the minutes portion of the total time. These two
numbers are added together, and if the result is greater than 5.5 (the equivalent of 5:30), the result is true. If the result is
not greater than 5.5, the result is false.
The second portion of the script (after the ELSE expression) performs the same functions on a non-afternoon time value
that is, one that is either in 24-hour format or in the morning (A.M.).
469
Replace With
TEXT
A text value, such as a Text variable, from which the specified number of characters will
be returned. This can be a fixed text value, inside quotation marks.
NUM
A number value, such as a Number variable or a fixed number value. It specifies the
number of characters you want returned.
The LAST expression finds and returns a certain number of characters from the end of a text string.
For example, the following text computation returns the last four digits of a Social Security number:
LAST( Social Security Number, 4 )
In the next example, the user wants to make the answer to Item Type plural. Using the LAST expression, HotDocs checks
to see if the last letter in the value is a specific letter. If so, HotDocs inserts the correct plural suffix.
IF LAST( Item Type, 1 ) = "s" OR LAST( Item Type, 1 ) = "z"
Item Type + "es"
ELSE
Item Type + "s"
END IF
Note:
This example script does not take into consideration words that end in y or x or any other letter that would cause yet
a different result. It is only shown here in its most basic form to demonstrate how the LAST expression functions.
470
LENGTH( TEXT )
Placeholder
Replace With
TEXT
A text value, such as a Text variable. HotDocs counts the characters in this value and
assigns a numeric value.
The LENGTH expression counts the number of charactersincluding spaces and punctuationin a text value, such as a
Text variable.
For example, lets say you want a user to add a descriptive paragraph about the novel he or she has just reviewed. If the
description is brief, youd like to keep it in the same paragraph as the lead-in sentence. However, if the user has much to
say about the novel, you would like to start a new paragraph:
IF LENGTH( Plot Description ) <= 150
The novel's plot description is as follows: Plot Description
ELSE
The novel's plot description is as follows:
Plot Description
END IF
471
Replace With
NUM
NUM
A number value, such as a Number variable (These values can be in any order.)
The MAX expression compares two number values and returns the greater of the two.
In this example, HotDocs returns the value of either the Monthly Salary or the Monthly Expenses, depending on which is
the greater value:
MAX( Monthly Salary, Monthly Expenses )
472
Replace With
TEXT
A text value, such as a Text variable, from which the specified number of characters will
be returned. This can be a fixed text value, inside quotation marks.
NUM
A number value, such as a Number variable or a number you type. This number specifies
where HotDocs starts "returning" characters.
NUM
A number value, such as a Number variable or a number you type. It specifies the
number of characters you want returned.
Like the FIRST and LAST expressions, this expression extracts a specified number of characters from within a text string.
For example, a form template may require that the text variable, Telephone Number (with the telephone number pattern),
be split into three pre-formatted fieldsthe area code, the prefix, and the number. In the following example, three different
computations would be scripted and inserted into the different fields as follows:
MID( Telephone Number, 2, 3 )
MID( Telephone Number, 7, 3 )
LAST( Telephone Number, 4 )
The first computation, which you would place in the area code field, tells HotDocs to include three characters, starting with
the second character (this takes into consideration the opening parenthesis.)
The second computation (the prefix field) starts at the seventh character (again, taking into account the parentheses and
space characters between the area code and the prefix), and inserts the next three characters.
The third expression, which uses the LAST expression, returns the last four digits of the phone number by counting
backwards from the last character.
473
Replace With
NUM
NUM
A number value, such as a Number variable. (These values can be in any order.)
The MIN expression compares two number values and returns the lesser of the two.
In the following number computation, the expression compares the two values, Shipping Costs and Labor Costs, and
returns the lesser of the two values:
MIN( Shipping Costs, Labor Costs )
474
Replace With
DATE
475
Replace With
DATE
DATE
A date value, such as a Date variable. (These values can be in any order.)
The MONTHS FROM expression calculates the number of months between two given dates.
The following example finds the number of months between the judgment date and todayin months:
MONTHS FROM( Judgment Date, TODAY )
476
MULT_CHOICE=TEXT; MULT_CHOICE!=TEXT
Placeholder
Replace With
MULT_CHOICE
TEXT
A text value that is either equal to ( = ) or not equal to ( != ) one of the options in the given
Multiple Choice variable, inside quotation marks.
The MULT_CHOICE = TEXT expression returns true when the user chooses a Multiple Choice option that is equal to ( = )
a given text value. If it is not equal ( != ), the expression returns false. The MULT_CHOICE != TEXT expression functions
in the opposite waytesting instead to see if an answer is not equal to ( != ) a given text value.
In the following True/False expression, if the user chooses Credit Card as the payment method, HotDocs asks the user for
the credit card information:
IF Method of Payment = "Credit Card"
ASK Credit Card Information
END IF
In the next expression, if Credit Card is not chosen as a method of payment, HotDocs inserts a template which can gather
alternate payment information about the user:
IF Method of Payment != "Credit Card"
INSERT "Alt payment method.RTF"
END IF
Note:
When writing this script, you can use the auto-complete functionality to access your list of Multiple Choice options.
Specifically, press Ctrl+Spacebar (after you enter the operator) to display a list of the different Multiple Choice options.
See Use the Script Editor for full details on using auto-complete as you write scripts.
477
NOT TRUE_FALSE
Placeholder
Replace With
TRUE_FALSE
You can use the NOT TRUE_FALSE expression to find out if a True/False variable is false.
In the following script, HotDocs asks whether the user is a United States citizen. If the user is not, HotDocs asks the user
for Visa information:
IF NOT US Citizen
ASK Visa Information
END IF
478
OTHER( MULT_CHOICE_VAR )
Placeholder
Replace With
MULT_CHOICE
A Multiple Choice variable that has either the Other option specified, or the None of the
Above option specified
This expression determines whether the user has chosen the Other option of a Multiple Choice variable and, if so, returns
the text entered in the Other field. It can also be used to test whether the user has selected the None of the Above option.
For example, a user is given a list of lending agents from which to choose. If the user doesnt see the correct name on the
list, he or she can select Other and specify the correct name. HotDocs then asks for the city in which the lending agent
operates, as shown in the following script:
IF Lending Agent = OTHER( Lending Agent )
ASK Lending Agent City
END IF
In this next example, you want to create a list of company representatives. However, if the user doesn't select a company
representative, you want the text No representative selected merged.
""
IF OTHER (Company Representative ) = "None of the Above"
"No representative selected"
ELSE
FORMAT (Company Representative, "a, b, and c")
END IF
479
Replace With
TEXT
TEXT
The POSITION expression finds the position of a certain character or character string in a given text value. It is useful if
you need to find a character you know will be in an answer but are not sure where it will appear. It returns a number value,
which represents the first character.
The following script finds the hyphen in the variable, Case Number, and returns a number value, representing its numeric
position in that given text string.
POSITION( Case Number, "-" )
In the next example, the POSITION expression is used as part of a larger computation to test whether a given time falls
after 5:30 P.M. POSITION locates the colon (:) in the time value so HotDocs can process the text before and after the
colon to find the correct result:
IF Call Time CONTAINS "p"
INTEGER( Call Time ) + ( INTEGER( MID( Call Time, 1 + POSITION( Call Time, ":" ),
2 ) ) /60 ) > 5.5
ELSE
INTEGER( Call Time ) + ( INTEGER( MID( Call Time, 1 + POSITION( Call Time, ":" ),
2 ) ) /60 ) > 17.5
END IF
This script first determines if the value of Call Time is in the afternoon (P.M.). If it is, the script uses the POSITION
expression to locate the first non-digit character (the colon) so the INTEGER expression can convert all of the digit
characters leading up to it into a numeric value.
Once identified, this number represents the hours portion of the total time. Using the MID expression to locate the two
digit characters after the colon, it also converts these characters into an integer and divides the value by 60. This number
represents the minutes portion of the total time. The hours and minutes are added together, and if the result is greater
than 5.5 (the equivalent of 5:30), the result is true. If the result is not greater than 5.5, the result is false.
The second portion of the script (after the ELSE expression) performs the same functions on a non-afternoon time value
that is, one that is either in 24-hour format or in the morning (A.M.).
480
Replace With
NUM
NUM
The exponent (or number that indicates the operation of repeated multiplication)
481
Replace With
NUM
NUM
The REMAINDER expression returns the remainder of a division. If the denominator is a zero, HotDocs generates a
divide by zero error.
In this basic example, HotDocs divides 10 by 3. The remainder of that division is 1:
REMAINDER( 10, 3 )
In this next example, a user enters a time value in number format (such as 6 hours). However, using the REMAINDER
expression (as well as TRUNCATE and ROUND), HotDocs causes the value to appear in hours:minutes format:
FORMAT( TRUNCATE ( Number of Hours, 0 ), "9" ) + ":" +
FORMAT( ROUND ( 60 * REMAINDER( Number of Hours, 1 ), 0 ), "09" )
This script takes the value of Number of Hours, which may have a decimal value, and truncates it to a whole number.
Then, using the REMAINDER expression, Number of Hours is divided by 1 and the remainder of the division is multiplied
by 60 (as in 60 minutes). HotDocs then rounds that value and brings these two values together in a string, separated by a
colon. The value is then formatted correctly.
482
Replace With
TEXT
The name of a Text variable or the string of characters you need to search
TEXT
The text for which you are searching, which may include the following special characters:
\\ -- backslash character
\h -- non-breaking hyphen
\l -- line break
\p -- paragraph mark
\s -- non-breaking space
\t -- tab
TEXT
The text you want to use as a replacement, which may include the following special
characters:
\\ -- backslash character
\h -- non-breaking hyphen
\l -- line break
\p -- paragraph mark
\s -- non-breaking space
\t -- tab
NUM (optional)
This expression lets you search a string of text for a given character string and replace the results with new text.
For example, perhaps you want to take the information in an address block (which will most likely appear as separate
lines) and display it as a single line, with each "part" separated by a comma. The following script removes all line breaks
( \l ) from the Text variable, Multi-Line Address, replaces them with a comma and space, and then SETs that result to the
Text variable Single-Line Address:
SET Single-Line Address TO REPLACE(Multi-Line Address, "\l", ", ")
483
RESULT
As you write computations, you often need HotDocs to acknowledge what the result would be at that point in the script.
You can update this answer by using the RESULT expression.
For example, lets suppose you are creating a list of editors. You want to combine Editor First Name TE and Editor Last
Name TE as well as the literal text Editor:. You must use RESULT to force HotDocs to acknowledge the result of the
computation before you add the next item to the text string:
""
REPEAT Editor Information
RESULT + Editor First Name +
"
END REPEAT
In this computation, the RESULT expression returns the value of Editor First Name and adds it to the value of Editor Last
Name. The RESULT expression updates the list each time a new editor is added to the list. (If no RESULT expression
were used, HotDocs would merge just the first name entered in the list.)
484
Replace With
NUM
NUM
A number value that indicates the number of places (0-7) to the right of the decimal point
after which the number will be rounded
485
Replace With
MULT_CHOICE
NUM
This expression lets you retrieve individual options (answers) selected in a Multiple Choice variable. It returns a text value
that corresponds to the defined answer (as designated by the NUM placeholder).
In the following example, you want to generate a list of employees that have various different work projects they need to
complete. Multiple employees may work on one individual project. Once you have this list, you want to generate a work
list report for each employee on the list.
To accomplish this, you first repeat a dialog (Employee List) that asks which employees are supposed to work on a given
assignment (using the Multiple Choice variable, Employee Names). As HotDocs repeats this list, the UNION expression
adds each selected, original name from each repetition to a new Multiple Choice variable, Unique List.
Once all of the unique answers have been added to Unique List, HotDocs then uses the SELECTION expression to
retrieve each individual answer from Unique List. The result of the script merges these names in a report.
ERASE Unique List
REPEAT Employee List
SET Unique List TO UNION(Unique List, Employee Names )
END REPEAT
ERASE Project Participant
SET Index TO 1
WHILE SELECTION(Unique List, Index ) != ""
SET Project Participant[Index] TO SELECTION(Unique List, Index )
INCREMENT Index
END WHILE
486
Replace With
TEXT
TEXT (optional)
A character or text string that can be used in place of the space character. You can
include the following special characters in your search:
\\ -- backslash character
\h -- non-breaking hyphen
\l -- line break
\p -- paragraph mark
\s -- non-breaking space
\t -- tab
This expression tests whether the variable is answered. If it is, it merges the answer, followed by a space character. If the
variable is unanswered, it merges nothing ("").
For example, perhaps you need to merge a client's full name. Some clients, however, do not have a middle name. You
can create a script that includes this middle name (if it's provided), followed by a space. If no middle name is given,
nothing will be merged.
Client First Name + " " + SPACE(Client Middle Name) + Client Last Name
Sometimes you may want to merge a character other than a space. The second optional parameter for this expression
allows you to specify what this character should be.
In the following example, the script uses the SPACE expression to determine if each of the variables in the address
block are answered. If so, it merges the answer to the variable, followed by a line break character (rather than a space
character). This merges each "part" of the address on its own line.
SPACE(Address Line 1, "\l") +
SPACE(Address Line 2, "\l") +
SPACE(City, ",") + SPACE(State) + SPACE(Zip Code)
487
Replace With
TEXT
The name of a Text variable, or the string of characters you need to search
TEXT
The character or string of characters for which you want to search. You can strip any
alphanumeric characters from a text string, including the following special characters:
(Make sure you include the backslash.)
\\ -- backslash character
\h -- non-breaking hyphen
\l -- line break
\p -- paragraph mark
\s -- non-breaking space
\t -- tab
TRUE_FALSE (optional)
The value of TRUE if characters should be stripped from just the beginning of the text
TRUE_FALSE (optional)
The value of TRUE if characters should be stripped from just the end of the text
This expression removes a specified character or characters from the beginning or end of a text answer. By default,
HotDocs removes the characters from both the beginning and the end of the text. If you want to specify just one or the
other, you must use the TRUE_FALSE parameters.
For example, perhaps you want to remove punctuation or space characters from the end of an answer (because the
punctuation is already included in the document text). The following script will help you accomplish this:
SET Product Description TO STRIP(Product Description, " !.,?", FALSE, TRUE)
Because the FALSE and TRUE parameters are used, HotDocs strips the characters from the end of the answer (TRUE)
and not the beginning (FALSE).
488
SUM( COMPUTATION_VAR )
Placeholder
Replace With
COMPUTATION_VAR
Using the SUM( COMPUTATION_VAR ) expression, you can add computation values that have been repeated.
For example, let's say you have a repeated dialog that contains three variablesItem Name, Item Amount, and Item
Quantity. For each line item, you create a fourth variable, a computation called Total Amount that multiplies Item Amount
by the number of items the user purchases (or Item Quantity). You can then add all of the Total Amount values and
receive one sum total:
SUM( Total Amount )
In order for SUM(COMPUTATION_VAR) to work properly in a template, the script that actually calculates the sum (for
example, the REPEAT instruction) must be processed before the variable containing the SUM expression is asked.
Also, when using RTF templates, headers or footers are always processed before the rest of the template text. This
means that if you are using SUM(COMPUTATION_VAR) in a header or footer, the script that calculates the sum must be
asked in the header or footer.
489
SUM( NUM_VAR )
Placeholder
Replace With
NUM_VAR
Using the SUM expression, you can add repeated number values.
In this computation script, HotDocs totals the values of the repeated Number variable Monthly Payment:
SUM( Monthly Payment )
In the next example, HotDocs then takes the total monthly payments the user is making and compares it to the users
monthly income. If the monthly payments are greater than 36 percent of the monthly income, the loan application is
rejected:
SUM( Monthly Payment ) > ( Monthly Income * 0.36 )
490
Replace With
TEXT
TEXT
A text value, such as a Text variable. Any text you type must be in quotation marks.
The TEXT CONTAINS TEXT expression determines whether the first text value contains the same text as the second
value. If it does, it returns the value of true.
In this example, some states in the United States are officially recognized as commonwealth states. In the following
script, HotDocs examines the answer the user provides for the variable State Name to see if the user has listed one of
these states. If so, HotDocs attaches the correct designation to the merged answer:
IF "massachusetts virginia kentucky pennsylvania" CONTAINS State Name
"The Commonwealth of State Name"
ELSE
"The State of State Name"
END IF
Note:
At first glance, this computation may seem backward. You may think you would test State Name to see if it contains
any of the commonwealths listed in the text string (for example, IF State Name CONTAINS "massachusetts
virginia kentucky pennsylvania"). However, if you used that method, the answer the user assigns to
State Name TE would have to contain everything between the quotation marks"massachusetts virginia kentucky
pennsylvania"and you would never produce a true statement. Of course, you could test State Name against each
individual commonwealth (for example, IF State Name CONTAINS "massachusetts" OR IF State Name
CONTAINS "virginia" and so forth), but by "switching" the values for the placeholders and placing all of the
commonwealths in one text string, you eliminate a lot of repetitive typing.
491
TODAY
This expression returns the current date, according to your computers system clock.
For example, this computation script figures out the number of days between the day the user purchased the item and
todays date (or the date the user assembles the document.)
DAYS FROM( Purchase Date, TODAY )
Note:
You also can create a Date variable called TODAY. See Create a Date Variable that Inserts the Current Date.
492
Replace With
NUM
NUM
A number value specifying the number of places (0-7) to the right of the decimal point at
which to truncate the number
You can truncate a decimal number a specified number of places after a decimal point.
For example, the following script truncates the number 5.9375 to include only the first two digits after the decimal point.
The truncated value is 5.93:
TRUNCATE( 5.9375, 2 )
In the next example, however, a Computation variable tests if the value of Rent Amount includes cents. The variable is
then formatted to eliminate the text AND NO CENTS from being merged when the variable contains only a whole number:
IF Rent Amount = TRUNCATE( Rent Amount, 0 )
FORMAT( Rent Amount, "NINE DOLLARS" )
ELSE
FORMAT( Rent Amount, "NINE DOLLARS AND TWELVE CENTS" )
END IF
Specifically, this computation compares the actual value of Rent Amount against its truncated value. If the values are
equal, HotDocs formats the answer to exclude the text, AND TWELVE CENTS. Otherwise it includes the text in the
format.
Note:
The difference between the TRUNCATE and the ROUND expressions is that TRUNCATE simply "cuts off" a number
at a specified digit, while ROUND actually rounds a number up or down, based on where you want the number
rounded.
493
UNANSWERED
This expression removes an assigned value from a variable. It is used most often with the SET VAR TO VALUE
instruction:
SET Property Value TO UNANSWERED
If you use this instruction, do not allow the user to change the answer by asking the variable in the interview. Because
HotDocs can potentially reprocess the interview several times, the answer the user enters will always be replaced with the
UNANSWERED value. Only use this value if you want a variable to be unanswered in the assembled document.
Note:
Do not confuse the value of UNANSWERED with that of NOT ANSWERED. UNANSWERED is an actual value
assigned to a variable, while NOT ANSWERED (or !ANSWERED) is used to determine whether a value has been
assigned.
494
Replace With
MULT_CHOICE
MULT_CHOICE
This expression creates a single list of all unique options (answers) that have been selected across two or more Multiple
Choice variables.
In the following example, you want to generate a list of employees that have various different work projects they need to
complete. Multiple employees may work on one individual project. Once you have this list, you want to generate a work
list report for each employee on the list.
To accomplish this, you first repeat a dialog (Employee List) that asks which employees are supposed to work on a given
assignment (using the Multiple Choice variable, Employee Names). As HotDocs repeats this list, the UNION expression
adds each selected, original name from each repetition to a new Multiple Choice variable, Unique List.
Once all of the unique answers have been added to Unique List, HotDocs then uses the SELECTION expression to
retrieve each individual answer from Unique List MC. The result of the script merges these names in a report.
ERASE Unique List
REPEAT Employee List
SET Unique List TO UNION( Unique List, Employee Names )
END REPEAT
ERASE Project Participant
SET Index TO 1
WHILE SELECTION( Unique List, Index ) != ""
SET Project Participant[Index] TO SELECTION( Unique List, Index)
INCREMENT Index
END WHILE
495
Replace With
VAR
EXPRESSION (optional)
The specific value you want to assign to the variable if the user leaves it unanswered.
Otherwise, HotDocs will use one of the following default values:
"" for Text variables
0 for Number variables
1 JAN 1800 for Date variables
FALSE for True/False variables
"" for Multiple Choice variables
This expression returns a default value for the variable type if the variable is unanswered. If the variable is answered, the
value is the answer the user specifies.
For example, users will sometimes purposely not answer a question in the interview. However, all variables must be
answered or the script will fail. Using VALUE assigns an answer (albeit a default one) so that the script or expression can
be processed correctly and still return a value.
In the following example, suppose you need to calculate a sum. However, one of the variables in the calculation, Sales
Tax, may not be required in order to produce the result. Since the variable may be left unanswered, you can use the
VALUE expression to assign a default value of 0 to the variable so that the script can be processed correctly.
The optional EXPRESSION placeholder allows you specify the value that should be returned if the user leaves the
question unanswered. Otherwise, HotDocs will use the default value, shown in the table, above.
Services Cost + Product Cost + VALUE( Sales Tax )
496
Replace With
DATE
You can use this expression model to find the year portion of a given date.
For example, in the following script, a new employee has temporary status until the end of his or her third month with the
company. HotDocs uses the YEAR OF expression to specify the year:
DATE OF( 1, MONTH OF( Hire Date + 3 MONTHS ), YEAR OF( Hire Date + 3 MONTHS ) ) - 1
DAYS
In this example, HotDocs finds the first day of the fourth month of employment. HotDocs then subtracts one day to reveal
the last day of the third montheither the 28th, 29th, 30th or 31stdepending on the month. It then merges the new date
into the document.
497
Replace With
DATE
DATE
A date value, such as a Date variable (These values can be in any order.)
This expression calculates the number of years between two given dates.
In the following example, the YEARS FROM expression finds the clients age at the time of the hearing:
YEARS FROM( Hearing Date, Birth Date )
In this next example, the expression determines whether an employee has worked at the company for 25 years or more. If
the employee has, HotDocs merges a paragraph into the document with details of a retirement party:
IF YEARS FROM( Hire Date, Retirement Date ) >= 25
We would like to honor you at a retirement party on Party Date at Party Time at
Party Location.
END IF
498
ZERO( NUM_VAR )
Placeholder
Replace With
NUM
A Number variable
This expression returns the value of zero only if a Number variable is unanswered. If the Number variable is answered,
the value is the answer the user specifies.
For example, users will sometimes leave a Number variable blank instead of entering 0. If the Number variable is then
used in a Computation variable, because it is unanswered, the computation will not be processed. The ZERO expression
ensures the variable is assigned a value so the computation can return a value.
In this example, the ZERO expression is used in the Computation variable Invoice Total to return 0 if the Number variable
Shipping Charge is unanswered.
Total Price + ZERO( Shipping Charge )
Note:
You can suggest default answers for unanswered variables of other types. See VALUE( VAR, EXPRESSION ) for
details.
499
500
Providers.ini
If you are able to establish a connection to a database using an OLE DB provider, but are having trouble accessing
certain data types (most noticeably dates), you can use a file called Providers.ini, which supplies HotDocs with information
specific to each OLE DB provider it accesses. This file augments information not provided by the database and
supersedes HotDocs' own defaults or information which may have been provided by the database.
The Providers.ini file was installed and saved to the HotDocs program folder at the time HotDocs was installed. You can
edit its contents using any text editor. It contains a header explaining the file's syntax and the possible options which
can be specified there. HotDocs queries each OLE DB provider it uses for as much of this information as possible, but
it is possible the information is not supplied. If this is the case, you must create an entry for the OLE DB provider in
Providers.ini. (Examples for doing this are included in the file itself.)
HotDocs needs to know certain details about how to build database commands for a given OLE DB provider. Among
these are:
How the database expects dates to be formatted.
How dates are delimited.
How database literals (table and column names) that contain spaces are delimited.
How schema and/or catalog names are separated from table names.
501
502
2. Click the Components drop-down button and select Databases from the list. The list changes to show only
database components.
3. Click the
6. At the Properties tab of the Database Editor, click the Connection properties are defined by drop-down button
and choose an ADO connection string.
7. Click the
Edit button next to the Connection string box. The Data Link Properties dialog box appears.
Note:
The Data Link Properties dialog box is a standard Windows dialog box designed to set up a connection string. If
you have specific questions about items in this dialog box, click the Help button located in the lower-right corner
of the dialog box.
8. Select the OLE DB provider you need from the list of providers. For example:
a. If you are using a Microsoft Access database, select the Microsoft Jet 4.0 provider.
b. If you are using a SQL Server, select the Microsoft Provider for SQL Server.
c. If you are using an Oracle database, select the Oracle Provider for OLE DB.
d. For all other integrations, refer to the documentation for your specific database for help in identifying the correct
provider.
9. Click Next. HotDocs displays the Connection tab of the Data Link Properties dialog box.
Copyright 2010 HotDocs Ltd. All rights reserved
503
10. Depending on which OLE DB provider you selected, enter the required information about the data source to which
you are linking, including selecting the actual database file.
11. When finished entering this information, click OK. The Database Editor appears again, showing the ADO
connection string that will link your template to the database. (This connection string is encrypted when it is saved in
the component file, but it will always appear in the Database Editor as plain text.)
12. Click the Field Map tab. The window changes to show how fields in the table will be linked to variables in the
template.
13. At the Table name drop-down list, select the table to which you want to connect. The information from that table
appears in the Field Name column.
Once you have created the database component and associated a table with it, you must link variables in the template to
fields in the database table. (See Link Variables to Database Fields). You also must designate a unique field in the table
as the key field, which will allow HotDocs to remember which record the user selects during assembly. (See Remember
Selected Records.)
Note:
Database connections in HotDocs 5 were maintained using a data presentation layer known as ODBC, or Open
Database Connectivity. The ADO-based connection in HotDocs 10 allows you to continue using ODBC by using
the OLE DB provider for ODBC, rather than a native OLE DB provider for the specific database. Maintaining this
type of connection may be useful when a native OLE DB provider may either be incompatible or unavailable
for you to use. (See Create a Database Component Using ODBC.) However, it is recommended that, where
possible, you update all existing ODBC-based connections to use a native OLE DB provider for the database
program you are using. (See Convert ODBC-based Connections to ADO.)
You can save ADO connection information in a Microsoft Data Link (.UDL) file. This may be useful if you plan
to distribute your templates and databases to users whose systems may not be configured the same as yours.
Because the connection information is saved in a file separate from the component file, it will make it easier for
users without component-editing capabilities to update their connections. See Save ADO Connection Information
in a Separate File for details.
If your connection to the database requires you to enter a user name, password, or other options, you can enter
them at the Options tab of the Database Editor instead of including them in the connection string. See Specify a
User Name and Password for a Database.
504
1. Click Start > Settings > Control Panel and navigate to the Data Source Administrator dialog box. How you do
this depends on which operating system you are using:
a. Windows 2000: Click Settings > Control Panel. The Control Panel dialog box appears. Then double-click
the Administrative Tools icon. The Administrative Tools dialog box appears. Finally, double-click the Data
Sources (ODBC) icon. The Data Source Administrator dialog box appears.
b. Windows XP: Click Settings > Control Panel > Administrative Tools > Data Sources (ODBC). The ODBC
Data Source Administrator dialog box appears.
c. Windows Vista: Click Start > Programs > Administrative Tools > Data Sources (ODBC). The ODBC Data
Source Administrator dialog box appears.
2. With the Data Source Administrator dialog box displayed (and the User DSN or System DSN tab selected), click
Add. The Create New Data Source dialog box appears.
3. Select the driver you need and click Finish. The ODBC Setup dialog box appears.
4. Type a unique name for the data source in the Data Source Name box.
5. If the ODBC Setup dialog box includes database version options, select the version you are using.
6. Specify the database (or the folder containing the database tables) you want to use. The procedure varies
depending on the driver you selected.
7. At the ODBC Setup dialog box, click OK to return to the Data Source Administrator dialog box. The new data
source is added to the list of data sources.
8. Click OK at the Data Source Administrator dialog box and close the Control Panel window (if it's open).
9. Open the template you want to connect to the database. (See Edit a Template.)
10. Click the
Component Manager button in the HotDocs toolbar. The Component Manager window appears.
505
11. Click the Components drop-down button and select Databases from the list. The list changes to show only
database components.
13. Type a name for the component in the Component name box.
14. Optionally, perform the following tasks:
In the Title box, enter a title for the database component. The title will be used in the interview outline and
dialog title bar.
In the Prompt box, type the information about the database table you want the user to see. This information
will appear above the database table in the assembly window. (See Create a Prompt for a Variable.)
Click the Resource tab and provide a resource option. A resource helps the user know what type answer to
select. (See Add Resource Information to a Variable or Dialog.)
15. From the Connection properties are defined by drop-down list, select an ODBC data source.
16. From the ODBC Data Source Name (DSN) drop-down list, select the name of the data source you created earlier.
17. Click the Field Map tab. The window changes to show how fields in the table will be mapped to variables in the
template.
18. At the Table name drop-down list, select the name of the table you want to use. The information from that table
appears in the Field Name column.
Once you have created the database component and associated a table with it, you must link variables in the template to
fields in the database table. (See Link Variables to Database Fields). You also must designate a unique field in the table
as the key field, which will allow HotDocs to remember which record the user selects during assembly. (See Remember
Selected Records.)
Note:
If your connection to the database requires you to enter a user name, password, or other options you do not wish
to include in the ODBC data source, you can enter them at the Options tab of the Database Editor. See Specify
a User Name and Password for a Database.
In order for HotDocs to remember which records your users have selected during assembly, you must assign a
key field. For information on doing this, see Remember Selected Records.
506
1. Using the Database Editor, define the ADO-based connection string. (See Create a Database Component Using
ADO.)
Save button next to the Connection string box. The Save Microsoft Data Link File
3. Specify the location where you want to save the file, type a name for it, and click Save. The file is created.
4. At the Database Editor, click the Connection properties are defined by drop-down button and select a Microsoft
Data Link (.udl) file.
5. Click the
Open button next to the Microsoft Data Link file box and locate the data link file. The component now
looks in this separate file for connection information.
Note:
To edit a data link file, you or your user can double-click the file in Windows Explorer and make the changes in the
Data Link Properties dialog box.
Caution:
Microsoft Data Link (.UDL) files are plain text files. If you use a data link file to store your connection information, you
should be sure sensitive information, such as database user names and passwords, are not specified in the UDL file.
Specify this information in the database component instead, where it will be safely encrypted. See Specify a User
Name and Password for a Database for details.
507
1. Convert the template to HotDocs 2009-10 format by editing it. (See Edit a Template.) (You can do this by clicking
Start > Programs > HotDocs 10 > HotDocs. Once the template library appears, you can either add your HotDocs
5 template to the library, or you can open an entire library of HotDocs 5 templates using HotDocs 10. See Add
Templates and Other Files to a Library or Open a Library for instructions.)
2. Once the template is converted to HotDocs 2009-10 format, open the existing database component for editing. (See
Edit a Database Component.) The Database Editor appears.
3. At the Properties tab of the Database Editor, click the Connection properties are defined by drop-down button
and select an ADO connection string.
4. Click the
Edit button next to the Connection string box. The Data Link Properties dialog box appears.
5. Select the provider that corresponds to your database program. (If you are using a Microsoft Access database,
select the Microsoft Jet 4.0 provider. If you are using a SQL Server, select the Microsoft Provider for SQL Server.
If you are using an Oracle database, select the Oracle Provider for OLE DB. For all other integrations, refer to the
documentation for your specific database for help in identifying the correct provider.)
6. Click Next. The Connection tab of the Data Link Properties dialog box appears.
7. Specify the correct database information, following the on-screen instructions provided for your specific provider and
click OK. The Database Editor appears again. Once the new connection information is specified, HotDocs should
maintain all existing properties of the component.
8. Check the different properties of the database component (such as field mappings and database options) and then
click OK to close the Database Editor.
508
Component Manager button. The Component Manager window appears. (See Open
and Close Component Manager.)
2. Select the database component from the list of components and click the
509
1. Open the database component you want to link to the database table. (See Edit a Database Component.) The
Database Editor appears.
2. Click the Field Map tab. The window changes to show the fields in the table as well as the variables in the template.
3. In the Linked Variable column, click the drop-down button that corresponds to the database field to which you want
to link.
6. Repeat this process for every variable that can be answered using data from the database table.
Note:
In order for HotDocs to remember which records your users have selected during assembly, you must assign a
key field. For information on doing this, see Remember Selected Records.
In HotDocs, NULL values retrieved from a database are considered unanswered while empty string values ("")
are considered answered, but empty.
When HotDocs queries the database, it retrieves every record from the table, displays them for the user, and
then disconnects from the database. Because of this, you should use a filter on your database component to
minimize the number of records that are initially retrieved. (If filtering is not an option but you still want to avoid
retrieving all records at once, you can click the Options tab of the Database Editor and clear Use disconnected
(client) record set. Be aware, however, that clearing this option can impact the speed with which the user can
scroll through and filter large data sets. It also prohibits the user from sorting the data.) (See Choose a Database
Cursor for more details.)
510
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Field Map tab. The window changes to show a list of database fields and their related template variables.
3. In the Key column, select the box next to the field you want to designate as the key.
Caution:
If you think you may need an exact replica of a document assembled from a template that includes a database
component, be sure to save a copy of the document. If you try to reassemble the document later, even if you use the
same answer file, the document may not come out exactly the same because the information stored in the connected
database may have changed.
Note:
If no single field in the table or view can uniquely identify a selected record, choose multiple keys, making sure the
combination of information in those fields will be unique for every record.
511
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Properties tab. The window changes to show the main properties of the database component.
3. Select Allow database write-back.
4. Click the Field Map tab. The mapping spreadsheet appears. By default, all linked variables are set to never allow
write-back.
5. For each variable's answer you want to save back to the database, click the Write-back drop-down button and
choose the option you need:
Never keeps the answer from being written back to the database if it is changed.
Always always writes the answer back to the database if it is changed. The user will not be notified or
prompted of the change.
Prompt displays a dialog box that lets the user decide if the changed answer should be written back to the
database.
Note:
To allow users to change answers retrieved from the database, select Treat linked variables as asked: Never at the
Options tab of the Database Editor.
512
1. Open a database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Options tab. The window changes to show several component options.
3. Make changes as explained in the following table:
To
Do This
Select Automatically select all filtered records. (See Merge Filtered Records into
the Document Automatically.)
Select Use disconnected (client) record set. (See Choose a Database Cursor.)
Select Allow sorting by end user. Users can then, during assembly, click column
headings in the table and have the records sort in alphanumeric order. They can also
control the order records will be merged into the assembled document.
Select Allow filtering by end user. This level of filtering does not affect any filters
you have used to retrieve the data from the databaseit only affects the records the
user is viewing at the assembly window.
Click the Treat linked variables as asked drop-down button and select one of the
following options: Always (HotDocs considers linked variables as always askedit
will not ask them, even if the database does not contain an answer), Never (HotDocs
considers linked variables as never askedit will ask them, even if the database
contains an answer), or Only if Answered from Database (HotDocs asks a linked
513
To
Do This
variable if no answer for the variable exists in the database). (See Ask Variables
Already Answered by the Database.)
Type the user name and password in the User name and Password boxes,
respectively. This information is encrypted and saved in the component file. (See
Specify a User Name and Password for a Database.)
Note:
In order for HotDocs to remember which records your users have selected during assembly, you must assign a key
field. For information on doing this, see Remember Selected Records.
514
If the merge field is a Text variable, Multiple Choice variable or text computation, the merge field is simply
replaced by an empty text string.
If the merge field is a Number variable or number computation, it is replaced by a zero (0) when the command
is issued. If the merge field is a True/False variable or a true/false computation, it is replaced by the false
portion of its example format.
If the merge field is a Date variable or date computation, it is replaced by its example format if one is specified;
if no format is specified, it is replaced by a generic date in the format expected by the OLE DB provider, as
specified in the file Providers.ini. (Click here for more information.)
Caution:
While it might be possible to merge a text computation that would vary the number of columns, or the column names or
types, that were returned by a command, doing so will prevent HotDocs from properly linking those fields to HotDocs
variables. Therefore, HotDocs answers merged into custom commands should only be used to limit or order the
results, not to change the scope of the command.
To create a database component using a custom command
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. From the Command type drop-down list (found on the Properties tab), select User-defined (SQL or custom).
3. Click the Command tab and type the custom command, following the guidelines outlined earlier. Use the command
to retrieve the fields from the table. (Click here for an example of a custom command.)
Once the command script is correct and HotDocs has executed the command, the contents of the Field Map tab are
updated to show both the fields in the database and the variables in the template. You can then link your variables to
fields. See Link Variables to Database Fields.
Copyright 2010 HotDocs Ltd. All rights reserved
515
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Field Map tab. The window changes to show the options for linking template variables to database fields.
3. In the Display column, clear the check boxes next to the fields you don't want to appear during assembly. Notice the
fields are removed from the list of fields in the Field display order list.
Do This
In the Field display order box, select a field name and drag it to a different location.
Enter the number of units in the Width column. This number must be larger than the
number of characters in the column name.
Click Test. HotDocs displays the database table in the test assembly window.
Note:
If you are using a custom command, you control the order fields appear in the table using the command script
not by rearranging fields in the Field display order box. See Use a Custom Command to Retrieve Data from a
Database for details.
In order for HotDocs to remember which records your users have selected during assembly, you must assign a
key field. For information on doing this, see Remember Selected Records.
When specifying the column width, please note that one unit is about equal to the width of the character 5.
516
1. Open the existing database component for editing. (See Edit a Database Component.) The Database Editor
appears.
2. Click the Options tab. The window changes to show several options for the component.
3. Select Automatically refresh linked answers.
517
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Sort & Filter tab. The window changes to show sorting and filtering options.
3. Click the Filter by Field drop-down button and select the database field you want to use as a filter.
4. Click the Comparison drop-down button and select the type of comparison operator you want to use.
5. Click the Compared to drop-down button and select a value to which you want to compare the field. (This list of
values matches the data type of the field you are using as a filter. If you selected IS EMPTY or IS NOT EMPTY as a
comparison operator, you do not need to select a value here.)
6. Optionally, include another condition for the filter by selecting AND or OR from the first drop-down list of the second
row and completing the condition, just as you did earlier.
Note:
Each filter can have up to five comparison conditions, with each condition connected to the preceding condition
by the keyword AND or OR. When two conditions are connected by AND, they both must return true in order for
a record to be selected. If two conditions are connected by OR, only one of the conditions must be true in order
for a record to be selected. If the filter has multiple conditions, some connected by AND and others by OR, the
conditions connected by AND will be required first, followed by the conditions connected by OR.
7. Optionally, click Test to test the filter. You will see a list of records as it will be presented to the user during
assembly. (See Test Individual Variables.)
In addition to creating a filter yourself, you can allow the user to create his or her own filter during assembly. Filtering
options will appear in the interview for the user to select. To do this, select Allow filtering by end user at the Options
tab.
Note:
You can use a variable in a filter when you want to make the filter dependent on information the user enters
during assembly. For example, you could create a filter to display only those customers located in a particular
state, and users could specify different states each time they assemble a document.
If you have used multiple filters, you can remove all of them by clicking Clear All Filters. To remove a single
filter, click that specific filter's Field drop-down button and select the blank line at the top.
If you are filtering a repeated database component, you can also assign filtering instructions at the REPEAT
Field dialog box. For information about doing this, see Tips on Filtering and Sorting Repeated Database
Components.
518
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Options tab. The window changes to show several database component options.
3. In the Connection Options group, type the user name in the User name box.
4. Type the password in the Password box.
Caution:
You can choose to store the username and password in the connection string (by entering them at the Data Link
Properties dialog box). However, ADO connection strings are always displayed in plain text in the Database
Editor, so anyone with component editing capabilities will be able to view the database password in plain text.
(Passwords entered at the Options tab of the Database Editor are masked, though.)
If you must supply a database password for an Access database, you specify it at the All tab of the Data Link
Properties dialog box. (You can access this dialog box by clicking the
Database Editor.)
519
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Sort & Filter tab. The window changes to show sorting and filtering options.
3. Click the first Sort by drop-down button and select the field on which you want to sort.
4. Click the second Sort by drop-down button and select Ascending or Descending.
5. Optionally, to sort on a second level, select a field at the Then by drop-down list and then choose Ascending or
Descending.
You can let users sort their own records. To allow this, select Allow sorting by end user at the Options tab of the
Database Editor.
520
1. Select the text (including variables, instructions, and so forth) you want repeated using information from different
records and click the
Edit Component button to open the database component for editing. The Database Editor appears.
521
522
1. Repeat the variables you want answered by the database. (See Generate a List of Records in an Assembled
Document.)
2. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
3. Click the Options tab. The window changes to show several database component options.
4. Select Allow multiple selections and then select Automatically select all filtered records.
Now, when your user assembles a document, any records that meet the filter condition are automatically selected and
used to set linked variablesthe table of records will not appear during assembly.
523
1. Open the database component for editing. (See Edit a Database Component.) The Database Editor appears.
2. Click the Options tab. The window changes to show several database component options.
3. Click the Treat linked variables as asked drop-down button and select one of the following options:
Choose Never to have HotDocs never consider linked variables as askedit will ask them elsewhere in the
interview, even if the database contains an answer.
Choose Always to have HotDocs always consider linked variables as askedit will not ask them elsewhere in
the interview, even if the database does not contain an answer.
Choose Only if Answered from Database to have HotDocs ask a linked variable if no answer for the variable
exists in the database.
524
1. Create database components for two tables in your database. (See Create a Database Component Using ADO and
Link Variables to Database Fields.)
2. Open the database component for the database table from which you want the user to choose a record. (See Edit a
Database Component.)
3. Click the Field Map tab and link the related (or common) field to a variable in the template.
Note:
If no variable exists, create it by clicking the Linked Variable cell and then clicking the
New Component
button. HotDocs automatically creates a variable that matchesas closely as possiblethe properties of the
field. The variable is created, but not inserted into the template, and the field is linked to it.
4. Open the other database component for editing. (This is the database from which you want to select related
records.) The Database Editor appears.
5. Click the Sort & Filter tab. The window changes to show sorting and filtering options.
6. Click the Filter by Field drop-down button and select the related field.
7. Click the Comparison drop-down button and select EQUAL from the list of comparison operators.
8. Click the Compared to drop-down button and select the variable that corresponds to the related fields.
9. At each Database Editor, click OK to close both windows.
Note:
If you are retrieving answers from multiple records, you can have HotDocs automatically select all the records
that meet the filtered condition and merge them into the document. To do this, open the database component
that contains the filter (this is the database component you don't want displayed during assembly) and select
Automatically select all filtered records. (See Merge Filtered Records into the Document Automatically for
more details on using this option.)
See Custom Command Sample for an example of a custom command that actually joins two database tables.
525
1. Position the cursor at the point in the template where you want the table to be asked (for example, at the top of the
template).
2. Click the
526
1. Open the existing database component for editing. (See Edit a Database Component.) The Database Editor
appears.
2. Click the Options tab. The window changes to show several options for the component.
3. Choose one of the following options:
Copyright 2010 HotDocs Ltd. All rights reserved
527
528
529
5. Click the Result tab to see the answer that would be merged in the assembled document.
6. Optionally, place your cursor in the answer field and click the
Arrange button.
530
1. At the Computation Editor, enter your computation or script. (See Customize a Computation Variable and Use the
Script Editor.)
Arrange button.
531
1. Edit the dialog you want to test. (See Edit a Custom Dialog.)
2. At the dialog, click Test. HotDocs opens a test assembly window, which shows the different components of the
dialog you are editing.
3. Make sure variable prompts, dialog elements, and check boxes appear correctly.
4. Optionally, select the dialog icon in the interview outline and click the
5. If you've created a dialog script, type information in the answer fields to make sure the script is updating the dialog
correctly.
Note:
You can save your test answers in a test answer file. See Use a Test Answer File.
You can have HotDocs arrange the test assembly window with other open windows. Adjust the height of the test
assembly window and then click the
Arrange button.
532
2. If you have created a custom interview, you can view the template's variables and dialogs in the left pane (or
interview outline) and the corresponding answer fields in the right pane (or dialog pane). Answer questions as they
are presented.
3. Click the Form Document tab to see the assembled document, just as the user will.
4. Optionally, click or tab through the fields in the Form Document tab to fill the form directly.
5. Choose Close (File menu) to close the test assembly window, or switch windows to return to the template.
Note:
You can save your test answers in a test answer file. See Use a Test Answer File.
As you complete the interview, you can move between dialogs by clicking dialog icons in the interview outline, by
clicking the Next or Previous buttons in the navigation bar, or by pressing Alt+N or Alt+P.
To test a template for online assembly, press the Shift key while clicking the
View an Interview in a Web Browser.)
You can have HotDocs arrange the test assembly window with other open windows. Adjust the height of the test
assembly window and then click the
Arrange button.
When you test assemble a document from a template, if HotDocs finds any syntax errors in the template,
it displays a warning message, which allows you to go to the place in the template where the error occurs.
You must fix the error before HotDocs will let you continue. (See Understand and Resolve Syntax Errors in a
Template or Script.)
In Microsoft Word, you can also test assemble a document either by clicking on the HotDocs drop-down menu
in the HotDocs toolbar and choosing Test Assemble, or by right-clicking in the template and choosing Test
Assemble from the shortcut menu.
If you receive an error message that includes a field number, you can quickly go to that field in the template. To
do this, click the
533
1. Test assemble a variable, dialog, or template by entering answers for each question.
2. When finished, close the assembly window. HotDocs asks if you want to save your answers.
3. Click Save or Save As. The Save Answer File dialog box appears.
4. In the File name box, type Test Answer File.
5. In the Title box, enter a title or accept the suggestion HotDocs makes.
6. Click OK.
Now, whenever you test assemble in HotDocs, this answer file will be used and you will not be prompted to save your
answers. To use a different answer file, click either the New Answers button or the
Open Answers button in the
test assembly window toolbar. If you use an existing answer file other than Test Answer File, HotDocs will use this answer
file for each test assembly, but you will be prompted to save any changes you have made to the file when you close the
assembly window.
534
1. At the template you are editing, test assemble a variable, dialog, computation script, or template.
2. Place your cursor in an answer field (or select a dialog in the interview outline) and click the
Edit Component
button. HotDocs displays the component editor for that specific component.
3. Make any desired changes to a component or the template text and click Update. HotDocs makes the changes in
the test assembly window.
Arrange button.
535
536
537
1. Open the text or form template for editing. (See Edit a Template.)
2. Complete the following steps, depending on where you need to insert the DEBUG instruction:
If you are inserting a DEBUG instruction in a text template, place your cursor where you want to begin
debugging. Click the HotDocs menu and choose Other Field from the list of options. Choose DEBUG from the
Field type drop-down menu. Click OK.
If you are inserting a DEBUG instruction in a form template, create a field on the form where you want to begin
debugging. Select the field and click the
Field Properties button. In the Variable box, type DEBUG. (Close
the Field Properties dialog box when you are finished.)
If you are inserting a DEBUG instruction in a script, edit the computation or dialog whose script you want to
debug. Insert the DEBUG instruction at the place in the script where you want to begin debugging.
3. Click the
Test Assemble button. (If debugging a script, click the Test button.) The test assembly window
appears, along with the HotDocs Debugger window, which stops at the field following the DEBUG instruction. (If the
Debugger window does not appear, make sure debugging is enabled by clicking the
in the assembly window toolbar.)
4. Step through the template or script using the Debugger. (See Step Through a Template or Script.)
538
Enable
To debug your template or script using a certain set of answers, first test assemble and then save your answers in a test
answer file. (See Use a Test Answer File.) Then debug your template. (See Insert Debugging Instructions in Templates
and Scripts.)
To step through a template or script
1. Insert a DEBUG instruction in the script or template and then test assemble the template. (See Insert Debugging
Instructions in Templates and Scripts.)
2. When the HotDocs Debugger window appears, complete any of the following tasks:
To
Do This
539
To
Do This
As you step into components and instructions, you will notice that you are adding
these levels of processing to the processing stack (which is a sequential list of
templates and components you are processing).
Click
Step Over. The Debugger will not step through any computations or
subtemplates referenced in the field unless it encounters another explicit DEBUG
instruction.
For example, if you step over a computation field but the computation script includes
a DEBUG instruction, HotDocs will stop at the DEBUG instruction in the computation
script.
Click
Step Out. The Debugger will move you out of the current level of debugging
and move you to the next item down on the processing stack (which is a sequential
list of templates and components you are processing).
For example, if you are debugging a computation in an inserted template, clicking
Step Out will move you out of the computation and back to the inserted template.
If you click
Stop processing
any current DEBUG
instructions
Step Out again, the Debugger will return you to the parent template.
Click Continue. HotDocs continues processing the interview until it either finds
another explicit DEBUG instruction (which will cause the Debugger to appear again)
or it finishes processing the template.
Caution:
Changing answers in the interview may cause HotDocs to reprocess the interview,
thus triggering another debug session. To keep this from happening, close the
Debugger window and either remove the DEBUG instruction from the template
or script, or disable the Debugger. (To do this, click the
button in the test assembly window toolbar.)
Enable Debugging
Click Stop. HotDocs closes the Debugger window and disables the Debugger. You
are returned to the test assembly window.
Note:
You can start the Debugger again by clicking the
the test assembly window toolbar.
Click the Default Watch List tab, which shows a list of variables referenced in the
field or script as well as any answers for the variables.
Click the Custom Watch List tab. See Add Variables to the Debugger Watch List for
details.
As HotDocs processes REPEAT instructions, it displays the value for the current
iteration (or index) in the Answer column. As you step through the REPEAT
instruction, you can watch the Debugger increment this index. The Debugger also
displays the REPEAT COUNTER.
540
To
Do This
541
1. At the Debugger window, click the Custom Watch List tab. The tab changes to show the list of specific variables
you want to watch.
2. In the Watch pane, right-click and choose Add or Remove Variables from the shortcut menu. The Add or Remove
Variables dialog box appears, showing a list of all the variables in the current component file. (You can filter this list
by clicking the Variables drop-down button and choosing a variable type.)
Add Variables button. The variable is added to the Variables to watch list.
4. Add as many variables as you want to monitor and click OK when you are finished. The variables are added to the
Custom Watch List tab.
Note:
To remove a variable from the custom watch list, select the variable and click the
Remove Variables button. You
can also select a variable at the Watch pane, right-click, and choose Remove Selected Variable from the shortcut
menu.
542
543
3. Click the Variable Usage tab. The view changes to show the validation options.
4. Select Enable variable usage tracking. This generates the variable lists.
5. Review the usage lists and make any necessary corrections to the template or interview script.
6. Optionally, to review the variable's properties, including seeing which dialog links to it, double-click the variable.
544
2. Answer questions in a way that causes the interview to update differently based on your answers.
3. Click the
4. Click the Warnings tab. HotDocs displays a window that contains items for which you can check, as well as a list of
actual problems that were found when HotDocs processed the interview.
5. Select a warning from the Warnings in interview list and click Go to Warning. HotDocs takes you to the place in
the template where the potential problem exists. If the problem is in a component, HotDocs opens the component
editor so you can make the changes.
Note:
If you receive an error that includes a field number, you can quickly go to that specific field in the template by clicking
the
Go To Field button in the HotDocs Edit toolbar. See Go to a Specific Field in the Template for details.
545
3. Click the Go to Template tab. The view changes to show the options available.
4. Select Enable Go to Template.
5. Click the Document Preview tab to view the assembled document.
6. Place your cursor in the document where you want to review the corresponding automation and click Go to
Template. The template window comes to the front and inserts your cursor at the specified location.
Caution:
Selecting Enable Go to Template inserts several hidden field markers in the assembled document that allow HotDocs
to find the correct location in the template when you click Go to Template. (To see these markers, you can right-click
in the assembled document and choose Show Codes.) If you send a test assembled document to Word with this
option enabled, the field markers will appear (albeit hidden) in the new Word document. If you don't want these hidden
markers in the document, clear this option before sending the document to Word. (Of course, these markers will not
appear in a document assembled regularly.)
546
Manage Templates
Template Manager allows you to view a list of items referenced in a library. This view includes templates and any files
referenced by the templates, including component files, inserted templates, clauses, clause libraries, and so forth.
Template Manager can also report any problems it finds with files you are managing.
You can use Template Manager to convert multiple documents either to HotDocs 2009-10 format or to RTF. Additionally,
you can use Template Manager to rename templates. Using Template Manager to do these tasks can ensure that any
changes you make in one file will be reflected in any other files referenced by it.
Manage Components
Template Manager provides a comprehensive overview of component usage in templates, inserted templates, clause
libraries, and component files, as well as the dependencies between all these files. You can also copy components to
multiple files at once to ensure consistency across templates and component files. Likewise, you can rename components
Copyright 2010 HotDocs Ltd. All rights reserved
547
in multiple files. When you rename a component, the change is also reflected in the corresponding template files.
Additionally, you can single out unused components so you can delete them from the component files, which can reduce
the number of components with which you must work in a given file. Finally, you can modify the properties of several
component files at once.
548
1. At the HotDocs template library, select the library items you want to work with and click the
Template Manager
button. A dialog appears telling you that HotDocs is building a component database. (Depending on the number of
files in the library, this process may take several minutes.)
If it encounters any errors when compiling the database, HotDocs displays an option to view the Error Report,
which appears in a temporary text file. The report lists the folder path and file names of the files that contained
the errors.
If it doesn't encounter any errors when compiling the database, it launches Template Manager.
2. Once Template Manager appears, you can perform any number of tasks, such as:
View the contents of a Template Manager window.
Work with Template Manager.
Convert multiple templates to work with HotDocs 10.
Convert templates and clauses to Microsoft RTF.
Rename templates.
Copy and paste components.
Rename components.
Delete components.
To close Template Manager, click the X in the upper-right corner of the Template Manager window.
549
red marker next to the components used in the selected file. Likewise, when you
select a component, HotDocs displays a red marker next to the file or files that use that component either directly or
indirectly (for example, you may have an inserted template that uses that component).
As you examine templates and components in Template Manager, you can customize your view of the window. See
Template Manager Toolbar for details.
icon.)
In this example, the template, Introductory Instructions Series, is expanded to show the template's component file
(Introdur.cmp) and an inserted template (Table.rtf, which includes an ASSEMBLE instruction to assemble Table1.rtf). It
also shows that a clause library with several clauses has been inserted (Introdur.hdl).
Where there are problems with a specific file, such as the file is referenced either in the library or a template, but doesn't
actually exist on disk, Template Manager overlays a warning on the file icon. (Click here for an explanation of the different
template status icons used.)
You can choose to view either file titles or file names. Right-click anywhere in the file list and choose your preference.
Additionally, you can copy information about the files you're exploring to another program, such as Notepad or the word
processor by choosing Copy as Text from the shortcut menu.
While viewing the file list, you can:
Convert multiple earlier versions of HotDocs templates to HotDocs 10 format.
Convert multiple templates to Microsoft RTF.
Rename templates using Template Manager.
Modify component file properties across multiple files.
550
551
Open Window
Description
Opens a new Template Manager window that shows only the components for the files
you've selected in the file list. This makes it easier to copy components between files
and helps control the number of files and components you are viewing. You can have as
many windows open as necesary.
Expand All
Expands the list to show all top-level entries in the list with their related files.
Collapse All
Collapses the list to show only the top-level entries in the list.
Component Manager
Opens the Component File Properties dialog box so you can modify properties across
multiple files at once.
Convert Files
Converts the selected files to either the latest version of HotDocs or to RTF format.
Copy Components
Paste Components
Rename
Delete
Focus
Shows only the components for the selected template or group of templates. (Click
Focus again to show all components.)
Components drop-down
list
Refresh
Regenerates the component database and updates the contents of the Template
Manager window if you've made any changes.
552
Options
Changes specific settings for what information Template Manager displays in the
components list.
553
554
1. Back up the templates you want to convert by copying them to a different location.
2. Open the library containing the templates you want to convert. (See Create a Library and Add Templates and Other
Files to a Library.)
3. Click the top folder in the library and launch Template Manager. (See Open and Close Template Manager.) The
Template Manager window appears.
4. In the file list, select the templates you want convert. (To select all, press Ctrl+A.)
5. Click the
6. The Convert component files to work with HotDocs 10 option is always selected by default. (This is correct.)
7. Optionally, select one of the options to convert the Word or WordPerfect templates to RTF. (See Convert Templates
and Clauses to Microsoft RTF for details about this kind of conversion.)
8. Click OK. HotDocs converts all the selected files (and any dependent files referenced by the templates) to HotDocs
2009-10 format.
555
1. Back up the templates you want to convert by copying them to a different location.
2. Open the library containing the templates you want to convert. (See Create a New Library By Exporting Part of an
Existing Library and Add Templates and Other Files to a Library.)
3. Click the top folder in the library and launch Template Manager. (See Open and Close Template Manager.) The
Template Manager window appears.
4. In the file list, select the templates you want to convert and click the
5. Select Convert WordPerfect templates and clauses to MS Word RTF to convert your WPTs to RTF.
6. Select Convert MS Word DOT templates and clauses to RTF to convert your DOTs to RTF. HotDocs lists the files
that will be converted in the box below these options.
7. Click OK. Template Manager confirms that you want to convert the files.
8. Click Yes to continue.
Copyright 2010 HotDocs Ltd. All rights reserved
556
Template Manager converts the templates (and clauses) to the new format. As it does this, it opens each template file in
Word and makes the necessary updates. Once it finishes converting the templates, it refreshes the Template Manager
database. When conversion is complete, you are returned to the Template Manager window.
557
1. Start Template Manager. (See Open and Close Template Manager.) Template Manager opens.
Note:
You should select all of the templates in the library before starting Template Manager. This makes it easier to
update file names throughout the template set.
2. Optionally, right-click anywhere in the file list and choose Show File Names from the shortcut menu. This lists
templates by file name rather than title, making it easier to identify which files you want to rename.
3. Select the file you want to rename from the file list and click
4. Type the new file name in the New file name box. Do not include a file name extension.
5. As you enter the new file name, Template Manager updates the file list below so you can see which files will be
updated.
6. Click Rename. Template Manager renames all the appropriate files and updates references in the template library. It
also searches through other files in the library and updates any INSERT or ASSEMBLE instructions with the new file
name information.
Note:
If you are renaming a template whose component file is pointed to a shared component file, Template Manager will
rename the pointed component file and repoint it to the shared file.
558
Manage Templates
Template Manager allows you to view a list of items referenced in a library. This view includes templates and any files
referenced by the templates, including component files, inserted templates, clauses, clause libraries, and so forth.
Template Manager can also report any problems it finds with files you are managing.
You can use Template Manager to convert multiple documents either to HotDocs 2009-10 format or to RTF. Additionally,
you can use Template Manager to rename templates. Using Template Manager to do these tasks can ensure that any
changes you make in one file will be reflected in any other files referenced by it.
Manage Components
Template Manager provides a comprehensive overview of component usage in templates, inserted templates, clause
libraries, and component files, as well as the dependencies between all these files. You can also copy components to
multiple files at once to ensure consistency across templates and component files. Likewise, you can rename components
Copyright 2010 HotDocs Ltd. All rights reserved
559
in multiple files. When you rename a component, the change is also reflected in the corresponding template files.
Additionally, you can single out unused components so you can delete them from the component files, which can reduce
the number of components with which you must work in a given file. Finally, you can modify the properties of several
component files at once.
560
1. At the HotDocs template library, select the library items you want to work with and click the
Template Manager
button. A dialog appears telling you that HotDocs is building a component database. (Depending on the number of
files in the library, this process may take several minutes.)
If it encounters any errors when compiling the database, HotDocs displays an option to view the Error Report,
which appears in a temporary text file. The report lists the folder path and file names of the files that contained
the errors.
If it doesn't encounter any errors when compiling the database, it launches Template Manager.
2. Once Template Manager appears, you can perform any number of tasks, such as:
View the contents of a Template Manager window.
Work with Template Manager.
Convert multiple templates to work with HotDocs 10.
Convert templates and clauses to Microsoft RTF.
Rename templates.
Copy and paste components.
Rename components.
Delete components.
To close Template Manager, click the X in the upper-right corner of the Template Manager window.
561
red marker next to the components used in the selected file. Likewise, when you
select a component, HotDocs displays a red marker next to the file or files that use that component either directly or
indirectly (for example, you may have an inserted template that uses that component).
As you examine templates and components in Template Manager, you can customize your view of the window. See
Template Manager Toolbar for details.
icon.)
In this example, the template, Introductory Instructions Series, is expanded to show the template's component file
(Introdur.cmp) and an inserted template (Table.rtf, which includes an ASSEMBLE instruction to assemble Table1.rtf). It
also shows that a clause library with several clauses has been inserted (Introdur.hdl).
Where there are problems with a specific file, such as the file is referenced either in the library or a template, but doesn't
actually exist on disk, Template Manager overlays a warning on the file icon. (Click here for an explanation of the different
template status icons used.)
You can choose to view either file titles or file names. Right-click anywhere in the file list and choose your preference.
Additionally, you can copy information about the files you're exploring to another program, such as Notepad or the word
processor by choosing Copy as Text from the shortcut menu.
While viewing the file list, you can:
Convert multiple earlier versions of HotDocs templates to HotDocs 10 format.
Convert multiple templates to Microsoft RTF.
Rename templates using Template Manager.
Modify component file properties across multiple files.
562
563
Open Window
Description
Opens a new Template Manager window that shows only the components for the files
you've selected in the file list. This makes it easier to copy components between files
and helps control the number of files and components you are viewing. You can have as
many windows open as necesary.
Expand All
Expands the list to show all top-level entries in the list with their related files.
Collapse All
Collapses the list to show only the top-level entries in the list.
Component Manager
Opens the Component File Properties dialog box so you can modify properties across
multiple files at once.
Convert Files
Converts the selected files to either the latest version of HotDocs or to RTF format.
Copy Components
Paste Components
Rename
Delete
Focus
Shows only the components for the selected template or group of templates. (Click
Focus again to show all components.)
Components drop-down
list
Refresh
Regenerates the component database and updates the contents of the Template
Manager window if you've made any changes.
564
Options
Changes specific settings for what information Template Manager displays in the
components list.
565
1. At Template Manager, select a component or components from the component list and click the
Copy
2. If the component is used in two or more component files, Template Manager displays the Copy Components dialog
box that lets you choose which component file you want to copy from. Select the correct file and click Copy. The
component is saved to the Clipboard.
3. From the file list, select the file or files you want to copy the component into.
4. Click the
Paste Components button. The Paste Components dialog box appears. The files you have already
selected appear in this list with a check mark next to them. The list also includes other component files you are
currently working with.
5. Select additional component files from the list, clear the selected files, or accept the current selection.
6. Optionally, select Warn when overwriting components that already exist if you want Template Manager to warn
you if the component you are copying already exists in the file.
7. Click Paste. Template Manager pastes the component into the file or files.
Note:
You can also drag components from the component list to selected files in the file list to copy and paste them.
566
1. At Template Manager, select a component from the component list and click
2. Type the new component name in the New component name box.
3. From the Following files box, select the files you want to make the change in. (This box lists all of the files that
contain the component or a reference to the component.)
Caution:
If a component is used in a template and its associated component file, you must select both files in the list
before you rename the component. If you select one and not the other, you will create an unresolved reference
and you will not be able to assemble a document from the template. (Template Manager selects both files by
default.)
4. Click Rename. Template Manager renames all selected instances of the component.
567
1. At Template Manager, select the component you want to remove from the component list.
2. Click
Delete. Template Manager confirms that you want to delete the component.
3. Click Yes. Template Manager removes the component from the associated component files.
568
1. At Template Manager, select the files you want to modify from the file list and click the
Component File
2. Enter or select which properties you want to change. (See Change Component File Properties for specific details of
each option.)
3. Click OK. HotDocs displays a list of component files that will be changed.
4. Click OK. The changes are made in the selected component files.
569
SECTION 6:
AUTOMATING FORM TEMPLATES
570
To create a PDF template, you first start with a PDF document . Some agencies or organizations with which you work
may provide you with these PDF documents, or you can create your own using PDF-creation software, such as Adobe
Acrobat Professional. You then use HotDocs to convert that file to HotDocs form template format.
When automating form templates, many tasks are identical to automating text templatesyou must 1) identify each place
on the form template where changeable information must be entered, 2) create fields, and then 3) attach variables to
these fields. (See Overview: Create and Customize Variables.)
You can create different types of fields, depending on what type of answer the field requires. For example, edit fields can
be used to merge Text, Date, and Number answers, while check-box fields can be used to merge True/False and Multiple
Choice answers. In contrast, control fields control the flow of information but are hidden from end users. Resource fields,
the final field type, allow you to create a resource for the entire form, which appears as a hyperlink on the form.
Edit and check-box fields, with variables attached, allow users to provide information to complete the form. Sometimes a
users answer is longer than the space available. By designating overflow options, you can manage the problem of limited
space on your form templates. When an answer overflows a field, HotDocs provides several ways to adjust the field or the
answer. One solution is to create an addendum after the last page of the document and save the answers there.
Users assemble form document files from the form templates you develop. They can print blank versions of the forms,
or provide answers for the questions and produce a finished document. After a form document is saved, users can
edit answers in it by using HotDocs Filler. However, once the document is saved and then viewed in Filler, much of
the template functionality is lost. For example, the form fields no longer process computations; they simply act as
placeholders for the users information.
Finally, you can test assemble your form templates to see how they will appear to users. (See Test Assemble a
Document.)
571
What It Does
HotDocs Library
Opens the HotDocs template library. If the library is already open, it brings it to the front.
New Template
Open Form
Save Form
Saves any changes you've made to the current form template and component file.
Print Form
Field Properties
Displays the Field Properties dialog box, where you can change how the answer the
user enters is merged in the assembled document.
Answer Font
Displays the Font dialog box, where you can change the font face, size, or style for the
answer.
Detect Field
Scans the static content around the selected area for lines and text, and then moves the
selected field into position. If no field is selected, creates a new field.
Align Fields
Displays the Align dialog box, where you can arrange the size and layout of multiple
fields.
Undo
Redo
Variable Field
Displays the Variable Field dialog box, where you can attach a new variable to a field, or
edit the merge field properties of an existing variable.
Edit Component
Displays the Variable Editor, where you can edit the component properties of the
selected variable.
Component Manager
Opens Component Manager, where you can work with the components used in the
template.
Test Assemble
Starts a test assembly, showing how the current template will appear to users during
assembly.
Fill Tool
Select Tool
Creates new fields (on double-click); also selects and moves existing fields.
(HotDocs form templates (.HFT) only) Creates new fields (on double-click); also allows
you to select underlying template text.
Scroll Tool
Zoom Tool
Page Width
Changes the view to fit the left and right edges of the template in the window.
572
Full Page
Changes the view to fit the top and bottom edges of the template in the window.
Show Fields
Show Variables
Shows and hides the names of variables attached to each field. (Hiding variable names
lets you enter test answers in the fields so you can test the field properties you've
assigned. See Preview the Formatting of Answers in a Form Field.)
Show Thumbnails
Shows and hides the Thumbnails pane. You can click on a thumbnail (a small image of
each page in the template) to move through the template.
Previous Page
Next Page
HotDocs Options
Opens the HotDocs Options dialog box where you can customize how HotDocs works.
What's This?
Changes the mouse cursor to a What's This? help cursor. When you click on a button
or property with this cursor, a help window appears, summarizing the purpose for that
option.
Note:
When you highlight a command on a menu or point to a toolbar button, a description of the command displays in
the status bar at the bottom of the window.
You can hide the toolbar and the status bar by choosing Toolbar or Status Bar (View menu). To redisplay the
toolbar or status bar, choose those commands again.
573
11. Start HotDocs. The template library appears. (See Start HotDocs.)
12. Click on a folder in the file list and click the
13. Click the Type drop-down button and choose HotDocs PDF Template from the list.
14. Enter a name for the file in the File name box and a title for the template in the Title box.
Copyright 2010 HotDocs Ltd. All rights reserved
574
Browse button and browse to (and open) the PDF you created in the first part of these steps.
575
1. At the HotDocs library window, select the form template you want to convert, and click Edit. HotDocs Automator
appears, showing the selected form template. (If the form template isn't included in the library currently showing,
open the necessary library. See Open a Library.)
3. At the Save as type drop-down list, select HotDocs PDF Template (*.hpt).
4. Click Save. The Convert to PDF dialog box appears.
5. Optionally, provide information for the Title, Subject, Author, and Keywords boxes.
6. Click OK. The PDF-based form template is created.
7. You can now open the new template in HotDocs Automator to review and work with the template. (See Edit a Form
Template.)
576
Edit. The HotDocs Automator window appears, showing the form template.
2. Locate and select the form template you want and click Open. The Automator window appears again, showing the
form template.
To edit a template from Windows Explorer
577
Insert Pages (Edit menu). The Insert Pages dialog box appears.
3. Click the Form containing pages to insert drop-down box and select the file from which you want to copy the
pages. You can also click the
Caution:
When inserting, file types must match, meaning you cannot insert pages from a PDF template into a HotDocs
form template.
4. In the Insert pages group, specify the pages you want to insert and where they should be inserted in the current
form.
5. Click OK. The template appears again, with the pages inserted.
Note:
If the pages you inserted contain variable fields, copy the components from the inserted template's component
file into the current file. (See Use Component Manager to Work with Components.)
To add pages to a form document during assembly, see Attach an INSERT Instruction to a Field.
To quickly navigate through inserted pages, click Thumbnails.
578
579
4. Click OK at the Replace Static Content dialog box. You are returned to the template.
5. Reposition any fields, based on the updated static content. If the update significantly changed the form, check to
make sure the text still corresponds to the fields and variables. If any new questions are asked on the form, create
new fields and variables for them. (See Create a Form Field and Attach a Variable to a Field.)
Note:
If you are replacing static content in a fillable PDF template, it is recommended you check the fillable fields for
placement and formatting after replacing the content. See Detect Fillable Fields in a PDF Template for details.
580
Do This
Choose Cascade.
581
3. Apply any changes to these fields that you want to be made globally. (You may want to make a note of exactly which
properties you changed. You will be asked in Step 9 to select these properties.)
4. Specify any template or addendum properties, again making note of any changes you make.
5. Click the
Caution:
Make sure the check-box field you create is larger than the check boxes in the templates youre changing.
HotDocs applies check-box changes to only those fields that are equal in size to or smaller than the check box
you create. If the check boxes in the templates are larger than the one you create, HotDocs treats them as
regular fields.
6. In the source template, click Property Replicator (Tools menu). The Property Replicator dialog box appears.
7. In the Source template box, click the
Browse button to browse and select the source template. This file contains
Note:
You can also use wild cards to add templates. If you are changing all the files in a folder, you can use an asterisk
(*) when you type the file paths in the Files to change field. The asterisk replaces the individual file names, and
will add all files in a folder at once. For example, C:\Documents and Settings\UserName\My Documents\HotDocs
\Templates*.HFT would add all the form templates in the template folder, and C:\Documents and Settings
\UserName\My Documents\HotDocs\Templates*.* would add all the files in the template folder. To replace only
a single character in a file path, you can use a question mark (?). For example, C:\Documents and Settings
\UserName\My Documents\HotDocs\Templates*.HF? would add all the form templates and form documents.
582
In the Regular fields list, select the properties of the edit field in the source template that you want to apply
globally to all fields in the destination templates.
In the Check boxes list, select the properties of the check-box field in the source template that you want to
apply globally to all fields in the destination templates.
In the Form list, select the properties of the form or addendum in the source template that you want to apply
globally to all destination templates.
10. After specifying the properties to be changed, click Replicate. The Replicate Properties dialog box appears,
showing which template files have been modified.
11. Click OK. The Property Replicator dialog box appears again. It notes the files that were processed and reports how
many files were changed.
583
Do This
Click the
Save button.
Note:
You can have HotDocs automatically save back-up copies of form templates you are automating. See Protect Forms
By Backing Them Up for details.
584
3. Click the
Component File Properties button. The Component File Properties dialog box appears.
4. Click the Interview tab. The view changes to show interview options.
5. Clear both the Generate default interview and the Use custom interview options.
To define an interview for the form
See Define a Custom Interview or Have HotDocs Generate a Default Interview, depending on your preferences.
1
HotDocs supports the creation of templates using fillable PDFs. For details, see Overview: Use Fillable PDFs as Form
Templates.
585
7. Optionally, you can customize the appearance of your fields in the following ways:
Attach a variable to the field. (See Attach a Variable to a Field.)
Change the field type. (See Change the Field Type.)
Adjust the size. (See Resize Form Fields.)
Change the field's position on the form. (See Move a Field on a Form.)
Make a field conditional so the variable is asked only if a condition is true. (See Make a Field Conditional.)
Note:
To move multiple fields once they have been created, select the fields and press the arrow key that indicates
which direction you want to move them. To move fields more quickly, press the Shift key while pressing the
arrow keys.
You can also create a standard-size field by double-clicking on the form. Or, you can click to set the field crosshair and press F8.
586
Select a Field
Before You Begin:
These instructions can also be used to select fields both at the Form Document tab of the assembly window and in
HotDocs Filler.
In order to work with a field, you must first select it. When you select a field, handles appear on the field borders showing
that you can edit the borders or other properties. You can select a single field to work with, or you can select multiple
fields to group them or to make the same change to all of the fields.
To select fields
5. Use any of the following additional methods for selecting fields or canceling the selection, as described in the
following table:
To
Do This
Click Select All (Edit menu). (You can also press Ctrl+A.)
Hold down the Ctrl key and click the new fields.
Note:
If you have trouble selecting the field you want, the field may be in a group. If this is the case, you must first
ungroup the fields by clicking Ungroup (Field menu). (See Ungroup Form Fields.)
Click the
587
3. Attach a variable to the field. Your options include True/False and Multiple Choice.
Note:
When assigning a True/False variable, if you want to merge a character other than an X, indicate the character
by specifying it as a variable format. See Customize a True/False Variable for details. To change the font for the
field, see Set Properties for New Check-Box Fields. When assigning a Multiple Choice variable, you should group
the fields before attaching the variable. See Group Form Fields So Answers Can Flow From One Field to Another
for details.
4. Optionally, specify a condition to make the field dependant on other answers in the form. (See Make a Field
Conditional.)
Note:
You can change the default measurements used to identify new fields as check boxes. You can also specify a
default character other than X to be used when selecting check-box fields. (See Set Properties for New CheckBox Fields.)
If HotDocs creates an Edit field, rather than a Check-box field, select the field, click the
button, and choose Check box as the Field type.
Field Properties
588
Variable Field button in the Automator toolbar. The Variable Field dialog box
appears.
4. Create a new variable or select an existing variable. Your options include Text, Date, Number, True/False, Multiple
Choice, and Computation.
Note:
To attach variables to fields using a wizard-like approach, choose Create Variables (Tools menu). HotDocs
scans through the template, looking for fields that do not yet have an assigned variable. On a field-by-field basis,
it then displays the Variable Field dialog box, allowing you to create variables for each field. For instructions on
using this tool for linked fields in a fillable PDF template, see Attach Variables to Fillable Fields.
Other methods for attaching variables to fields include double-clicking on the field to display the Variable Field
dialog box, dragging variables from Component Manager to the fields in the template, and viewing the Field
Properties dialog box for the field and assigning the variable there.
To attach a single variable to multiple fields, for example, to create a run-on group, select and group all of the
fields before you click the
Field to Another.)
Variable Field button. (See Group Form Fields So Answers Can Flow From One
589
5. Optionally, change the field type to Control to keep users from typing in the field during direct-fill assembly. (See
Change the Field Type.)
Note:
To attach more than one ASK instruction to a field, group the ASK instructions in a Computation variable script, and
then attach the variable to the field. (See Put ASK Instructions in a Computation Variable.)
590
5. Select IF True/False Variable or IF Expression depending on how complex the condition needs to be. The dialog
box changes to show the necessary options.
For a simple IF instruction, type a name for a new True/False variable, or select an existing one.
For expressions, drag expressions and variables into the Expression box.
When a user assembles a document using this template, the fields you are conditioning will be asked only if the True/
False variable or expression is true.
591
5. Click OK. The INSERT Field dialog box appears again, showing the name of the inserted template in the Template
to insert box.
8. Optionally, make the field conditioned on other answers in the interview. (See Make a Field Conditional.)
Note:
If you need to add content from one template to another, use the Insert Pages command. See Add Pages to a Form
Template.
592
Fit Page to
Detect button.
If you are creating a new field, place your cursor where the new field should be created and click the
button.
Detect
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
593
1. Edit a form template. (See Edit a Form Template.) Edit a form document. (See Edit a Saved Form Document.)
2. Select a field. (See Select a Field.)
3. Click the
4. Click the Additional tab. The view changes to show the positioning options.
5. In the Position group, enter the desired distance from the left and top margins of the page in the Left and Top
boxes. (You can also click the up or down arrows for each field to change the distance.)
Note:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from
the template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable
PDF. See Detect Fillable Fields in a PDF Template for details.
If a field you want to move is part of a group, you must first ungroup the fields. (See Ungroup Form Fields.)
The Field Properties dialog box includes the First, Previous, Next, and Last buttons to move you between
fields. When you have multiple fields selected, these buttons are not available.
594
Align button. The Align Fields dialog box appears. (You can also right-click and choose Align from the
shortcut menu.)
4. Select an option in the Horizontal alignment group to align the fields horizontally, or the Vertical alignment group to
align the fields vertically. The Example box previews the selected alignment option.
5. Click OK. The template appears again, and the selected fields are repositioned.
To size fields in relation to each other
Align button. The Align Fields dialog box appears. (You can also right-click and choose Align from the
shortcut menu.)
4. Select the options you need from the Width group and/or the Height group. The Example box previews the
selected resizing options.
5. Click OK. The template appears again, and the selected fields are resized.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
595
4. Click the Layout tab. The view changes to show layout options.
5. In the Borders and Margins groupings, make your selections. (Remember, borders affect the thickness of field
boxes, while margins affect the distance between the border of the field and the answer in the field.)
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
596
1. Edit a form template. (See Edit a Form Template.) Edit a form document. (See Edit a Saved Form Document.)
2. Select the field or fields you want to copy. (See Select a Field.)
3. Choose Copy (Edit menu). The field is copied to the Windows Clipboard. (You can also select the field and press
Ctrl+C, or you can right-click on the field and choose Copy from the shortcut menu.)
4. Place the mouse cursor where you want the lower-left corner of the copied field to be, and then click the mouse to
set the cross-hair.
5. Choose Paste (Edit menu). The copied field is pasted at that location. (You can also press Ctrl+V, or you can rightclick on the field and choose Paste from the shortcut menu.)
Note:
You can also copy a field by holding down the Ctrl key while dragging the field to its new location.
If you need to automate an updated version of the template, it may be easier to replace the static content, rather
than copy all of the fields. (See Update the Underlying Text in a Form Template.)
Note:
You can also copy a field by holding down the Ctrl key while dragging the field to its new location.
Caution:
If you are working in a fillable PDF template, remember that linked fields are associated with underlying fillable fields in
the PDF. If you plan to save the assembled document as a fillable PDF, answers associated with linked fields will only
be merged where there are fillable fields on the form. This means that you cannot copy a linked field to a new location
on the form and expect the answer to appear there in the resulting fillable PDF. If you want to use the same variable
somewhere else in the form, create a regular HotDocs field and assign it the same variable name as the fillable field.
Note, however, that in the fillable PDF, the answer will appear static.
597
4. Hold down the mouse button and drag the border to a new position.
To resize a field using the keyboard
4. Click the Additional tab and, in the Size group, enter the desired distance from the left and top borders of the field
in the Width or Height boxes. (You can also click the up or down arrows for each field to change the size.) The field
size is changed.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
598
4. Click the Additional tab. The view changes to show ordering options.
5. In the Row box, type the row number.
6. If you need to specify the order for fields in the same row, type a number in the Column box.
7. Optionally, at the Order dialog box, you can click the First, Previous, Next, or Last button to save the current field's
settings and display the next field's order.
By selecting and ordering different groups of fields, you can use fill order to handle various situations. For example:
Remove all fill order settings: Select all fields and set the Row and Column numbers to 0.
Organize large sections of fields: Select the desired fields and specify the order.
Flow answers across fields contrary to the default order (top to bottom, left to right): Set the desired order,
then group the fields. (See Group Form Fields So Answers Can Flow From One Field to Another.)
Fill table columns in an order different from the static text: Set the desired order, then group the fields as a
table.
Copyright 2010 HotDocs Ltd. All rights reserved
599
Note:
To control when a variable is asked without changing fill order, you can use ASK instructions. For example, if you
simply want a particular field to be asked first even though it isn't the first field on the form, place an ASK instruction in
the top left corner of the page. (See Attach an ASK Instruction to a Field.)
600
Group Form Fields So Answers Can Flow From One Field to Another
Before You Begin:
These instructions can also be used to group fields for answer flow-through both at the Form Document tab of the
assembly window and in HotDocs Filler.
Sometimes an answer must begin in one field and continue in other fields. For example, you may have a Text variable
whose answer must span two or more pre-printed lines. You can create edit fields for each line, and then group the fields
so that answers flow from one field to another. Fields grouped this way are called run-on groups.
Once fields are grouped, HotDocs treats the group as a single field. This means that the Text variable and any conditions
for the variable will be assigned to the grouping, not the individual fields in the group.
Caution:
If you are automating a fillable PDF template and you plan to save the assembled document as a fillable PDF, you
cannot group fillable fields since necessarily, each fillable field is linked to a separate variable. Answersboth in
HotDocs and Adobemust be entered on individual lines. This means that when you reach the end of one field, you
must tab to the next field and continue typing your answer. (This inability to group fields is a limitation of Adobe. If you
have access to the form, you may consider replacing individual fields in the group with a single, multi-line field. Text
you enter may not match the lines perfectly, but you will not have to tab between fields to enter the answer.)
To flow an answer across multiple fields
601
When this happens, the answer will overflow and be sent to the addendum. However, if you group the fields and assign a
maximum character number of one to the group, only one character will be merged in each box, like this:
6. Click the Layout tab. The view changes to show several alignment options.
7. In the Line Format group, enter 1 in both the Maximum lines and the Max chars/line boxes.
When a user answers the variable, each character of the answer will be merged in its own field.
Note:
Sometimes the preprinted boxes have space for only the variable characters, not for static characters (such as
the hyphens in a Social Security number, or the slash marks in date formats like MM/DD/YYYY). However, these
characters normally merge as part of the answer. This would make the answer too long, again causing it to overflow.
In such situations, you must specify an example format that prevents the static characters from being merged. If the
answer is for a Text variable, specify a pattern (see Use Pattern Codes to Create a Custom Pattern) and then use
an example format that uses an X for every character you want and an underscore for every character you want
suppressed (for example, XXX_XX_XXXX to remove hyphens from a Social Security number). For a Date variable,
create a format that eliminates the characters you don't want (for example, 061390).
602
603
604
Edit Component button to create a new one. During direct-fill assembly, when users click the
Answer Wizard button, the variables used in the Computation are displayed in the pop-up interview. (If the
variables are linked to a dialog, the dialog appears in the pop-up interview.)
ASK Instruction: Select an existing dialog from the drop-down list, or click the
create a new one. During direct-fill assembly, when users click the
dialog is displayed in the pop-up interview.
DEFAULT: When users click the
asked.
Answer Wizard button, any dialogs containing the required variables are
NONE: Removes any answer wizards attached to the selected field (or group of fields).
Note:
You can also create a wizard for a table. A table wizard appears as a spreadsheet button (
wizard button (
) instead of as an answer
), and clicking it will display the repeated dialog in a pop-up interview. To create a table wizard,
605
Show Variables button to hide variable names. (See Show and Hide Fields.)
4. Click the
5. Change the different properties for the field at the Type tab as necessary.
6. In the text box at bottom of the dialog, enter the text you want to view in the answer field, depending on the field
type.
7. Optionally, click the Layout tab of the Field Properties dialog box and make any changes to the field's alignment,
borders, margins, and multi-line format.
8. When you're finished entering the text, click outside of the text box. The field in the underlying form updates to show
the text you entered.
606
Note:
You can control whether field variables and field backgrounds are shown or hidden when you open form templates
documents. See Control How Forms Appear When Opened for details.
607
Default Color
Description
Edit
Yellow
Check Box
Blue
Resource
Orange
Control
Green
Note:
If you are working with a fillable PDF template, linked fields appear using a light blue color. This distinguishes them
from regular HotDocs fields. See Detect Fillable Fields in a PDF Template.
To change the field type
Copyright 2010 HotDocs Ltd. All rights reserved
608
4. At the Type tab, make your selection, based on the information in the table above.
Note:
You can change the default colors used for form fields at the HotDocs Options dialog box. (See Change Colors in
HotDocs Forms.)
609
4. At the Type tab, click Font. The Font dialog box appears.
5. Make your font selections.
Note:
You can specify default font properties for all new fields you create at HotDocs Options. See Set Properties for New
Edit Fields for more details.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
610
5. Click the Layout tab. The view changes to show the different options for formatting the field.
6. In the Line Format group, complete one of the following options:
To
Do This
Enter how much space to include between the margin of the field and the first
character of the answer in the First line indent box. (You can either type the number
or click the up or down arrows.)
Enter the number of lines in the Maximum lines box. If the answer contains more
lines than is specified, the field will overflow.
Enter the number of characters in the Max chars/line box. When the number of
characters exceeds this limit, text will wrap to the next line.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
611
4. Click the Layout tab. The view changes to show field layout properties.
5. In the Rotation group, select a degree of rotation: 0, 90, 180, or 270, for example:
Note:
You can enter test text in the test answer box (of the Type tab) to preview the selected rotation. See Preview the
Formatting of Answers in a Form Field.
When you change the rotation, HotDocs views the bottom of the letters as the bottom of the field. This means that
aligning the text horizontally or vertically may have different effects.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
612
613
614
4. Click the Resource tab and enter your resource text. (See Add Resource Information to a Variable or Dialog)
5. Click OK at the Text Variable Editor and the Variable Field dialog box. The Automator window appears again.
6. With the field still selected, click the
Field Properties button. The Field Properties dialog box appears. (You can
also right-click and choose Properties from the shortcut menu.)
7. At the Type tab, select Resource from the Field type group.
8. Choose one of the following options from the Display type group:
Hyperlink displays the resource as a link on which the user clicks. Enter the hyperlink text in the Hyperlink
text box.
Image displays the resource as graphic file on which the user clicks. Enter the file name of the graphic in the
Image file name box.
Bar code displays the resource in bar code format. Enter the text you want to encode in the Bar code text
box.
9. Select Non-printing field. (This keeps the hyperlink from printing on the document.)
615
Field Properties button. The Field Properties dialog box appears. (You can also right-click and select
Field Properties from the shortcut menu.)
616
Field Properties button. The Field Properties dialog box appears. (You can also right-click and select
Field Properties from the shortcut menu.)
8. Optionally, to control the width of the circle's border, click the Layout tab and change the Line thickness in the
Circle group.
Note:
To preview the circle (see Preview the Formatting of Answers in a Form Field), make sure you enter text in the
Answer text box of the Type tab.
617
3. If you're using a Multiple Choice variable, edit the variable and, in the Merge Text column, enter the file names of
the graphics, depending on which options the user chooses.
4. If you're using a True/False variable, edit the variable and, in the Format box, enter the file name of the graphic,
either preceded or followed by a forward slash (to indicate yes/no status).
5. Click OK at the variable editor and at the Variable Field dialog box.
6. With the field still selected, click the
7. At the Type tab, select Image from the Display type group.
8. Optionally, change the Field type to Control to restrict the users ability to modify the field. (Change the Field Type.)
To create a graphic field without using a variable
4. At the Type tab, select Image from the Display type group.
5. Click the
Open button next to the Image file name box. The Open dialog box appears.
6. Locate and select the desired graphic file and click Open. The path and file name appear in the box.
7. Optionally, change the Field Type to Control to restrict the users ability to modify the field. (Change the Field
Type.)
618
4. Click OK at both the variable editor and the Variable Field dialog box. The template appears again.
5. With the field still selected, click the
619
620
1. Edit a form template. (See Edit a Form Template.) Edit a form document. (See Edit a Saved Form Document.)
2. Select a field. (See Select a Field.)
3. Click the
4. Click the Additional tab. The view changes to show the positioning options.
5. In the Position group, enter the desired distance from the left and top margins of the page in the Left and Top
boxes. (You can also click the up or down arrows for each field to change the distance.)
Note:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from
the template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable
PDF. See Detect Fillable Fields in a PDF Template for details.
If a field you want to move is part of a group, you must first ungroup the fields. (See Ungroup Form Fields.)
The Field Properties dialog box includes the First, Previous, Next, and Last buttons to move you between
fields. When you have multiple fields selected, these buttons are not available.
621
To create a list
5. With the grouped fields still selected, choose REPEAT (Field menu). The REPEAT Field dialog box appears. (You
can also double-click the grouped fields.)
6. Create a repeated dialog that contains the variables used in the table, or select an existing repeated dialog. (See
Create a REPEAT Instruction to Gather a List of Answers.)
During assembly, if the user enters more answers than there are rows, those answers can be sent to the addendum,
which you can customize.
Note:
You can filter answers merged into the table. (See Filter a List of Answers and Filter a List Using a Computation
Variable.)
Information about the REPEAT instruction is associated with the field grouping. If you ungroup the table after you
have inserted a REPEAT Instruction, remember to regroup the fields before you close the template. Otherwise,
the information about the instruction is lost.
To create a list in a single variable field instead of a table, select the field and insert a Computation variable. In
the computation, use a REPEAT instruction. (See Create a REPEAT Instruction Using a Computation Variable.)
622
In this example, the table is divided into sections, but each section is actually a row in the table:
623
3. Select all of the fields for the first row (that is, the first series of fields) in the table, then click the
button. The
menu.)
Field Properties
Field Properties dialog box appears. (You can also right-click and select Order from the shortcut
4. Click the Additional tab, and in the Tab Order group, enter 1 in the Row box.
5. Click OK.
6. Select all of the fields for the next row in the table and set them to Row 2. Repeat this process for the remaining
rows in the table, incrementing the row number for each subsequent row.
7. Select all the fields for the first column in the table and set them to Column 1. Repeat this process for the remaining
columns in the table, incrementing the column number for each subsequent column.
10. With the grouped fields still selected, choose REPEAT (Field menu). The REPEAT Field dialog box appears. (You
can also double-click the grouped fields.)
11. Create a repeated dialog that contains the variables used in the table, or select an existing repeated dialog. (See
Create a REPEAT Instruction to Gather a List of Answers.)
624
5. Click the Overflow tab, and in the Group name box, enter a name. Usually, this is the name of the variable, but it
can be any text as long as it is the same for each field in the group.
6. On the following page(s), create the fields that will contain any overflow. Do not assign variables to these fields.
7. Repeat the preceding steps for each field in the group, using the same group name as you assigned to the first field.
Now, answers that do not fit in the first field will overflow to the next field named in the group.
Note:
To span text across multiple fields on the same page, see Group Form Fields So Answers Can Flow From One Field to
Another.
625
Do This
Automatically shrink an
answer that overflows to a
specific point size
Select Shrink answer as needed and enter a point size in the points box.
Automatically send an
answer that overflows to
the addendum
Select Send answer to addendum. (To send only part of a multi-line answer to the
addendum, select Split answer. (See Split a Multi-Line Answer Between the Form
and the Addendum.)
626
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
627
Do This
Automatically shrink an
answer that overflows to a
specific point size
Select Shrink answer as needed and enter a point size in the points box.
Automatically send an
answer that overflows to
the addendum
Select either Indicator check box is first in field group or Indicator check box
is last field in group, depending on where the check box that indicates overflow is
positioned.
Select No addendum entry indicator check box if there is no check box to indicate
an answer has been sent to an attachment or addendum.
To send only part of a multi-line answer to the addendum, select Split answer.
Enter the text in the Cross-reference text box. (Click Use Answer Overflow and
Define the text that
appears in the answer field Addendum Text Codes for a list of reference numbering codes you can use.)
that an answer is sent to
the addendum
628
To
Do This
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
629
Do This
Automatically send an
answer (including extra
rows in the table) that
overflow to the addendum
In the When sending answers to addendum group, select one of the following
options:
Select Send entire table to send the contents of the table to the addendum
any time any answer in the table overflows. The overflow cross-reference text
(for example, See 1 in Addendum) is merged in the top row of the table and no
other rows contain any answers.
Select Send complete rows to send only rows that overflow to the addendum.
For example, if an answer in a row overflows, the entire row is sent to
the addendum. The overflow cross-reference text (for example, See 1 in
Addendum) is merged in the affected row only.
Select Send individual cells to send only the contents of a single overflowing
field to the addendum. The overflow cross-reference text (for example, See 1 in
Addendum) is merged in the affected cell only.
Enter a number in the Answer column indent box (or click the up and down arrows
to select a number).
630
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
631
Do This
In the respective Header properties and Footer properties groups, click the Font
button and make the changes at the Font dialog box.
In the respective Header properties and Footer properties groups, enter a number
in the Height box.
In the respective Header properties and Footer properties groups, click the
Alignment button and choose your alignment option.
In the respective Header properties and Footer properties groups, click the
In the Addendum entries group, click the Font button and make your changes at the
Font dialog box.
To learn how to merge page numbers in the header, see Use Answer Overflow and
Addendum Text Codes.
To learn how to merge page numbers in the footer, see Use Answer Overflow and
Addendum Text Codes.
Variable Field button. The Variable Field dialog box appears, where you can
define the variable whose answer you want merged in the header or footer.
632
To
Do This
In the Addendum entries group, enter a number in the Space between box.
Once an answer has been sent to the addendum, you cannot edit the actual addendumyou must either modify your
answers at the Form Document tab or Interview tab, or you must send the addendum to the word processor (choose
File > Send Addendum To > Word Processor). You can also send the addendum to the Windows Clipboard (choose
File > Send Addendum To > Clipboard) to paste it into a different program for editing.
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
633
3. Click the Overflow tab. The view changes to show overflow options.
4. Complete any of the following steps:
To
Do This
Enter the text in the Cross-reference text and Addendum label text boxes,
respectively.
To send just the part of the answer that doesn't fit in the field to the addendum, select
Split answer.
To specify alternate text that will be merged in the field and addendum if the user
chooses to split the answer between the form and the addendum, type a vertical bar
(|) and then enter the alternate text after the bar. For example:
Cross-reference text: See Addendum 1|Continued in Addendum 1
Addendum label text: Addendum 1|(con't) Addendum 1
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
634
2. Click the Overflow tab. The view changes to show overflow options.
3. Select Begin new addendum following this field.
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
635
<PAGE>
<PAGES>
<DOCPAGES>
<PAGEINFO>
<ADMPAGE>
<ADMPAGES>
<ADMPAGEINFO>
<REFNR>
<VARNAME>
<ROW>
<COLUMN>
<MEMBER>
636
Uppercase letters
Lowercase letters
637
638
3. Click the Type drop-down button and choose HotDocs PDF Template from the list.
4. Enter a name for the file in the File name box and a title for the template in the Title box.
5. In the Initial contents group, select Other file.
6. Click the
Browse button and browse to (and open) the fillable PDF document.
7. Click OK at the New Template Initial Contents box. A message box appears, asking if you want to leave fillable
fields in the form.
639
Select Yes, leave fillable fields in the form if you want to use the fillable fields from the PDF as the basis
for fields in the new template. This allows you to create HotDocs fields that match exactly those fields in the
underlying PDF.
Select No, remove fillable fields from the form if you do not want the template to use the fillable fields from
the source PDF document.
9. If the fillable PDF document contains any annotations (such as notes, stamps, highlighting, etc.), a second message
box appears, asking if you want to leave annotations in the form. Select Yes, leave annotations in the form if you
want the assembled Adobe document to still show these annotations. Be aware, however, that annotations will not
appear on the form in HotDocs Automator. Select No, remove annotations from the form if you want to remove all
annotations so they will not appear in the assembled PDF.
HotDocs creates the template and adds fields to it. If you selected to keep fillable fields in the template, these HotDocs
fields are linked to the fillable fields. Otherwise, HotDocs creates regular HotDocs fields. See Detect Fillable Fields in a
PDF Template for more information on working with these fields.
Note:
When you create a new form template, HotDocs creates a component file, which stores information about components
you use in the template, such as variables and dialogs. The component file works behind the scenes, but both files
the form template and the component fileare necessary for the template to work. (The component file works exactly
the same for a form template as a text template. See Overview: Template and Component Files.)
640
1. Edit a form template that uses fillable fields. (See Edit a Form Template.)
2. Choose Check Fillable Fields (Tools menu). The Check Fillable Fields Options dialog box appears.
3. Select the field properties you want to compare between the HotDocs fields and the fillable fields. (For example, if
you want to compare only the fonts assigned to the fields, select Font and clear all other options.)
4. Click OK. If there are discrepancies between the HotDocs fields and the fillable fields, the Check Fillable Fields
dialog box appears.
This dialog box shows a table that lists the differences between the two fields it is comparing. The Field Property
column of the table shows the property name, while the HotDocs Field column shows the values currently assigned
to the HotDocs field. The Fillable Field column shows the properties assigned to the fillable field.
5. In the Change column, select which HotDocs properties you want to change so they match the fillable field.
Copyright 2010 HotDocs Ltd. All rights reserved
641
642
1. Edit a form template that uses fillable fields. (See Edit a Form Template.)
2. Choose one of the following tasks for attaching a variable to a field:
Choose Create Variables (Tools menu). HotDocs opens the Variable Field dialog box for the first field in the
template that does not have a variable attached to it.
Select a field and click the
3. Review the suggested variable type and name, and make any necessary changes.
4. Click the
5. Review the properties assigned to the variable, including its format, prompt, and any other patterns, limits, or other
options.
6. Optionally, if the Notes tab shows an asterisk in its label, click it to view any additional fillable field requirements.
7. Click OK to close the Variable Editor, and then click OK again to close the Variable Field dialog box. The variable
is created and attached to the field, and you are taken to the next empty field on the form.
643
Note:
To skip a field and not create a variable for it, click the Skip button on the Variable Field dialog box.
644
Using Fonts
If you have Type 1 (PostScript) fonts installed on your computer, you should not assign those fonts to fields in PDFbased template files. If you assign a Type 1 font to a form field, the field will appear correctly on screen during assembly
and when the form is saved as a fillable PDF. However, if you print the form or save it as a static PDF, HotDocs will
automatically substitute a TrueType font, which will keep the text in the field from appearing as expected. For best
results, use TrueType (.ttf) fonts (or OpenType (.otf) fonts containing TrueType outlines) with linked fields in a fillable PDF
template.
Fillable PDF authors may embed fonts they use in the fillable PDF. However, when you create a template using a fillable
PDF, HotDocs will not use the embedded font. Instead, it will check to see if the font is installed locally. If it is, HotDocs
will use it. If the font is not installed on the system, HotDocs will attempt to map the font to something similar. Once you
save the assembled document as a fillable PDF, however, the embedded font will once again be used.
Grouping Fields
If you are automating a fillable PDF template and you plan to save the assembled document as a fillable PDF, you cannot
group run-on fields since necessarily, each fillable field is linked to a separate variable. Answersboth in HotDocs and
Adobemust be entered on individual lines. This means that as you enter an answer in a field, when you reach the end of
one field, you must tab to the next field and continue typing your answer.
Note:
This inability to group fields is a limitation of Adobe. If you have write-access to the form using Adobe Acrobat, you
may consider replacing individual fields in the group with a single, multi-line field with a suitable font size. Text you
enter may not match the lines perfectly, but you will not have to tab between fields to enter the answer.
645
Check-Box Groups
Multiple check boxes or option buttons with the same field name in a PDF file are converted to a HotDocs check box
group. HotDocs relies on the sort order of the member fields when answers from HotDocs are saved back to the PDF
fields. This means that it is not a good idea to change the ordering of the member fields using row and column settings.
Additionally, in the fillable PDF, check boxes and option buttons should all have different Export values since HotDocs
doesn't allow duplicate options in a Multiple Choice variable.
646
SECTION 7:
PUBLISHING TEMPLATES
647
648
1. At the HotDocs library, select the template or templates you want to publish and click the
Publishing Wizard
button. The Publishing Wizard dialog box appears, displaying the Publishing Options information.
4. If you want to make the published template(s) compatible with HotDocs 2006-2008, select Make published files
compatible with HotDocs 2006-2008.
5. Click the
Browse button next to the Local folder for published files box to specify the folder where you want
HotDocs to save the published files.
9. If you want to include additional files (such as resource files), click Add Files, then select the desired files. (See Add
Additional Files to a Published Set for details.)
10. Click Finish. HotDocs publishes your files and returns you to the HotDocs library.
Note:
If you publish multiple template sets, you can save the settings you specify during the publishing process so that the
next time you publish, the options are already specified. (See Save Publishing Settings.)
Caution:
Once these files are published to this temporary folder, you should move them to a more permanent location. If you
publish additional templates or other files that use the same file names, HotDocs will overwrite the previously published
files.
649
1. At the HotDocs library, select the template or templates you want to publish and click the
Publishing Wizard
button. The Publishing Wizard dialog box appears, showing the Publishing Options information.
3. If your template contains any INSERT or ASSEMBLE instructions, select Include templates used in INSERT and
ASSEMBLE instructions.
4. If you want to make the published template(s) compatible with HotDocs 2006s-2008, select Make published files
compatible with HotDocs 2006-2008.
5. Click the
Browse button next to the Local folder for published files box to specify the folder where you want
HotDocs to save the published files.
9. Enter a name for the HDA file in the File name for published HDA file box, and then enter a title for the file in the
Template set title box.
12. Click Finish. HotDocs publishes your files and returns you to the HotDocs library.
650
Note:
If you publish multiple template sets, you can save the settings you specify during the publishing process so that the
next time you publish, the options are already specified. (See Save Publishing Settings.)
Caution:
Once these files are published to this temporary folder, you should move them to a more permanent location. If you
publish additional templates or other files that use the same file names, HotDocs will overwrite the previously published
files.
651
1. At the HotDocs library, select the template or templates you want to publish and click the
Publishing Wizard
button. The Publishing Wizard dialog box appears, displaying the Publishing Options information.
3. If your template contains any INSERT or ASSEMBLE instructions, select Include templates used in INSERT and
ASSEMBLE instructions.
4. If you want to make the published template(s) compatible with HotDocs 2006-2008, select Make published files
compatible with HotDocs 2006-2008.
5. Click the
Browse button next to the Local folder for published files box to specify the folder where you want
HotDocs to save the published files.
9. At the Published Template Set dialog box, enter a name for the HDI file in the File name for published HDI file
box, and then enter a title for the file in the Template set title box.
10. Click Next. The Auto-Install Target Library dialog box appears.
652
11. Enter a library file name, title, and optional description for the library that will be created and select any of the
following options:
Update library title and description even if library already exists updates the current library title and
description to match the information in the library that is being installed.
Update library items without installing templates points the items in the library to templates on a CD. (The
templates on the CD must be saved in a first-level folder with the same name as the library base file name
(including PUB).)
Install templates for read-only access installs the templates as read-only, which prohibits users from editing
them.
12. Click Next. If youre publishing a template set in a single auto-install file, the Target Library Shortcut dialog box
appears. (If youre publishing individual auto-install files, skip to step 13.)
13. Optionally, select Install a shortcut in the user's Start menu and specify any shortcut options. (See Create a
Shortcut for an Auto-Install Library.)
16. Click Finish. HotDocs publishes your files and returns you to the HotDocs library.
Caution:
Once these files are published to this temporary folder, you should move them to a more permanent location. If you
publish additional templates or other files that use the same file names, HotDocs will overwrite the previously published
files.
Note:
When installing templates for read-only access, you should understand that this option simply marks the files as
read-only, so feasibly, users could change the file properties and then edit the templates, as long as they have
HotDocs Developer. To keep users from editing the template, specify the Lock Component Files option at the
File Security dialog box.
When updating an existing published template set that is in binary format, if you use any foreign characters in any
of the properties of the template set, HotDocs will convert the existing library to XML format so that it can display
the characters.
When updating the library, HotDocs looks to see if each item in the auto-install files library exists in the users
library. If folder and template titles don't match, HotDocs adds new items instead of updating existing items.
If you give your libraries file names that are unique to your company or product, you will reduce the chance of
another publisher creating a template set with the same name.
If you publish multiple template sets, you can save the settings you specify during the publishing process so that
the next time you publish, the options are already specified. (See Save Publishing Settings.)
You can have a custom splash screen appear when the user launches the library created by the auto-install file.
(See Use a Custom Library Splash Screen.)
653
1. At the File Security dialog box of the Publishing Wizard, select the desired protection options:
Lock component files to prevent editing assigns an encrypted password to the component file, which keeps
the user from editing it.
Set expiration date for component files makes the published templates usable only until a certain date.
Selecting this option causes the Component File Expiration dialog box to appear when you click Next. (See
Step 2 for details.)
Register component files allows you to register templates for commercial use with HotDocs Player. (To do
this, you must obtain a special publisher key (.HDK) file from your HotDocs sales representative. Once this file
is obtained (including a password to use it), the publisher key must be copied to the HotDocs program folder.
Then, when you publish your template set, these options will be available. The resulting published set can be
used with Player. See Publish and Register Templates for Use With HotDocs Player.)
Caution:
If your users upgrade to HotDocs Developer and then attempt to edit any published templates you have
registered, those templates will no longer work with HotDocs Player. To prevent users from modifying
component files, and thus unregistering them, you should lock the component files. (See above.)
Password protect published files requires users to enter a password before assembling the auto-assemble
file or installing the auto-install file. You specify this password in the Password box.
Password protect documents sent to Microsoft Word requires users to unprotect the document before
modifying assembled documents that have been sent to Microsoft Word. (They do this by entering the
password you used to publish the file.) (This can include documents that were assembled from WordPerfect
templates.) You specify this password in the Password box.
2. If you selected Set expiration date for component files, the Component File Expiration dialog box appears.
Select the desired expiration options:
Expiration date lets you specify the date on which you want the files to expire. Type the date in the box, or
click the calendar icon next to the box to select the date.
Warning period lets you warn users that their files are about to expire. Click the up or down arrows to specify
the number of days this warning will appear before the template actually expires and can no longer be used.
Extension period lets users continue to use the files for a specified amount of time after the template or
template set has expired. Click the up or down arrows to specify the number of days.
Expiration message lets you include a custom message about the files that are set to expire. Enter your
message in the text box. (HotDocs automatically includes information about the expiration date.)
654
1. Copy Register.hdk to the HotDocs program folder (for example, C:\Program Files\HotDocs).
2. At the template library, select the templates you want to publish and click the
3. At the Publishing Options page of the wizard, enter all the required information for the template set you are
publishing and click Next. The File Security page appears.
4. Select Register component files and enter the password for the publisher key file in the Password box. (You
should have received this password from the HotDocs Corporation publisher key administrator who gave you the
publisher key file.)
655
1. At the Target Library Shortcut dialog box (which appears during the publishing of a template set in a single autoinstall file), select Install a shortcut in the user's Start menu.
656
1. Publish the template set in a single .HDI file. (See Publish Templates as Auto-Install Files (HDI).)
2. At the Auto-Install Target Library dialog box, note the library file name (you will need this name in Step 4), and
select Update library items without installing templates.
657
1. Publish your templates or your template set. (See Publish a Template as a Standard File, Publish Templates as
Auto-Assemble Files (HDA), or Publish Templates as Auto-Install Files (HDI).)
2. At the Additional Files dialog box, click Add Files. The Select Additional File(s) dialog box appears.
3. Browse to the folder that contains your additional files, select the files, and click Select. HotDocs lists the files in the
box.
4. Optionally, select a file and click Remove Files to remove a file from the list.
5. Click Finish to finish the publishing process.
658
1. Publish your templates or your template set. (See Publish a Template as a Standard File, Publish Templates as
Auto-Assemble Files (HDA), or Publish Templates as Auto-Install Files (HDI).)
2. Before clicking Finish at the Additional Files dialog box, click Save Settings. HotDocs displays the Save Publish
Settings As dialog box.
3. Type a name for the file in the File name box. HotDocs adds the extension .HDP to the file.
4. Click Save. The file is saved to the HotDocs Publish folder.
To use the publish settings file, at the first dialog box of the Publishing Wizard, Publishing Options, click Load Settings.
The Load Publish Settings dialog box appears. Select the publish settings (.HDP) file and click Load.
659
1. Create a bitmap file (.BMP) of your splash screen, then save it with the same base name as your published library
name. For example, the splash screen for the published library with the file name PUBBusiness.hdl would be
PUBBusiness.bmp.
2. Save the splash screen file to the same folder as the library file to which you want it associated. (If you are
publishing an auto-install file, add the file at the Additional Files dialog box of the Publishing Wizard.)
Caution:
When a user opens a library by clicking the
displayed.
660
Description
formatversion
A number that indicates the catalog file format. Currently, the only recognized value is 1,
but future versions of HotDocs may support additional values.
feedurl
A URL for the update document (RSS feed). For example, http://
www.yourcompany.com/update.rss.
checkinterval
The number of days between each update check. If the interval is 0, HotDocs will check
for updates every time it starts.
publishdate
The date on which the template set was published. When HotDocs reads the RSS feed,
it ignores any updates published prior to this date. The date must be in the following
format: Sun, 03 Jun 1990 00:00:00 GMT.
title
The title of the template set. For example, Hobble Creek Real Estate Forms.
password
The password required to install HotDocs Auto-Install (.HDI) files for your template set.
When HotDocs installs an update that requires a password, it uses the password found in
this property. (If you set this property, you should use the same password each time you
create an .HDI file to update your template set.)
enabled
Indicates whether HotDocs should check for updates for this template set (true) or not
(false). Users can change this value at HotDocs Options (Tools > Options > Template
Set Updates).
In addition to these elements, catalog files contain three lists of update items: notinstalleditems, discardeditems, and
installeditems. HotDocs populates these lists and keeps them up to date automatically as it reads the RSS feed specified
in the feedurl element. When you create an update catalog file for distribution with a template set, these lists are normally
empty.
The following example shows the contents of a typical update catalog file without any updates.
Example HotDocs Update Catalog File
You can distribute the update catalog file in two ways. If you publish your template set as a HotDocs Auto-Install (.HDI)
file, you can include the .HCAT file in the list of additional files. When HotDocs installs the template set, it automatically
copies the .HCAT file to the Catalog Files folder specified in the user's HotDocs Options (Tools > Options > File
Locations > Catalog Files). You can also manually copy the .HCAT file to the user's Catalog Files folder.
Copyright 2010 HotDocs Ltd. All rights reserved
661
Caution:
HotDocs must have read/write access to the .HCAT file. If HotDocs cannot access the folder or catalog file, the catalog
file will be ignored.
Description
title
The title of the template set. For example, Hobble Creek Real Estate Forms.
link
A URL for the template set. It may be a Web site that contains information about your
company or template set. (HotDocs does not currently use this element, but it is included
to conform to the RSS specifications.)
description
A description of the template set. (HotDocs does not currently use this element, but it is
included to conform to the RSS specifications.)
The RSS channel also includes a list of individual update items, which contain the following elements:
Element
Description
title
The title of the update item. For example, if you update your template set monthly, the
title may include the month in which the update is released. If the update fixes a problem
with a particular template, the title may include the name of the template.
link
The URL for the update item. For file updates, this is the URL for a HotDocs Auto-Install
(.HDI) file. For message updates, this is either the URL for a Web site you want users to
visit, or it can be empty if you just want to display a simple message (see the description
element below).
description
A description of the update item. If a message update does not include a link, HotDocs
displays this description when the user applies the update.
guid
A string that uniquely identifies this update item. This must be different for each update
item within your template set.
category
The type of item update. It can be one of the following two values:
File Update: Installs an .HDI file.
Message: Displays a message or links to a Web page.
pubDate
The date on which the update item was published. When HotDocs reads the RSS
document, it ignores any items with a publication date earlier than the publication date
in the .HCAT file. The date must be in the following format: Sun, 03 Jun 1990 00:00:00
GMT.
You can also indicate if an item is required, which means that end users cannot discard (hide) the update. HotDocs
does not force users to install the update, but it will appear in the list of updates every time HotDocs checks for
updates until it has been installed. To make an update item required, add required="true" to the item tag (e.g., <item
required="true">).
The following example shows an RSS document with three update items.
Example RSS Document
662
663
The benefit of creating a Web application using HotDocs Server is that users do not need HotDocs installed on their
computers, since the interview is presented in a Web browser and document assembly happens on the server. For
example, your human resources department may integrate its forms into its intranet site using HotDocs Server.
Employees would then go to the intranet site, select which form to fill out, provide the required information, and then
submit the form to the appropriate human resources representativeall from within a Web browser. Depending on project
requirements, employees may also print copies of assembled documents, save copies of assembled documents to their
hard drives, or simply store assembled documents on the server. Additionally, users can save their answer files on the
server, as well as upload answer files from their desktops to the server.
HotDocs Server may also be used for non-interactive assembly. For example, a call can be made to a database and
a document can be generated from information within the database. In this case, users do not have to answer any
interview questions. Likewise, HotDocs Server interviews may be used to gather information to store in a database
without assembling any documents at all.
664
Server user interface, at least from the end user's perspective, is limited to displaying interviews in the Web browser. All
other interaction with the user is accomplished by a custom host application, which you must build and maintain.
Desktop HotDocs does play an important role in a complete HotDocs Server implementation, however. Specifically,
HotDocs Developer is the software used to create templates for use with HotDocs Server, and each authorized instance
of HotDocs Server includes a limited number of licenses for HotDocs Developer.
665
Description
Clauses and clause libraries Although clauses and clause libraries are not supported in HotDocs Server, you can use
inserted templates to achieve similar results. For example, you can use the answer for a
True/False variable to determine when to insert a template into the assembled document.
INSERT instructions used in HotDocs Server cannot process INSERT instructions in computation scripts. However,
computation scripts
INSERT instructions can be processed when they are inserted directly in the template.
LANGUAGE instructions
used in expressions
LANGUAGE instructions are not allowed when used as part of an expression. However,
you can merge the instruction directly in the template.
Personal Information
variables
Personal Information variables require access to the Current User key of the Windows
registry. Since HotDocs Server cannot access the user's registry, this feature is not
allowed.
The ANSWER FILE NAME variable is used to merge the name of the answer file used in
the assembled document. Because of the differences in the way HotDocs Server works
with answer files, this is not allowed.
Database components
Database components created using the HotDocs Database Connection cannot be used
in HotDocs Server templates. However, you can achieve much of the same functionality
using server answer sources. (See the HotDocs Server Help for instructions on creating
an answer source.)
PLAY "MACRO"
instructions
This instruction plays a word processor macro after the document is assembled and
either sent to the word processor, printed, or saved. Playing a macro requires access to
a word processor, and since HotDocs Server assembles documents outside of the word
processor, it cannot play macros.
These instructions are used to start other applications on the user's computer. However,
they are not allowed in HotDocs Server templates.
In JavaScript interviews, you cannot use scripting (such as IF, REPEAT, SPACE, and
VALUE instructions or expressions) in a resource or prompt. In Silverlight interviews, you
can use scripting in resources and prompts.
Automatic Paragraph
Numbering
In JavaScript and Silverlight interviews, you cannot use PN Numbering (e.g., PN1.
What is your name?) to automatically number the prompts.
666
Description
Answer sources
In desktop HotDocs, you can specify an answer source (a list of answers from which a
user can select one) for a dialog. Users open the list when answering a question in a
dialog and pick an existing answer, instead of entering one manually. However, when
assembling documents using HotDocs Server, these answer sources are ignored (the
Select button does not appear on the dialog), although you can use a server answer
source to achieve similar results. (See the HotDocs Server documentation for instructions
on doing this.)
Automatically selecting a
At the Multiple Choice Variable Editor, you can click the Options tab and specify which
Multiple Choice option when option should be automatically selected if the variable is unanswered when displayed.
the variable is unanswered
Although these "default" options are ignored in HotDocs Server interviews, you can still
achieve the same results by using the DEFAULT instruction in your template.
Text patterns
Text patterns are supported in both desktop and server interviews, but the way answers
are formatted as they are entered during the interview is slightly different in each version.
Example formats
You can include variable fields in variable prompts and dialog element text by inserting
the name of the variable within chevrons ( ). You can also specify an example format
for variables within the chevrons. For example, to display a text answer in ALL CAPS,
insert the variable name as follows: Text Var:LIKE THIS (where Text Var is the name
of your variable).
Also, in JavaScript interviews, the FORMAT instruction is not supported in dialog element
text or variable prompts. For example, FORMAT( Text Var, "LIKE THIS" ) or FORMAT
"a, b, and c" does not work in a JavaScript interview. This instruction can be used to
format text in Silverlight interviews and in the assembled document, however.
You can use a script link dialog element to add a button to a dialog that processes a
Computation variable. However, in a HotDocs Server template, the Computation variable
cannot include an ASK instruction or otherwise cause a dialog to be asked. (HotDocs
Server ignores ASK instructions in script link computation scripts.)
You can use Web link dialog element to add a button to a dialog that links to a database.
However, this works only in browser-based (HotDocs Server) interviews. Web links that
launch such databases do not appear in desktop interviews. (See Add a Hyperlink to a
Dialog.)
667
In JavaScript interviews, HotDocs Server processes variable fields ( ) and dot codes in
Multiple Choice option prompts when the Multiple Choice variable is first displayed in an
interview. If the variable used in the prompt is asked before the Multiple Choice variable
is displayed, the variable field will be resolved to display the answer. However, if the
variable did not already have an answer, the prompt will show an unanswered variable
reference instead. In both cases, if the answer for the variable used in the prompt is
subsequently changed, the prompt will not be updated because it is only processed one
time per interview. Finally, variable fields in merge text are never processed in JavaScript
interviews, but they are processed when the answer is merged in the assembled
document.
In Silverlight interviews, variable fields in Multiple Choice option prompts and merge text
are always kept up to date as they are in desktop interviews.
HotDocs Server only supports Plain Text and URL resources. All other resource
types (HTML Help, Windows Help, Folio Infobase, Custom Program) are ignored
in HotDocs Server interviews. (No resource is displayed for the dialog or variable.) In
addition, HotDocs Server displays all URL resources as hyperlinks that open up separate
windows; the actual Web page does not appear in the resource pane.
HotDocs Server interviews do not include an End of Interview dialog. Selecting Hide End
of Interview dialog at the Component File Properties dialog box (Assembly tab) has
no effect on the server interview.
Selecting Use variable names in summaries at the Component File Properties dialog
box (Assembly tab) has no effect on the server interview. (HotDocs Server does not
have an option for creating Question summaries, and Answer summaries always use
variable prompts.)
"TypeHere" bookmarks
Since HotDocs Server does not send assembled documents to the word processor,
selecting Move to the "TypeHere" bookmark at the Component File Properties dialog
box (Assembly tab) is not applicable to HotDocs Server templates.
Prevent users from using an Since answer file selection and processing is handled by your HotDocs Server Web
answer file to assemble a
(host) application, the Do not use answer files option at the Component File
document
Properties dialog box (Assembly tab) does not affect server interviews.
Max WHILE iterations
HotDocs Server does not honor the Maximum WHILE iterations value specified at the
Component File Properties dialog box (Assembly tab). (You should be careful not to
create an infinite WHILE loop in your templates.)
HotDocs Server does not honor the Maximum processing stack depth value specified
at the Component File Properties dialog box (Assembly tab). (You should be careful to
avoid infinitely recursing (processing) a computation.)
The ASCEND, DESCEND, and FILTER instructions, which are used for sorting and
filtering repeated dialogs, are ignored in HotDocs Server interviews. They can be used
to sort answers in the assembled document, but not to display a sorted or filtered list of
answers in the interview.
SUM( COMPUTATION_VAR ) Using the SUM( COMPUTATION_VAR) expression to display information during
expression
the interview is not supported. You can use this expression as part of the text in the
assembled document, but not in a dialog script or dialog element.
Copyright 2010 HotDocs Ltd. All rights reserved
668
Dot Codes
Automatic Prompt
Alignment
SPAN Instructions
669
1. Open the template's component file for editing and click the
2. Click the HotDocs Server tab and select Enable template for use with HotDocs Server.
3. Select any of the following options:
Option
Description
This option causes the interview outline (list of dialogs in the interview) to appear
when the interview is first displayed.
This option lets users show and hide the interview outline as needed.
This option causes the resource pane, which shows helpful information about
questions in the interview, to appear when the interview is first displayed.
This option lets users show and hide the resource pane as needed.
This option causes HotDocs Server to automatically update the entire interview as
users enter or change answers. If this option is turned off, HotDocs will only update
the interview as needed. (Some complex interviews may require Instant Update to be
turned off or response time may be slow.)
Note:
The Instant Update option applies only to JavaScript interviews. In Silverlight,
interviews are always instantly updated.
This option lets users control how frequently HotDocs updates the interview.
Single-page interview
initially ON
This option causes the interview to appear as a single page when the interview is first
displayed.
This option lets users switch between normal and single-page interviews.
When a template is enabled for use with HotDocs Server, HotDocs warns you if you try to use a feature that is not allowed
in a HotDocs Server template. In addition, HotDocs Server-enabled templates can be tested in a Web browser to ensure
that the interview appears as intended.
Tip:
To view a JavaScript or Silverlight browser interview, use the Template > Test in Browser command at the library
window. You can also view a JavaScript-based interview by pressing the Shift key as you click the
button. To view the interview using Silverlight, press the Ctrl key as you click the
works while editing a template; you can press either the Shift key or the Ctrl key as you click the
button in your word processor or HotDocs Automator.)
Assemble
Test Assemble
670
1. At the HotDocs library window, select a template and ensure it is enabled for use with HotDocs Server. (See Enable
Templates for Use with HotDocs Server.)
2. Select one of the following options from the Template > Test in Browser menu:
JavaScript: Displays a traditional JavaScript-based interview in a browser window.
Silverlight: Displays a Silverlight-based interview in a browser window. Unlike the traditional JavaScriptbased interviews where the interview logic is written in an interpretive language (JavaScript), Silverlight-based
interviews are compiled into machine code, which makes them much quicker. This is especially noticeable in
long, complex interviews.
Note:
The Silverlight option is only enabled if you have the Microsoft Silverlight 3 Runtime, SDK, and
Microsoft .NET Framework 3.5 installed on your computer. See System Requirements for details.
HotDocs displays the Answer File dialog box.
3. Select an answer file and click OK. A browser window appears and displays the interview.
4. Type any answers and click
Finish. HotDocs closes the browser window and displays the assembled document
in your default word processor or HotDocs Filler (for form documents).
Tip:
You can also view a JavaScript-based interview by pressing the Shift key as you click the
view the interview using Silverlight, press the Ctrl key as you click the
editing a template; you can press either the Shift key or the Ctrl key as you click the
word processor or HotDocs Automator.)
Assemble button. To
671
1. At the HotDocs library, select the template or templates you want to publish and click the
Publishing Wizard
button. The Publishing Wizard dialog box appears, displaying the Publishing Options information.
2. Select Template files for use with HotDocs Server from the Publish as group
3. Click the Browse button next to the Local folder for published files box to specify the folder where you want
HotDocs to save the published files. (Once these files are published to this temporary folder, you should move
them to a more permanent location. If you publish additional templates or other files that use the same file names,
HotDocs will overwrite the previously published files.)
672
1. Publish your templates or your template set. (See Publish a Template as a Standard File, Publish Templates as
Auto-Assemble Files (HDA), or Publish Templates as Auto-Install Files (HDI).)
4. Type a description of the Web site in the Friendly name box, and click OK.
5. HotDocs displays the Publishing Options dialog box again, where you can complete the publishing process.
When HotDocs finishes publishing your templates, it displays your customized Web page where you can enter additional
information about the templates you are uploading. Provide the information required by your organization and submit it.
That information, along with your templates, are uploaded to the server.
Note:
In order for template uploading to work, you must create two HTML pages to handle the data you are uploading. (See
Create Custom HTML Documents For Template Uploading.)
673
674
675
1. Publish your templates or your template set. (See Publish a Template as a Standard File, Publish Templates as
Auto-Assemble Files (HDA), or Publish Templates as Auto-Install Files (HDI).)
4. Type a description of the Web site in the Friendly name box, and click OK.
5. HotDocs displays the Publishing Options dialog box again, where you can complete the publishing process.
When HotDocs finishes publishing your templates, it displays your customized Web page where you can enter additional
information about the templates you are uploading. Provide the information required by your organization and submit it.
That information, along with your templates, are uploaded to the server.
Note:
In order for template uploading to work, you must create two HTML pages to handle the data you are uploading. (See
Create Custom HTML Documents For Template Uploading.)
676
677
1. Edit the template's component file using Component Manager. (See Open and Close Component Manager.) The
Component Manager window appears.
2. Click the
678
Format of Answers
The answers are uploaded in a single string of data, with each answer separated from the next by an ampersand, like this:
Answer1&Answer2&Answer3
The answers are not necessarily in the order in which they were input during document assembly.
Each answer is in the format Name=Value. This results in a data block, like this:
Name1=Value1&Name2=Value2&Name3=Value3
The format for answer names and values is URL-encoded text, with numbers being represented by text. For example,
the number 25 would be represented by the characters 2 and 5. (For more information on URL-encoded text, see URLencoded Text.)
The ampersand character that separates HotDocs answers and the equal sign that separates names and values are not
URL-encoded. The script needs to use these characters to delimit the answers, names, and values before it decodes the
names and values.
Answer Names
All answer names are 31 characters long. (Names for repeated answers are longer, however. See Names of Repeated
Answers.) The first character of the name is a capital letter code indicating the value type of the answer value (which is
always URL-encoded text). This value type corresponds to the variable type of the HotDocs variable that gathered the
answer.
Code
Value
Text
Number
Date
True/False (Boolean)
Multiple Choice
The other 30 characters of the answer name are the variable name of the variable that gathered the answer. If the
variables name is shorter than 30 characters, space characters are appended to the name to bring the total to 30.
The template developer needs to give you the complete answer names (value type code plus variable name).
Answer Values
The format of an answer value depends on the value type of the answer, as specified by the value type code in the
answer name.
Type
Format
Text
Any text
679
Number
Date
True/False
Multiple Choice
680
SECTION 8:
ASSEMBLING DOCUMENTS
681
682
683
Instant Update is turned off, information in the interview and document may become outdated. When this
happens, the
Instant Update button changes appearance. You can click the button and HotDocs will update the
interview or document so that all information will be current. (HotDocs also updates the document and interview when you
move between tabs in the assembly window, as well as when you print, save, or send the assembled document to the
word processor.)
To control when HotDocs updates the interview outline or document
1. While viewing either the Interview tab or the Document tab at the assembly window, click the
Instant Update
button.
When the button is selected (or pressed in), HotDocs updates the interview outline as you move between answer
fields. If you're viewing the Document tab, it updates the entire document.
When the button is not selected (or not pressed in), HotDocs updates the outline only when you move between
dialogs. If you're viewing the Document tab, it updates just the answer field you are currently viewing (and any other
answer fields that merge the same answer).
684
685
1. At the HotDocs library window, select the Find check box, located below the template list. The template list changes,
showing each template in the library in alphabetical order.
2. In the Find box, type the text that is in the title, description, or file name of the desired template. The template list
changes to show only the items that contain the text you type. (The Find text box is not case-sensitive.)
3. To view the entire library again, clear the Find check box.
Note:
To show file names instead of template titles in the file list, choose File Names from the View menu. To view template
titles again, choose Template Titles.
686
1. At the HotDocs library window, select a template. (If you're assembling a form document, see Overview: Assemble a
Form Document for additional instructions.)
2. Click
Assemble. The Answer File dialog box appears. (You can also start an interview by double-clicking the
template.)
3. Select an answer file (see Select an Answer File for Assembly), then click OK. The assembly window appears,
showing the interview outline and the first information-gathering dialog.
After the final dialog, the End of Interview dialog identifies how many questions are unanswered. This dialog also
provides options for working with the assembled document. See Use the End of Interview Dialog for specific details.
Note:
HotDocs updates the interview as you enter answers in a dialog. If you experience a significant delay when moving
from one answer to the next, you can have HotDocs update the interview less frequently. (See Update Your Interview
Outline and Document.)
687
2. Accept the suggested answer file or change the answer file by choosing one of the following options:
Click the
Open Answer File button to open the Open Answer File dialog box where you can choose an
Open.
Select Automatically select this answer file for use with the next assembly to have HotDocs suggest this
answer file for all subsequent documents you assemble.
3. At the Answer File dialog box, click OK. The assembly window appears.
Note:
You can also use Windows Explorer to access your answer files. See Overview: Use Answer Management.
Some templates may have an answer file assigned by the template provider. For templates like this, the Answer
File dialog box does not appear.
688
2. Select an answer file, then click OK. (See Select an Answer File for Assembly.) HotDocs displays the assembly
window.
Next or
4. At the end of the assembly, HotDocs may prompt you to save your answers in an answer file.
If this prompt appears, click Save or Save As to view the Save Answer File dialog box, where you can save
the answers you've provided. Or, click Don't Save to discard the answers.
If this prompt doesn't appear, the template is probably associated with an external answer source, so HotDocs
automatically saves the answers to that answer source. (See Answer Questions in a Dialog Using an Answer
Source for information on using an answer source.)
689
Click
690
2. Select an answer file, and click OK. The assembly window appears. (See Select an Answer File for Assembly.)
3. Click Overlay Answers (File menu). The Open Answer File dialog box appears.
4. Select an answer file to overlay, and click the
Caution:
HotDocs 5 users: You can no longer save or load pattern answer files. Instead, to merge specific answers from one
file into the current answer file, use the Overlay Answers command at the File menu of the assembly window. To
distinguish overlay answer files from regular answer files (as you could with pattern answer files), create a separate
folder in Answer File Manager and store your overlay answer files there. (See Add, Modify, and Delete Folders in
Answer File Manager.)
Note:
You can also specify an overlay answer file at the command line. (See Overview: Command-Line Options and Overlay
Answer File.)
691
1. At the HotDocs library window, press Ctrl or Shift, then select all the templates and clause libraries you want to
assemble.
2. Click
Assemble. The assembly queue status box (located in the status bar of the assembly window) displays
how many assemblies are waiting, and the Answer File dialog box appears.
3. Select an answer file and click OK. (Select an Answer File for Assembly.) The assembly window appears.
If the item is a template, the first answer-gathering dialog is shown. (See Assemble a Text or Form Document.)
If the item is a clause library, the clause library is shown. (See Select Clauses During an Interview.)
692
Auto Start is not selected, HotDocs starts the first assembly, but
then waits for you to start each subsequent assembly by clicking the
As templates are added to the assembly queue, they are assigned a status, which helps you identify each template's
stage in the assembly process. (For a description of template statuses, click here.)
To work with templates in the assembly queue
3. At the Answer File dialog box, select an answer file and click OK. (See Select an Answer File for Assembly.) The
first dialog appears in the assembly window.
4. Throughout the interview process, perform any of the following tasks using the following commands in the Assembly
Queue:
To
Do This
Select the item in the assembly list and click either the
Up button or the
Down
button. (Templates that are currently assembling cannot be moved in the queue.)
Remove a confirmed
assembly
Change whether
assemblies start
automatically or manually
Click the
Auto Start button. When Auto Start is turned off, clicking the
Assemble button at the HotDocs library only starts the first assembly. To begin
subsequent assemblies, you must also select an entry in the assembly queue and
click the
Manually start an
assembly
Click the
Assemble button.
Click the
Clean Up button.
Note:
When HotDocs closes, it remembers the assembly queue display setting. If you close HotDocs while the queue is
showing, the queue will automatically be displayed the next time you open HotDocs.
693
You can have completed assemblies automatically removed from the assembly queue. See Include List of
Completed Assemblies in Assembly Queue for details.
694
2. Select an answer file and click OK. The clause library appears in the dialog pane. (See Select an Answer File for
Assembly.)
4. From the Available list, select each clause you want to use and click
remove a clause, select it, then click
5. Optionally, reorder the clauses in the Selected list by selecting and dragging a clause to the desired position. The
clauses will be inserted into the document in this order.
6. When all the necessary clauses are in the Selected list, click
7. Answer any questions in the interview. Once all questions are answered, complete any of the following steps:
Click the
Send the assembled document to the word processor button (or press F11) to open the
assembled document in your word processor.
Click
Paste the assembled document into the open word processor document (or press Shift+F11) at
the End of Interview dialog. This will insert the assembled document into an open word processor document.
Microsoft Word users: Choose File > Send Document To > Clipboard (or press Ctrl+F11) to place a copy
of the document on the Windows Clipboard. You can then open an existing document and paste the text in the
desired location.
695
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. The HotDocs assembly window appears. Complete any of the tasks using commands listed in the following table:
To
Do This
Depending on the type of answer required, type a text or number answer, enter a
date, select a check box, or choose an option from a list of options.
When entering a multi-line text answer, you can control whether the Enter key inserts
a line break or a paragraph mark in the assembled Word document. To enter a line
break, simply press Enter. To enter a paragraph break, press Ctrl+Enter. (In some
situations, the template developer may have specified which break to use.)
When entering a patterned time of day, enter the hour first, then press the right arrow
key to move past the colon to enter the minutes. You can also click the up and down
arrows next to the answer field to select the hours and minutes.
696
To
Do This
Click the
Finish Interview button. (Where you view the assembled document
depends on the Finish Interview action you've specified. See Control What Happens
When You Finish an Interview.)
Click the
Go to Answer in Document button. HotDocs displays the Document
tab and moves the cursor to the first place in the document where the answer is
merged.
Preview an assembled text Click the Document Preview tab. (See Preview the Assembled Text Document.)
document before sending
it to the word processor
View an assembled form
document
Click the Form Document tab. (See View the Assembled Form Document .)
Click the Variable Sheet tab. (See View the Variable Sheet.)
Note:
HotDocs updates the interview as you enter answers in a dialog. If you experience a significant delay when
moving from one answer to the next, you can have HotDocs update the interview less frequently. (See Update
Your Interview Outline and Document.)
Sometimes the format of your answer may be changed. To verify these changes, you can specify an option
that forces HotDocs to warn you of answer format changes before moving to the next dialog. (See Warn When
HotDocs Reformats Date and Number Answers.)
To display the different tabs along the bottom of the window (instead of the top), clear Tabs at Top (View menu).
697
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
698
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
Save Answers button. If you are using an existing answer file, the new
answers are saved. If you are using a new answer file, the Save Answer File dialog box appears where you can
perform any of the following tasks:
To
Do This
At the File name box, enter a name. When you click OK, the answer file will be
saved to the default Answers folder and a reference to it will be added to Answer File
Manager.
To save the answers to a location other than the default Answers folder, click the
Browse button and navigate to the location.
At the Title box, enter a name or accept the suggestion HotDocs makes.
At the Description box, type notes about the answer file's purpose or contents. (The
description will appear at the Properties tab of the Answer File Manager. When
searching for specific answer files, you can search for text in the description.)
699
1. At the HotDocs library window, select a template and begin assembling a document. (See Assemble a Text or Form
Document.)
Open Answers. The Open Answer File dialog box appears. (Depending on the
file management settings you have selected, a Windows Explorer dialog box or a window from your document
management program may appear instead. See Manage Answer Files.)
Open.
4. If prompted to save the old answers, click Save, Save As, or Don't Save, depending on your needs. (See Save an
Answer File During Assembly.)
5. The assembly window appears again, using the newly selected answer file.
Note:
When viewing the answer library, you can sort the answer files. To do this, select a folder and click
Sort. To search
for a specific answer file, select the Find check box, then type the text for which you are searching in the text box.
700
Add Another button to add another repetition of the dialog to the series. The repetition number next
to the dialog icon increases each time you enter a new set of answers. (You can also press Alt+A to add new
repetitions to a list.)
3.
To move to the next dialog after entering all the answers in the list, click
Next in the navigation bar. (You can also
click on the next dialog icon in the interview outline, or press Page Down or Alt+N.)
Note:
When entering a list of answers within another list of answers, you can press Alt+Left Arrow to return to the parent
dialog. (You can also choose Parent Dialog from the Navigate menu.)
To enter answers in a repeated spreadsheet
1. At an answer-gathering dialog that includes a repeated dialog formatted as a spreadsheet, click in the first
spreadsheet cell and enter your answer.
2. Press Tab to move to the next cell in the row (or use the mouse to click in the next cell) and enter your answer.
3. Repeat this process for each answer.
To work with repeated answers
3. Use the options described in the following table to complete additional tasks:
To
Do This
Select the dialog you want to delete and either click the
or choose Delete Repetition from the Edit menu.
701
To
Do This
Click in the column on which you want to sort and click the
Sort button (located on
the Edit toolbar). The Sort Spreadsheet dialog box appears where you can specify
your sorting preferences. If the template developer has specified any sorting options,
answers will be merged in the document using those sort options. Otherwise the sort
order you specify here will be used in the assembled document.
Click in the row you want to edit and either click the
and choose Edit Row from the shortcut menu.
702
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
703
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
Edit Row. A pop-up interview appears. (You can also right-click and choose Edit Row
Next. The answers are saved and a new set of answer fields
appears.
5. After providing all the necessary answers, close the pop-up interview by clicking
Finish.
704
1. At the HotDocs library window, select a template that contains an inserted clause library and begin assembling the
document. (See Assemble a Text or Form Document.)
2. Navigate to the dialog where the clause library is located. The clause library appears in the dialog pane.
3. Optionally, perform either of the following tasks:
Select the Find check box to find all of the clauses with specific text in their title or description. In the text box,
type the text for which you are searching.
Click
Preview to view the clause text in a pop-up dialog box. To return to the clause library, click the X in
the upper-right corner of the pop-up dialog box.
4. From the Available list, select each clause you want to use and click
remove a clause, select it, then click
5. Optionally, reorder the clauses in the Selected list by selecting and dragging a clause to the desired position. The
clauses will be inserted into the document in this order.
6. When all the necessary clauses are in the Selected list, click
705
1. Define the Markup View options you want to use in the document. (See Specify How Documents Should Be Marked
Up.)
2. Assemble the Word document for which you want to generate markup.
3. Answer only the questions whose answers you want to appear in the assembled document. Leave all other
questions unanswered. (These unanswered questions are the fields that will be marked using the scheme you define
in step 1.)
4. Choose Markup View (View menu). The document changes to show the marked up document.
Note:
By default, merge fields in the document appear in colorred for unanswered questions and blue for answered
questions. Sometimes, however, if an answer field is within a text block that is conditional or repeated, it appears
(and remains) blue until the condition is met or the REPEAT instruction is answered. Editable text likewise
appears using the colors you've defined at HotDocs Options.
Additionally, merge fields in the document are italicized by default. If you've used international characters in your
answers, the italicized version of the font used in the document may not display the foreign characters correctly. If
this is the case, clear the Italic attribute for Markup View. See Specify How Documents Should Be Marked Up for
details.
If the template developer has used merge fields in question prompts, those merge fields can be displayed as
markup fields. (Choose Markup View (View menu) while at the Interview tab.) Additionally, you can switch to
Markup View while assembling form documents.
To view a non-marked up version of the assembled document again, clear Markup View (View menu).
706
707
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
708
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After completing the interview, the End of Interview dialog appears. The following table describes the commands
available here:
To
Do This
Click
Click
You can choose the default word processor to which assembled documents are
always sent, or you can let HotDocs choose the word processor each time based on
the file type. See Change Your Default Word Processor.
Click the
View the assembled form document at the Form Document tab
button. (See View the Assembled Form Document.)
Click
Paste the assembled document into the open word processor
document.
This command will paste the document text into a document already open in your
word processor. If there is not a document already open, HotDocs will create a new
document.
Click
Click
Click
Click
Click
Caution:
For complete instructions on saving assembled documents as PDF files, see Save
Assembled Text Document as PDF.
709
Note:
When you assemble multiple documents, the End of Interview dialog also notifies you that other assemblies are
ready to begin.
To keep the End of Interview dialog from appearing, clear End of Interview Dialog at the View menu of the
assembly window. Then, when you click Next at the last dialog in the interview, HotDocs will either send the
assembled document to the word processor or HotDocs Filler, or it will display the Document tab of the assembly
window. To specify which action HotDocs performs, see Control What Happens When You Finish an Interview.
You can choose which options appear in the End of Interview dialog. See Customize the End of Interview Dialog.
710
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After providing the required answers, click the Document Preview tab. The assembly window changes to show a
preview of the document.
3. Click the
Highlight Fields button. This assigns colors to both answered questions and unanswered questions in
the document. (You can change the default colors assigned to answered fields as well as unanswered fields. See
Set Properties for Viewing Answers and Editable Text in the Assembled Document.)
4. Double-click on an answer field. A pop-up interview appears, showing the dialog in which the question is used.
5. Change your answer and click
Next or
Finish. The pop-up interview closes and the answer is updated in the
document.
6. Use any of the following commands to help you edit answers in the document:
To
Jump to the place in
the interview where the
question is asked
Do This
Caution:
Because of scripting in the template, sometimes you will not be able to move
between the Interview and Document tabs. HotDocs will warn you when this is
the case.
Place your cursor in the answer field and click the
button.
Go to Answer in Interview
While viewing the Interview tab, you can go to the place in the document where
the answer is merged. To do this, place your cursor in the answer field and click the
Go to Answer in Document button.
Move between answers in
the document
Click
Next or
Click the
Next Unanswered or Previous Unanswered button to move to the
next unanswered or previous unanswered question in the document.
Press Ctrl+M or Ctrl+Shift+M to move between matching answers in the document
(for example, those answers in the document that are exact matches). (You can also
press Shift as you click the
Next or
Previous button.)
711
To
Do This
Click
End or
document.
Note:
If you experience a delay when changing answers in your document, click the
Document Instant Update
button (so it isn't pressed in). Then, when you change an answer, HotDocs will just update the field you are
editing (and any other fields that merge the exact same answer). Be aware, however, that turning
Instant
Update off may cause some of the information in the document to be out of date if you change answers. (You
can tell when the document is out of date by the appearance of the
Instant Update button. To update the
document, click the button again. (The document will automatically update if you attempt to save it, print it, or
send it to the word processor.)
Once your cursor is in an answer field, you can press Enter and the pop-up interview will appear.
If the template provider has allowed it, you can also edit the text of the document. See Edit Document Text at the
Document Preview Tab for details.
712
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
3. Make your selection, based on the options described in the following table:
To
Do This
Select an existing replacement from the Change to list (or type the replacement in
the Change to box) and click Change.
Select an existing replacement from the Change to list (or type the replacement in
the Change to box) and click Change All.
Click Add.
Click Suggest.
Click Options. (You can also change your options at the HotDocs Options dialog
box. See Change Your Spell Checking Options.)
A deeper search takes longer but produces better possible replacements. If the
button is unavailable, HotDocs is searching at the deepest level.
713
1. At the HotDocs library window, select a template and begin the assembly. (See Assemble a Text or Form
Document.)
2. After providing the required answers, click the Document Preview tab. The assembly window changes to show a
preview of the document. By default, answers that have not been entered are marked with asterisks (for example,
***Employee Name***). You can choose a different unanswered format, however. See Format Unanswered
Variables in a Document for details.
4. Once you have verified that the document is correct, use any of the following commands to work with the assembled
document:
To
Do This
Click the
Save Document button. (See Save an Assembled Text or Form
Document.)
Click the
Send Document button. (See Send the Assembled Text Document to
the Word Processor.)
Click the
Print Document button. (See Print an Assembled Text Document or
Print an Assembled Form Document.)
Note:
If an assembled text document contains any cross references, including a table of contents or index, you may need to
update the references once you send the document to the word processor. To do this, select all of the document text
(press Ctrl+A) and then press the F9 key.
714
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After providing the required answers, click the Document Preview tab. The assembly window changes to show a
preview of the document.
3. Click the
Highlight Fields button. This assigns colors to both answered questions and unanswered questions in
the document. (You can change the default colors assigned to answered fields as well as unanswered fields. See
Set Properties for Viewing Answers and Editable Text in the Assembled Document.)
4. Double-click on an answer field. A pop-up interview appears, showing the dialog in which the question is used.
5. Change your answer and click
Next or
Finish. The pop-up interview closes and the answer is updated in the
document.
6. Use any of the following commands to help you edit answers in the document:
To
Jump to the place in
the interview where the
question is asked
Do This
Caution:
Because of scripting in the template, sometimes you will not be able to move
between the Interview and Document tabs. HotDocs will warn you when this is
the case.
Place your cursor in the answer field and click the
button.
Go to Answer in Interview
While viewing the Interview tab, you can go to the place in the document where
the answer is merged. To do this, place your cursor in the answer field and click the
Go to Answer in Document button.
Move between answers in
the document
Click
Next or
Click the
Next Unanswered or Previous Unanswered button to move to the
next unanswered or previous unanswered question in the document.
Press Ctrl+M or Ctrl+Shift+M to move between matching answers in the document
(for example, those answers in the document that are exact matches). (You can also
press Shift as you click the
Next or
Previous button.)
715
To
Do This
Click
End or
document.
Note:
If you experience a delay when changing answers in your document, click the
Document Instant Update
button (so it isn't pressed in). Then, when you change an answer, HotDocs will just update the field you are
editing (and any other fields that merge the exact same answer). Be aware, however, that turning
Instant
Update off may cause some of the information in the document to be out of date if you change answers. (You
can tell when the document is out of date by the appearance of the
Instant Update button. To update the
document, click the button again. (The document will automatically update if you attempt to save it, print it, or
send it to the word processor.)
Once your cursor is in an answer field, you can press Enter and the pop-up interview will appear.
If the template provider has allowed it, you can also edit the text of the document. See Edit Document Text at the
Document Preview Tab for details.
716
1. At the HotDocs library window, select a Microsoft Word template and begin assembling the document. (See
Assemble a Text or Form Document.)
2. After providing the required answers, click the Document Preview tab. The assembly window changes to show a
preview of the document.
3. Click the
Highlight Fields button. Text in the document that can be edited changes color.
5. Edit the text using the commands in the Document Text Editor toolbar. (See Document Text Editor Toolbar for a
description of each command.)
Save and Close. The editor closes and your changes are
You can choose specific colors for marking editable and edited text in the document. See Set Properties for
Viewing Answers and Editable Text in the Assembled Document.
When viewing the document in the Document Text Editor, if you click the Show Codes button, you will see
an extra paragraph mark at the end of the document. This paragraph mark is merged by the text editor and will
717
be deleted when you save your changes and the text is inserted back into the document. Because of this, do not
modify the paragraph mark.
718
1. Define the Markup View options you want to use in the document. (See Specify How Documents Should Be Marked
Up.)
2. Assemble the Word document for which you want to generate markup.
3. Answer only the questions whose answers you want to appear in the assembled document. Leave all other
questions unanswered. (These unanswered questions are the fields that will be marked using the scheme you define
in step 1.)
4. Choose Markup View (View menu). The document changes to show the marked up document.
Note:
By default, merge fields in the document appear in colorred for unanswered questions and blue for answered
questions. Sometimes, however, if an answer field is within a text block that is conditional or repeated, it appears
(and remains) blue until the condition is met or the REPEAT instruction is answered. Editable text likewise
appears using the colors you've defined at HotDocs Options.
Additionally, merge fields in the document are italicized by default. If you've used international characters in your
answers, the italicized version of the font used in the document may not display the foreign characters correctly. If
this is the case, clear the Italic attribute for Markup View. See Specify How Documents Should Be Marked Up for
details.
If the template developer has used merge fields in question prompts, those merge fields can be displayed as
markup fields. (Choose Markup View (View menu) while at the Interview tab.) Additionally, you can switch to
Markup View while assembling form documents.
To view a non-marked up version of the assembled document again, clear Markup View (View menu).
719
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
3. Using the word processor's tools, modify the document. Be aware, however, that any changes you make to answers
in the document will not be reflected in the answer file.
Note:
If you have more than one word processor installed, you can choose which word processor will be used for
viewing assembled documents. See Change Your Default Word Processor for details.
You can preview a text document at the Document Preview tab. While this preview shows the information in the
document correctly, it may not be formatted correctlyparticularly in WordPerfect documents.
If the template provider has allowed it, you may be able to edit the text of the document while still viewing it in the
assembly window. For details, see Edit Document Text at the Document Preview Tab (Word users only).
720
721
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After providing the required answers, click the Document Preview tab. The assembly window changes to show a
preview of the document.
3. Click the
Print Document button. The document is printed at the printer you specify.
722
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
723
Document.)
724
Document.)
2. At the End of Interview dialog, click Save the assembled document as a PDF. The Save As dialog box appears.
3. Specify the file path and name for the PDF file, and select PDF File (*.pdf) from the Save as type drop-down list.
4. Optionally, click Security to assign any security options you need to the document. (See Assign Security Options to
a PDF Document.)
725
726
727
1. At the HotDocs library window, select a form template and begin assembling the document. (See Assemble a Text
or Form Document.)
2. If you're not viewing it, click the Form Document tab. The assembly window changes to show the form document.
3. Click on a field and enter an answer.
4. Press Tab to move to the next field, or use the mouse to click on another field.
As you tab between fields, HotDocs will skip any conditioned fields that have been resolved in such a way that it isn't
necessary to answer the field.
Do This
Click the
Click the
Click the
Show Thumbnails button. This displays small images of each page in
the document in the left margin of the form view. You can click one of these images
and go to that page immediately.
Choose Go To (Edit menu) and enter the page number of the page you want to view.
Place your cursor in a field and click one of the following navigation buttons: (If the
Form Navigation Bar isn't showing, choose it at the View menu.)
Select Tool button and draw the field. (See Create a Form Field.) To
Clicking Next or
document.
Clicking the
Next Unanswered or Previous Unanswered button moves
you to the next unanswered question in the document
Pressing Ctrl+M or Shift+Ctrl+M moves between matching answers in
the document (for example, those answers in the document that are exact
matches). (You can also press Shift as you click the
button.)
Next or
Previous
728
To
Do This
Clicking
End or Beginning to go to the end of the document or the
beginning of the document.
Note:
To access answer wizards, table wizards, and calendars during direct-fill assembly, right-click on the field and
choose the option from the shortcut menu. For example, to view the calendar for a date field, right-click on the
field and choose Calendar from the shortcut menu.
Some answers may be too large to fit in the field. If this happens, HotDocs warns you by displaying the Overflow
Options dialog box. See Check Form Fields for Answer Overflow. Similarly, you can specify when this warning
should appear. See Set Rules for Handling Answer Overflow.
729
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After answering the questions in the interview, click the Form Document tab. The assembly window changes to
show the assembled document.
3. Optionally, select a field and enter a different answer. (See Enter Answers Directly at the Form Document Tab.)
4. Once you have finished entering answers, complete any of the following options:
Click the
Save Document button to save the assembled form document to disk. (See Save an Assembled
Text or Form Document.)
Click the
Print Document button to print the assembled form document. (See Print an Assembled Form
Document.)
Click Send Document To > Mail Recipient (File menu)to attach the assembled form document to an e-mail
message. (See Attach a Text or Form Document to an E-mail Message.)
Click Close (File menu) to close the assembly window. HotDocs prompts you to save any changed answers.
Note:
See Overview: Assemble a Form Document for a list of changes you can make to an assembled form document.
730
1. Follow the instructions for assembling a form document in Assemble a Text or Form Document.
2. Complete the interview. (See Navigate Through Answer-Gathering Dialogs.)
3. At the Form Document tab, review your answers.
4. Choose Check for Overflow (Tools menu) and resolve any fields that overflow.
5. Click the
6. Click the Save as type drop-down button and select Fillable PDF Form from the list of options.
7. Enter a name in the File name box and click Save. The document is saved.
Once you save the document, you should review it to make sure the answers appear correctly.
Caution:
When creating a fillable PDF document, form designers can enable usage rights within the document. These rights
allow Adobe Reader users to save copies of the document with changes they have made to the documentincluding
entering or changing answers they have entered in the fillable PDF. However, when a rights-enabled fillable PDF is
converted to template format, the document is changed in such a way that usage rights are no longer in effect. This
means that you will not be able to save changes you make when editing the assembled document in Adobe Reader.
731
1. At the HotDocs library window, select a form template and begin assembling the document. (See Assemble a Text
or Form Document.)
2. After entering answers, click the Form Document tab. The assembly window changes to show the document.
3. Select the field you want to override.
4. Click the
Override Field button and, at the Override Field warning message, click OK. The assembly window
appears again.
5. In the field, enter the answer you want, then move to a different field. The overridden field changes to gray.
To remove the overridden answer, select the field and click the
Override Field button again. The current answer is
removed and the saved answer reappears. Removing the override, however, may create answer overflow situations. See
Check Form Fields for Answer Overflow for details.
732
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After providing the required answers, click the Form Document tab. The assembly window changes to show the
assembled document.
3. Click the
4. If you are printing a HotDocs form document (or .HFD file), select any of the following printing options. (If you're
printing a PDF form document, skip to step #5.)
To print the form and answers, select Form with Answers in the Output group.
To print only the static text of the form, select Form Only (Blank Form) in the Output group.
To print the answers onto a pre-printed copy of the form, select Answers Only (Use Preprinted Form) in the
Output group.
To change the double-sided printing options, select the desired option. Single-sided prints the document using
one side of each sheet of paper. Double-Sided, Side-to-Side prints the document with the tops of both pages
at the same end of the paper, like a traditional book. Double-Sided, Top-to-Bottom, prints the document with
the bottom of the second page at the same end as the top of the first page, like a flip-chart.
5. If you are printing a PDF form document (or .HPD file), you must choose whether to print using the functionality
of HotDocs or Adobe Acrobat. (See Print PDF-Based Documents Dialog Box for tips on which printing option you
should choose.)
Choose HotDocs, which prints at a slower speed but provides a wider range of printing options.
Choose Adobe Acrobat, which prints at a faster speed but provides few printing options.
Some types of printers have been known to cause problems when printing a form template or document, and should be
tested before use with finished products. These printers include:
Ink jet printers
Brother printers
16-bit postscript printer drivers
DeskJet printers
Xerox printers
"All-in-one" printers (printers that include copying, scanning, printing, and faxing capabilities)
For best results, it is recommended that you use an HP LaserJet with at least two megabytes of memory.
733
734
1. Using Windows Explorer, locate and double-click the appropriate form document. HotDocs Filler appears, showing
the form document.
Do This
Change an answer in a
field
Click on a field. The field becomes active, allowing you to enter an answer.
Caution:
You can edit answers in a saved form document, but you must re-evaluate any
computations or conditions affected by changed answers. Similarly, changes you
make are not reflected in the answer file used to assemble the document.
With the
Select Tool button selected, press the left mouse button and move the
The fields you create in Filler have no variable associated with them. They are simply
text boxes where you can type information.
Print the document
Click the
Print button.
Click the
+O.)
Open button, and then locate the desired file. (You can also press Ctrl
3. Once you have the assembled form document open for editing, there are several other things you can do. For
example, you can:
Change the field type. (See Change the Field Type.)
Change the size of a field. (See Resize Form Fields.)
Change the position or margins of a field. (See Move a Field on a Form and Change the Borders and Margins
of a Field.)
Create a new answer field. (See Create a Form Field.)
Rotate text in a field. (See Rotate Answers in a Field.)
Convert answers on the form to bar code format. (See Convert Answers on the Form to Bar Code Format.)
Insert a graphic into a field. (See Insert a Graphic File in a Form.)
Cross out static text on the form. (See Cross Out Static Text on the Form.)
Circle static text on a form. (See Circle Static Text on a Form.)
735
7. Optionally, you can customize the appearance of your fields in the following ways:
Attach a variable to the field. (See Attach a Variable to a Field.)
Change the field type. (See Change the Field Type.)
Adjust the size. (See Resize Form Fields.)
Change the field's position on the form. (See Move a Field on a Form.)
Make a field conditional so the variable is asked only if a condition is true. (See Make a Field Conditional.)
Note:
To move multiple fields once they have been created, select the fields and press the arrow key that indicates
which direction you want to move them. To move fields more quickly, press the Shift key while pressing the
arrow keys.
You can also create a standard-size field by double-clicking on the form. Or, you can click to set the field crosshair and press F8.
736
Select a Field
Before You Begin:
These instructions can also be used to select fields both at the Form Document tab of the assembly window and in
HotDocs Filler.
In order to work with a field, you must first select it. When you select a field, handles appear on the field borders showing
that you can edit the borders or other properties. You can select a single field to work with, or you can select multiple
fields to group them or to make the same change to all of the fields.
To select fields
5. Use any of the following additional methods for selecting fields or canceling the selection, as described in the
following table:
To
Do This
Click Select All (Edit menu). (You can also press Ctrl+A.)
Hold down the Ctrl key and click the new fields.
Note:
If you have trouble selecting the field you want, the field may be in a group. If this is the case, you must first
ungroup the fields by clicking Ungroup (Field menu). (See Ungroup Form Fields.)
Click the
737
3. Attach a variable to the field. Your options include True/False and Multiple Choice.
Note:
When assigning a True/False variable, if you want to merge a character other than an X, indicate the character
by specifying it as a variable format. See Customize a True/False Variable for details. To change the font for the
field, see Set Properties for New Check-Box Fields. When assigning a Multiple Choice variable, you should group
the fields before attaching the variable. See Group Form Fields So Answers Can Flow From One Field to Another
for details.
4. Optionally, specify a condition to make the field dependant on other answers in the form. (See Make a Field
Conditional.)
Note:
You can change the default measurements used to identify new fields as check boxes. You can also specify a
default character other than X to be used when selecting check-box fields. (See Set Properties for New CheckBox Fields.)
If HotDocs creates an Edit field, rather than a Check-box field, select the field, click the
button, and choose Check box as the Field type.
Field Properties
738
Fit Page to
Detect button.
If you are creating a new field, place your cursor where the new field should be created and click the
button.
Detect
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
739
1. Edit a form template. (See Edit a Form Template.) Edit a form document. (See Edit a Saved Form Document.)
2. Select a field. (See Select a Field.)
3. Click the
4. Click the Additional tab. The view changes to show the positioning options.
5. In the Position group, enter the desired distance from the left and top margins of the page in the Left and Top
boxes. (You can also click the up or down arrows for each field to change the distance.)
Note:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from
the template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable
PDF. See Detect Fillable Fields in a PDF Template for details.
If a field you want to move is part of a group, you must first ungroup the fields. (See Ungroup Form Fields.)
The Field Properties dialog box includes the First, Previous, Next, and Last buttons to move you between
fields. When you have multiple fields selected, these buttons are not available.
740
Align button. The Align Fields dialog box appears. (You can also right-click and choose Align from the
shortcut menu.)
4. Select an option in the Horizontal alignment group to align the fields horizontally, or the Vertical alignment group to
align the fields vertically. The Example box previews the selected alignment option.
5. Click OK. The template appears again, and the selected fields are repositioned.
To size fields in relation to each other
Align button. The Align Fields dialog box appears. (You can also right-click and choose Align from the
shortcut menu.)
4. Select the options you need from the Width group and/or the Height group. The Example box previews the
selected resizing options.
5. Click OK. The template appears again, and the selected fields are resized.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
741
4. Click the Layout tab. The view changes to show layout options.
5. In the Borders and Margins groupings, make your selections. (Remember, borders affect the thickness of field
boxes, while margins affect the distance between the border of the field and the answer in the field.)
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
742
1. Edit a form template. (See Edit a Form Template.) Edit a form document. (See Edit a Saved Form Document.)
2. Select the field or fields you want to copy. (See Select a Field.)
3. Choose Copy (Edit menu). The field is copied to the Windows Clipboard. (You can also select the field and press
Ctrl+C, or you can right-click on the field and choose Copy from the shortcut menu.)
4. Place the mouse cursor where you want the lower-left corner of the copied field to be, and then click the mouse to
set the cross-hair.
5. Choose Paste (Edit menu). The copied field is pasted at that location. (You can also press Ctrl+V, or you can rightclick on the field and choose Paste from the shortcut menu.)
Note:
You can also copy a field by holding down the Ctrl key while dragging the field to its new location.
If you need to automate an updated version of the template, it may be easier to replace the static content, rather
than copy all of the fields. (See Update the Underlying Text in a Form Template.)
Note:
You can also copy a field by holding down the Ctrl key while dragging the field to its new location.
Caution:
If you are working in a fillable PDF template, remember that linked fields are associated with underlying fillable fields in
the PDF. If you plan to save the assembled document as a fillable PDF, answers associated with linked fields will only
be merged where there are fillable fields on the form. This means that you cannot copy a linked field to a new location
on the form and expect the answer to appear there in the resulting fillable PDF. If you want to use the same variable
somewhere else in the form, create a regular HotDocs field and assign it the same variable name as the fillable field.
Note, however, that in the fillable PDF, the answer will appear static.
743
4. Hold down the mouse button and drag the border to a new position.
To resize a field using the keyboard
4. Click the Additional tab and, in the Size group, enter the desired distance from the left and top borders of the field
in the Width or Height boxes. (You can also click the up or down arrows for each field to change the size.) The field
size is changed.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
744
4. Click the Additional tab. The view changes to show ordering options.
5. In the Row box, type the row number.
6. If you need to specify the order for fields in the same row, type a number in the Column box.
7. Optionally, at the Order dialog box, you can click the First, Previous, Next, or Last button to save the current field's
settings and display the next field's order.
By selecting and ordering different groups of fields, you can use fill order to handle various situations. For example:
Remove all fill order settings: Select all fields and set the Row and Column numbers to 0.
Organize large sections of fields: Select the desired fields and specify the order.
Flow answers across fields contrary to the default order (top to bottom, left to right): Set the desired order,
then group the fields. (See Group Form Fields So Answers Can Flow From One Field to Another.)
Fill table columns in an order different from the static text: Set the desired order, then group the fields as a
table.
Copyright 2010 HotDocs Ltd. All rights reserved
745
Note:
To control when a variable is asked without changing fill order, you can use ASK instructions. For example, if you
simply want a particular field to be asked first even though it isn't the first field on the form, place an ASK instruction in
the top left corner of the page. (See Attach an ASK Instruction to a Field.)
746
Group Form Fields So Answers Can Flow From One Field to Another
Before You Begin:
These instructions can also be used to group fields for answer flow-through both at the Form Document tab of the
assembly window and in HotDocs Filler.
Sometimes an answer must begin in one field and continue in other fields. For example, you may have a Text variable
whose answer must span two or more pre-printed lines. You can create edit fields for each line, and then group the fields
so that answers flow from one field to another. Fields grouped this way are called run-on groups.
Once fields are grouped, HotDocs treats the group as a single field. This means that the Text variable and any conditions
for the variable will be assigned to the grouping, not the individual fields in the group.
Caution:
If you are automating a fillable PDF template and you plan to save the assembled document as a fillable PDF, you
cannot group fillable fields since necessarily, each fillable field is linked to a separate variable. Answersboth in
HotDocs and Adobemust be entered on individual lines. This means that when you reach the end of one field, you
must tab to the next field and continue typing your answer. (This inability to group fields is a limitation of Adobe. If you
have access to the form, you may consider replacing individual fields in the group with a single, multi-line field. Text
you enter may not match the lines perfectly, but you will not have to tab between fields to enter the answer.)
To flow an answer across multiple fields
747
748
Default Color
Description
Edit
Yellow
Check Box
Blue
Resource
Orange
Control
Green
Note:
If you are working with a fillable PDF template, linked fields appear using a light blue color. This distinguishes them
from regular HotDocs fields. See Detect Fillable Fields in a PDF Template.
To change the field type
Copyright 2010 HotDocs Ltd. All rights reserved
749
4. At the Type tab, make your selection, based on the information in the table above.
Note:
You can change the default colors used for form fields at the HotDocs Options dialog box. (See Change Colors in
HotDocs Forms.)
750
4. At the Type tab, click Font. The Font dialog box appears.
5. Make your font selections.
Note:
You can specify default font properties for all new fields you create at HotDocs Options. See Set Properties for New
Edit Fields for more details.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
751
5. Click the Layout tab. The view changes to show the different options for formatting the field.
6. In the Line Format group, complete one of the following options:
To
Do This
Enter how much space to include between the margin of the field and the first
character of the answer in the First line indent box. (You can either type the number
or click the up or down arrows.)
Enter the number of lines in the Maximum lines box. If the answer contains more
lines than is specified, the field will overflow.
Enter the number of characters in the Max chars/line box. When the number of
characters exceeds this limit, text will wrap to the next line.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
752
4. Click the Layout tab. The view changes to show field layout properties.
5. In the Rotation group, select a degree of rotation: 0, 90, 180, or 270, for example:
Note:
You can enter test text in the test answer box (of the Type tab) to preview the selected rotation. See Preview the
Formatting of Answers in a Form Field.
When you change the rotation, HotDocs views the bottom of the letters as the bottom of the field. This means that
aligning the text horizontally or vertically may have different effects.
Caution:
If you are working with linked fields in a fillable PDF template and you plan to save the document assembled from the
template as a fillable PDF, any changes you make to the linked field will not be honored in the saved fillable PDF. See
Detect Fillable Fields in a PDF Template for details.
753
754
Field Properties button. The Field Properties dialog box appears. (You can also right-click and select
Field Properties from the shortcut menu.)
755
Field Properties button. The Field Properties dialog box appears. (You can also right-click and select
Field Properties from the shortcut menu.)
8. Optionally, to control the width of the circle's border, click the Layout tab and change the Line thickness in the
Circle group.
Note:
To preview the circle (see Preview the Formatting of Answers in a Form Field), make sure you enter text in the
Answer text box of the Type tab.
756
3. If you're using a Multiple Choice variable, edit the variable and, in the Merge Text column, enter the file names of
the graphics, depending on which options the user chooses.
4. If you're using a True/False variable, edit the variable and, in the Format box, enter the file name of the graphic,
either preceded or followed by a forward slash (to indicate yes/no status).
5. Click OK at the variable editor and at the Variable Field dialog box.
6. With the field still selected, click the
7. At the Type tab, select Image from the Display type group.
8. Optionally, change the Field type to Control to restrict the users ability to modify the field. (Change the Field Type.)
To create a graphic field without using a variable
4. At the Type tab, select Image from the Display type group.
5. Click the
Open button next to the Image file name box. The Open dialog box appears.
6. Locate and select the desired graphic file and click Open. The path and file name appear in the box.
7. Optionally, change the Field Type to Control to restrict the users ability to modify the field. (Change the Field
Type.)
757
4. Click OK at both the variable editor and the Variable Field dialog box. The template appears again.
5. With the field still selected, click the
758
759
5. Click the Overflow tab, and in the Group name box, enter a name. Usually, this is the name of the variable, but it
can be any text as long as it is the same for each field in the group.
6. On the following page(s), create the fields that will contain any overflow. Do not assign variables to these fields.
7. Repeat the preceding steps for each field in the group, using the same group name as you assigned to the first field.
Now, answers that do not fit in the first field will overflow to the next field named in the group.
Note:
To span text across multiple fields on the same page, see Group Form Fields So Answers Can Flow From One Field to
Another.
760
1. At the HotDocs library window, select a form template and begin assembling the document. (See Assemble a Text
or Form Document.)
2. After answering the questions in each dialog, click the Form Document tab to view the assembled document.
3. Click Check for Overflow (Tools menu). HotDocs begins comparing the size of each field and answer.
4. If an answer is too long, HotDocs selects the field and displays the Overflow Status dialog box. Information about
the status of any answers that overflow is displayed at the top of the dialog box.
Do This
Select Shrink the answer to fit in the field. The answer's font size is reduced to a
smaller point size. If the answer still doesn't fit in the answer field, you must choose
another option for resolving the overflow.
Select Send the answer to the addendum. The answer is moved to the addendum.
HotDocs then merges text in the field that indicates the answer can be found in the
addendum.
Select Split answer if you want only the part of the answer that doesn't fit in the field
to be sent to the addendum.
Click Edit. HotDocs highlights the field that contains the answer so you can edit the
text.
Click Resize. HotDocs selects the field so you can click one of its handles to resize it.
Click Override and enter the text you choose in the field.
Once you edit your answer, click back on the Overflow Status dialog box to have
HotDocs the overflow.
Once you resize the answer field, click back on the Overflow Status dialog box to
have HotDocs recheck the overflow.
Note:
Overriding a field does not change the original answer. In fact, HotDocs continues
to use the original answer in any calculations or scripts that require it. It also saves
the original answer to the answer file. Choosing to override a field simply allows
you to define only the text that needs to appear on the form.
Once you override the answer field, click back on the Overflow Status dialog box to
have HotDocs recheck the overflow.
761
To
Do This
Click Ignore. The Overflow Status dialog box is closed and you are able to work
with other answer fields in the document. If you click on the overflowing answer field
again, or if you check for answer overflow, you will be asked to resolve the overflow
again.
Choose Close. HotDocs highlights the overflowing field so you can change the
answer in whatever way you choose.
Once you resolve the overflow, you can click Close to close the dialog box. Any other fields that overflow will display a
similar dialog box.
Note:
You can prevent HotDocs from checking for field overflow during assembly. See Set Rules for Handling Answer
Overflow for details.
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
762
Do This
In the respective Header properties and Footer properties groups, click the Font
button and make the changes at the Font dialog box.
In the respective Header properties and Footer properties groups, enter a number
in the Height box.
In the respective Header properties and Footer properties groups, click the
Alignment button and choose your alignment option.
In the respective Header properties and Footer properties groups, click the
In the Addendum entries group, click the Font button and make your changes at the
Font dialog box.
To learn how to merge page numbers in the header, see Use Answer Overflow and
Addendum Text Codes.
To learn how to merge page numbers in the footer, see Use Answer Overflow and
Addendum Text Codes.
Variable Field button. The Variable Field dialog box appears, where you can
define the variable whose answer you want merged in the header or footer.
763
To
Do This
In the Addendum entries group, enter a number in the Space between box.
Once an answer has been sent to the addendum, you cannot edit the actual addendumyou must either modify your
answers at the Form Document tab or Interview tab, or you must send the addendum to the word processor (choose
File > Send Addendum To > Word Processor). You can also send the addendum to the Windows Clipboard (choose
File > Send Addendum To > Clipboard) to paste it into a different program for editing.
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
764
Do This
Automatically shrink an
answer that overflows to a
specific point size
Select Shrink answer as needed and enter a point size in the points box.
Automatically send an
answer that overflows to
the addendum
Select Send answer to addendum. (To send only part of a multi-line answer to the
addendum, select Split answer. (See Split a Multi-Line Answer Between the Form
and the Addendum.)
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Copyright 2010 HotDocs Ltd. All rights reserved
765
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
766
3. Click the Overflow tab. The view changes to show overflow options.
4. Complete any of the following steps:
To
Do This
Enter the text in the Cross-reference text and Addendum label text boxes,
respectively.
To send just the part of the answer that doesn't fit in the field to the addendum, select
Split answer.
To specify alternate text that will be merged in the field and addendum if the user
chooses to split the answer between the form and the addendum, type a vertical bar
(|) and then enter the alternate text after the bar. For example:
Cross-reference text: See Addendum 1|Continued in Addendum 1
Addendum label text: Addendum 1|(con't) Addendum 1
Caution:
Fillable PDFs do not support the creation of an addendum when a field overflows. This means that if a field in an
assembled fillable PDF template overflows, the answer in the saved PDF document will simply appear cut off.
Template users should always review and modify any answers that may potentially overflow before saving the
assembled document as a fillable PDF.
767
Note:
You can specify a one-column or two-column format for your summaries. In one-column format, dialogs,
questions, and answers are displayed as an indented outline. In two-column format, the information is presented
as a table, with each answer appearing on the same row as its question. (See Change the Way Question and
Answer Summaries Appear.)
If you're assembling a form document, you can create a questionnaire by printing a blank copy of the form itself.
768
Do This
Click the
Print button.
Click the
769
1. At the HotDocs library window, select a template and begin assembling a document. (See Assemble a Text or Form
Document.)
2. After answering the questions, click the Answer Summary tab. The assembly window shows the HotDocs variables
and the answers you have entered in the interview.
Do This
Click the
Print button.
Click the
770
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
2. After providing the required answers, choose Variable Sheet Tab (View menu).
3. Click the Variable Sheet tab. The assembly window changes to show the Variable Sheet.
4. Optionally, complete any of the following tasks using toolbar buttons and menus:
To sort the different lists in alphanumeric order, click one of the column headings.
To save the variable sheet as an HTML document, click the
To view the variable sheet in the word processor, click the
button.
To attach the variable to an e-mail message, click File > Send Variable Sheet To > Mail Recipient.
To copy the contents of the Variable Sheet into a spreadsheet program, such as Microsoft Excel, click File >
Send Variable Sheet To > Spreadsheet.
Caution:
When sending Variable Sheet data to a spreadsheet, HotDocs automatically looks for Microsoft Excel. If
you do not have Excel installed, you will be prompted to copy the contents from the Clipboard to another
spreadsheet program.
771
772
1. At the HotDocs library window, select a template and begin assembling the document, using a new answer file. (See
Assemble a Text or Form Document.)
2. Type information for only the answers you want to be default answers.
3. Click the
Save Answers button. The Save Answer File dialog box appears.
Browse button and locate the folder that contains the component file. Then enter
a name that matches the component file's name, followed by an answer file name extension. For example, if the
component file is named Invoice.cmp, the answer file name would be Invoice.anx.
5. In the Title box, type a name for the default answer file.
6. Optionally, in the Description box, type a description for the answer file.
7. If the answer file will be used with HotDocs 2005-2008, select HotDocs 2005-2008 answer file. (See Compatibility
of HotDocs 10 Files with Earlier Versions of HotDocs.)
The next time you assemble the document, HotDocs automatically inserts the answers from the default answer file into
the template's answer fields. You can then modify the answers as necessary and save a new answer file. (See Create a
New Answer File.)
773
Open Answer File button. The Open Answer File dialog box appears.
4. Select Automatically select this answer file for use with the next assembly, then click OK.
The next time you assemble any document, the same answer file will automatically be selected at the Answer File dialog
box. To change the answer file, click the
774
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
Save Answers button. If you are using an existing answer file, the new
answers are saved. If you are using a new answer file, the Save Answer File dialog box appears where you can
perform any of the following tasks:
To
Do This
At the File name box, enter a name. When you click OK, the answer file will be
saved to the default Answers folder and a reference to it will be added to Answer File
Manager.
To save the answers to a location other than the default Answers folder, click the
Browse button and navigate to the location.
At the Title box, enter a name or accept the suggestion HotDocs makes.
At the Description box, type notes about the answer file's purpose or contents. (The
description will appear at the Properties tab of the Answer File Manager. When
searching for specific answer files, you can search for text in the description.)
775
1. At the HotDocs library window, select a template and begin assembling a document. (See Assemble a Text or Form
Document.)
Open Answers. The Open Answer File dialog box appears. (Depending on the
file management settings you have selected, a Windows Explorer dialog box or a window from your document
management program may appear instead. See Manage Answer Files.)
Open.
4. If prompted to save the old answers, click Save, Save As, or Don't Save, depending on your needs. (See Save an
Answer File During Assembly.)
5. The assembly window appears again, using the newly selected answer file.
Note:
When viewing the answer library, you can sort the answer files. To do this, select a folder and click
Sort. To search
for a specific answer file, select the Find check box, then type the text for which you are searching in the text box.
776
1. At the HotDocs library window, select a template and begin assembly. (See Assemble a Text or Form Document.)
2. After completing the interview, click Send Answers To (File menu). The Send Answers to Mail Recipient dialog
box appears.
3. In the Attachment name box, enter a name for the answer file attachment. Make sure to leave the file name
extension on the attachment name.
4. Optionally, if you want the answer file to be compatible with versions of HotDocs prior to HotDocs 2009, select
HotDocs 2005-2008 answer file.
5. Click OK. HotDocs opens an e-mail message and attaches the answer file.
777
1. At the HotDocs library window, select a template and begin assembling the document. (See Assemble a Text or
Form Document.)
3. Make your selection, based on the options described in the following table:
To
Do This
Select an existing replacement from the Change to list (or type the replacement in
the Change to box) and click Change.
Select an existing replacement from the Change to list (or type the replacement in
the Change to box) and click Change All.
Click Add.
Click Suggest.
Click Options. (You can also change your options at the HotDocs Options dialog
box. See Change Your Spell Checking Options.)
A deeper search takes longer but produces better possible replacements. If the
button is unavailable, HotDocs is searching at the deepest level.
778
779
780
3. Browse to and select the file you want to import. HotDocs confirms you want to import the file.
4. Click Yes. The answer file is added to Answer File Manager. The file is also automatically included in any answer file
drop-down lists.
To add an answer file to Answer File Manager using Add
3. In the File name box, enter the path and file name of the answer file you want to use (or click
Browse to locate
4. In the Title box, enter a name for the answer file. This title will identify the answer file in Answer File Manager.
5. Optionally, in the Description box, enter a description to help you identify the answer file. (This description appears
at the Properties tab, and can be used when searching for specific answer files.)
Note:
By default, answer libraries are saved in binary format, which does not support the use of international
characters. If you attempt to add an answer file that contains international characters in its properties to Answer
File Manager, HotDocs will prompt you to choose whether to create a new, XML-based answer library (which
will support these characters) or convert the foreign characters to an approximate character that can be read in
binary format. If you choose to create a new XML-based library, HotDocs 2005-2008 will continue to use the older
binary-format library, while HotDocs 10 and HotDocs 2009 will use the XML-based library.
If the answer file is located in a folder other than the default Answers folder, you can import the file, which copies
the file to the default Answers folder and adds it to Answer File Manager. To do this, click Import and then
locate the answer file.
When adding files to the library, press Ctrl or Shift to select multiple files at once.
781
1. At the template library, click the Answer File Manager button. The Answer File Manager dialog box appears.
2. Complete any of the tasks described in the following table:
To
Do This
Click the
Add an existing answer file Click the Add button. (See Add an Answer File to Answer File Manager.)
to the library
To add multiple files one at a time, press Ctrl or Shift to select several files.
Remove a reference to an
answer file and optionally
delete the actual file from
disk
Simultaneously copy an
answer file you receive to
the Answers folder and
add it to the answer library
Click Import. The Import Answer File Name dialog box appears, where you can
browse to the answer file and select it. When you click OK, the file is copied to the
Answers folder and added to the library.
Remove.
Select Find, then type the text from the answer file's title or description for which
you are searching in the text box. Only files that have matching text in their title or
description are shown.
View the answers currently Select the answer file, then click the Contents tab.
saved in an answer file
In the Contents tab, you can sort the columns by clicking the column headings.
View the history of when
the selected answer file
782
To
Do This
Caution:
Changing the file path does not change the location of the actual answer file. If
you change the file path without moving the actual file to the new location on disk,
that answer file will not be accessible.
Add a folder so that you
Click the Add button, then select Folder at the Type drop-down box. (See Add,
can better organize groups Modify, and Delete Folders in Answer File Manager.)
of answer files
Modify a folder's title or
description
Delete a folder
Select the folder, then click Remove. HotDocs asks what you want to do with any
answer files within the folder. (See Add, Modify, and Delete Folders in Answer File
Manager.)
Double-click the folder to open it, then select the answer file and drag it to the folder.
Change the setting at the HotDocs Options dialog box. (See Manage Answer Files.)
783
3. In the Type drop-down list, select Folder. The dialog box changes to show the options needed for new folders.
4. In the Title field, enter a folder name.
5. Optionally, in the Description field, enter notes to explain why the folder was created, or what kinds of answer files
it contains. (This description appears at the Properties tab, and can be used when searching for specific answer
files.)
6. Click OK. The folder is added to the answer library. You can work with the folder using the following commands:
To
Do This
Double-click the folder to open it, then select an answer file and drag it to the folder.
Remove a folder
Select a folder and click Remove. If you want to remove the items in the folder
as well, select Remove the unselected items contained in the selected folders.
Otherwise, any files referenced in the folder will be moved to the next folder level.
784
785
1. Find your browsers list of MIME types. A MIME type is an association that tells the browser what to do when
you download a particular type of file. Each entry in the list of MIME types consists of a MIME type, one or more
associated file name extensions, and an action to take on files of this typeusually either by displaying the file in the
browser, by using a plug-in to view it, or by starting a helper program. Depending on the browser, each entry may
also have a descriptive name.
2. For HotDocs auto-assemble files, make an entry in the MIME types list using the following settings:
Option
Value
Name (optional)
MIME type
application/x-hotdocs-auto
Extension
hda
Launch Application
hd_dispatch.exe /ha=
Note:
By default, the launch application executable is found in C:\Program Files
\HotDocs 6.
3. For HotDocs auto-install files, make an entry in the MIME types list using the following settings:
Option
Value
Name (optional)
MIME type
application/x-hotdocs
Extension
hdi
Launch Application
hd_dispatch.exe /hi=
Note:
By default, the launch application executable is found in C:\Program Files
\HotDocs 6.
786
1. At the HotDocs library window, select the folder in which you want the auto-assemble file and click the
Add
Browse button to
locate the file on your local disk or network and click OK.
Note:
Make sure the URL is entered correctly. If you dont include http:// or https:// or ftp:// (or if you are missing a
slash or a colon), HotDocs will treat the URL as a regular file path.
4. In the Title box, type a title for the auto-assemble file. The title identifies the file in the template library.
5. Optionally, type a description in the Description box. The description appears at the Properties tab.
Note:
The first time you use an auto-assemble file that is stored on a Web server to assemble a document, HotDocs caches
the HDA on your hard disk. Then, each time you use the file, it checks to see if a newer version of the file is available
and, if so, automatically downloads it. You can also force HotDocs to check for newer versions by choosing Refresh
Cache from the Tools menu. (See Download Auto-Assemble Files for Use Offline.)
787
1. At the HotDocs library window, select the auto-assemble file you want to download. You can download all the autoassemble files in a folder by selecting the folder.
788
1. At the HotDocs library window, click Install Templates (File menu). The Install Templates dialog box appears.
2. Locate and select the auto-install (.HDI) file you want to install, then click Install. The Install Template Set dialog
box appears.
3. At the Specify where the templates should be installed box, accept the suggested Template Sets folder location,
or click the
4. Click the Choose where the library file should be installed drop-down button and choose whether to save the
library to the shared Templates folder, the user-specific Libraries folder, or, if you installed the templates to a custom
folder in step 3, to the same folder as specified for the templates.
5. Click OK. HotDocs installs the template set (including the library) to the locations you specified.
789
1. At the HotDocs library window, click Update Template Sets (Tools menu). The Update Template Sets dialog box
appears.
2. Select the template sets for which you want to check for updates, then click OK. The Template Set Update
Progress dialog box appears, showing the progress as HotDocs checks for updates.
3. When HotDocs has finished checking for updates, the Install Template Set Updates dialog box appears, displaying
a list of updates. You can work with this list as described in the following table:
To
Do This
Reinstall an update
Select Installed updates, then select the update you want to reinstall from the list.
790
Upload Answers
If a template has been enabled for answer uploading, the answers you provide to assemble a document can be uploaded
to a Web server. The template developer specifies where and when answers will be uploaded. The developer may also
specify that HotDocs automatically uploads the answers.
To upload answers
1. If a template is enabled for uploading answers, HotDocs automatically displays the Upload Answers dialog box
after you assemble a document and close the assembly window. (If the Upload Answers dialog box doesn't appear,
it means either that the template isn't enabled for answer uploading, or that the template developer specified that
HotDocs must always upload the answers.)
2. Click one of the upload buttons to finish the upload process: Upload Now (uploads the answers immediately),
Upload Later (lets you upload either when you start or exit HotDocs), or Don't Upload (doesn't upload the answers
at all).
Note:
If errors occur when HotDocs tries to upload the answers (or if you click the Upload Later button), HotDocs
creates a data file that contains the information needed about the files you need to upload. Then, every time
HotDocs starts or closes, it checks to see if files are waiting to be uploaded and prompts you to upload them.
If you choose to Upload Later, you can then upload the files from the library window at any time by clicking
Upload Answers (Tools menu).
791
1. At the HotDocs library, open the folder to which you want to add the URL.
2. Click the
5. In the Title box, enter a title for the URL. The title identifies the item in the template library.
6. Optionally, type a description in the Description box. The description appears at the Properties tab.
792
793
Up button (moves the record up to the next row in the list of records)
or the
Down button (moves the record down to the next row in the list of records). You can also click the
column headings of the Selected Items list to automatically sort selected rows by any field. (These options
are available if the template developer has given you permission to sort your records. If these buttons do not
appear, you cannot change the order of selected rows.)
c. Click
Next. HotDocs merges the answers from the database into the assembled document.
Note:
If the template developer has assigned a filter to the table, you may see different results. For example, if only one
record meets the filter criteria, that record will automatically be merged into the document without appearing in
the interview. Similarly, if no records meet the filter criteria, HotDocs will ask the questions and allow you to enter
your own answers. Finally, in some situations, the template developer may have opted to have any selections
returned by the filter automatically merged into the assembled document without first prompting you.
To remove a selected record, you can either select a different record, or you can click
Clear.
To remove a single selected record from the Selected Items list, select the record and click Clear. To remove all
selected records from the list, click Clear All.
794
3. Optionally, to sort the list in reverse alphanumeric order, click the column heading again. HotDocs lists the entries
from Z to A, 9 to 1.
4. Optionally, if you have selected multiple records and want to control the order the answers are merged into the
assembled document, click a record in the Selected Items list and then click the Up button (moves the record up to
the next row in the list of records) or the Down button (moves the record down to the next row in the list of records).
You can also click the column headings in the Selected Items list to automatically sort the selected items by any
field.
Note:
You may also be able to filter the list of records to show only those you think will be relevant to your selection. See
Filter Database Records During Assembly for details.
795
3. In the database table, select the drop-down button at the top of the column on which you want to filter and select a
comparison operator. A comparison operator allows you to compare two values. If the comparison results in a true
statement, the record will be included. If it's false, it will not be included.
4. In the field directly below the comparison operator, type the value against which you want to filter. For example,
to view only those companies whose names start with the letter A, you would click the drop-down button in the
Company column, select begins with, and type the letter A in the next cell.
5. Click Apply Filter. HotDocs filters the list of records to show only those that meet the criteria you specified.
Once the list is filtered, you can select a record or records (see Select Records During Document Assembly) and continue
with the interview.
Note:
When you apply the filter, only those records that meet every condition you specified will be returned. This is
because <all> is selected at the Find records where all conditions are met prompt. You can click the dropdown button and select <any> , which will return a record, even if only one of the conditions is true.
You can sort a list of records in alphanumeric order. For details, see Sort Database Records During Assembly.
796
797
SECTION 9:
USING COMMAND-LINE OPTIONS
798
1. Choose Run from the Start menu. The Run dialog box appears.
2. Type "C:\Program Files\hotdocs.exe" (including the quotation marks) followed by a space and the options you
want in the Open box. For example:
"C:\Program Files\HotDocs\Hotdocs.exe" /tf=demoempl.rtf
3. Click OK. If HotDocs is not already running, it loads and then performs the command-line instructions. If HotDocs is
already running, it performs the command-line instructions.
To use command-line options when using a shortcut to start HotDocs
1. Locate the HotDocs program file shortcut. (A shortcut is an icon on the desktop or Start menu that a user can click
to quickly access a program.)
2. Right-click the icon and select Properties from the shortcut menu. The program item's Properties dialog box
appears.
3. In the File name box, following the file name, type a space and the command-line options you want to use. For
example:
/af="C:\Documents and Settings\Username\My Documents\HotDocs\Answers\jalvey.anx"
799
Option
Description
Answer File
/af
Answer Summary
/as
Clause Name
/cl
/df
Discard Answers
/da
800
/ed
Exit HotDocs
/ex
/fia
Hide Library
/hl
HotDocs Auto-Assemble
File
/ha
/hi
Interview Scope
/is=u
801
/kig
Library File
/lf
/la
Lock Library
/ll
Model Document
/mo
/na
802
/nw
No Interview
/ni
Output File
/of
/ov
803
/ps
Paper Tray
/pt
/pr
/pa
Print Both
/pb
Print Copies
/pc
804
/pd
/po
/pw
Question Summary
/qs
Save Answers
/sa
/sap
805
/stw
Show Library
/sl
/sig
Suggest Save
/ss
/ssn
806
Suppress Unanswered
Warning
/sw
Template File
/tf
807
Answer File
/af="path and file name"
The Answer File option is useful if you want to use a specific answer file when you assemble a document. The option
does two things: 1) when a template is selected for assembly, it immediately opens the specified answer file without
displaying the Answer File dialog box, and 2) it sets the value for path and file name as the current answer file name
to be used when answers are saved. If the specified answer file doesn't exist, it will be created when the user saves the
answers.
When using an existing answer file, you can retrieve an answer file from a location on a Web server by specifying a
URL for the path and file name (for example, /af=http://www.yoursite.com/answers.anx). (You cannot, however, save an
answer file back to the server.)
Note:
You cannot assign the Answer File option to a HotDocs Auto-Assemble file.
If using this option at the command line, include the Template File option.
808
Answer Summary
/as
The Answer Summary option is used with the Output File option to specify the path and file name for saving an answer
summary. It is useful if you want a certain template to always generate an answer summary document.
The Answer Summary option is normally used with the No Assembly Window and Answer File options, which cause
HotDocs to automatically create and save the answer summary document without displaying the assembly window.
Answer summaries are saved in HTML format.
Note:
If using this option at the command line, include the Template File and Output File options. If using this option at the
library properties, include the Output File option.
809
Clause Name
/cl=clausename
The Clause Name option is used by HotDocs to identify which clause component is associated with an item in a clause
library. It is also used by HotDocs to process INSERT instructions during the assembly process. Generally speaking,
developers should never have to modify this option unless they are converting clauses from one file format to another.
Likewise, end users may see the Clause Name option while working with clauses at a clause library or during assembly,
but should not modify it.
810
811
Discard Answers
/da
The Discard Answers option prevents the user from saving answers after the document has been assembled. This
option is useful when you know you will never want to save the answers you use with a particular template (for example,
a fax cover sheet), and you don't want HotDocs to ask about saving the answers when you close the assembly window.
However, the user can save the answer file during the interview.
Note:
To disable all answer file usage (saving, selecting new, and so forth) during a given assembly, use the Lock
Answer File option.
If using this option at the command line, include the Template File option.
812
Edit Template
/ed="path and file name"
The Edit Template option causes HotDocs to edit a template using the specified template or clause library file.
813
Exit HotDocs
/ex
The Exit HotDocs option closes HotDocs when both of the following conditions are met: 1) there are no documents
waiting to be assembled, and 2) all other programs are finished using HotDocs.
814
815
Hide Library
/hl
The Hide Library option causes HotDocs to assemble a document without first displaying the HotDocs template library.
The user will not see the template library window at all during assembly. It is most commonly used by integrators who
are using HotDocs with a third-party program and want to start an assembly without first displaying the template library
window. (See also Show Library.)
Note:
If using this option at the command line, include the Template File option.
816
817
818
Interview Scope
/is=u
The Interview Scope option allows you to ask only those dialogs that contain questions not answered by an existing
answer file. This may be useful, for example, if you have some answers you are retrieving from a database that you don't
want the user to change. Using this option will ask only those questions that don't have answers.
Caution:
If you do not want certain variables to appear in an interview, do not include them in an explicit ASK instruction.
Otherwise, HotDocs will present the variables to the user.
819
820
Library File
/lf="path and file name"
The Library File option allows you to start HotDocs and open a specific library. If HotDocs is already running, it opens the
library specified by the path and file name.
821
822
Lock Library
/ll
The Lock Library option locks the current library and prevents the user from editing the library or its contents.
Specifically, when HotDocs is launched and the library appears, users can select templates and assemble documents
from them. They can also view the answer library and change user preferences at the HotDocs Options dialog box. All
other options are unavailable.
823
Model Document
/mo
The Model Document command-line option indicates that the file referenced in the library is a model document. When
you select the document in the library and click Assemble, HotDocs will create an interview for the model document.
Note:
See Overview: Create a Model Document for more information.
824
825
No Assembly Window
/nw
The No Assembly Window option causes HotDocs to assemble a document without displaying the assembly window.
Note:
If using this option at the command line, include the Template File and Answer File options. If using this option
at the library properties, include the Answer File option.
You should also use the Output File or Send to Word Processor option if you want HotDocs to produce a
document at the end of the assembly.
826
No Interview
/ni
The No Interview option removes the Interview tab from the assembly window, and, by default, displays the assembled
document in the Document Preview or Form Document tab (depending on whether you are assembling a text or form
document). To present a correctly assembled document, you should specify an answer file using the Answer File option.
Otherwise, the document will be assembled without any answers.
Note:
While viewing an assembled document that was generated using this command-line option, you cannot edit
answers while viewing the Document tab.
If using this option at the command line, include the Template File and Answer File options. If using this option
at the library properties, include the Answer File option.
827
Output File
/of="path and file name"
The Output File option causes HotDocs to assemble the document and save it using the file name specified. If you are
using the Answer Summary or Question Summary options, the Output File option specifies the name for either of
those generated documents. This is useful if you know you want to save an assembled document every time assembly of
that document finishes.
Note:
If using this option at the command line, include the Template File option.
828
829
Paper Size
/ps=paper size
The Paper Size option selects the specified paper size when the user prints a copy of the form template or document.
The effect is the same as manually setting the page size from the Print dialog box. This option works with form templates
and documents only.
Paper size values that can be used include letter, legal, and so forth. For a complete list of acceptable values, either at
the assembly window or at the HotDocs Filler window, click Document Properties > Printing (File menu) and click the
Paper Size drop-down button. Values that include a space character must be placed inside quotation marks. You can
shorten the values as long as the shortened form matches only one paper size. Paper size values are not case-sensitive.
Note:
If a paper size is specified at the Printing Properties dialog box and the Paper Size command-line option is also
used, the command-line option takes precedence.
If using this option at the command line, include the Template File option.
830
Paper Tray
/pt=paper tray
Caution:
This option is used with form documents only.
The Paper Tray option causes a specified printer paper tray or manual feed option to be used when printing a form
document from HotDocs Filler. Paper tray values that can be used include manual, upper, lower, and so forth. For
a complete list of acceptable values, either at the assembly window or at the HotDocs Filler window, click Document
Properties > Printing (File menu) and click the Paper Source drop-down button.
Note:
If a paper source is specified at the Printing Properties dialog box and the Paper Tray command-line option is
also used, the command-line option takes precedence.
If using this option at the command line, include the Template File option.
831
Print
/pr
Caution:
This option is used with form documents only.
The Print option causes HotDocs to print a copy of the assembled text or form document once the user closes the
assembly window. This is useful if you know you will always need to print a copy of a specific assembled document.
Note:
If using this option at the command line, include the Template File option.
832
833
Print Both
/pb
Caution:
This option is used with form documents only.
The Print Both option selects the Form with Answers option at the Print dialog box. Then, when the user prints the form
document, the current form and its answers are printed.
Note:
If using this option at the command line, include the Template File option.
834
Print Copies
/pc=numberofcopies
Caution:
This option is used with form documents only.
The Print Copies option specifies the number of copies that should be printed when the user prints the form document.
This number should appear in the Number of Copies box at the Print dialog box.
Note:
If using this option at the command line, include the Template File option.
835
Print Duplex
/pd
Caution:
This option is used with form documents only.
The Print Duplex option sets the duplex printing option for a given form document. It prints the document Double-Sided,
Side-to-Side, as if that option were selected at the Printing Properties dialog box (which you can access by clicking
Document Properties > Printing (File menu).) When the user prints the form document, it is printed using this option.
Note:
If using this option at the command line, include the Template File option.
836
837
838
Question Summary
/qs
The Question Summary option is used with the Output File option to specify the path and file name for saving a
question summary. It is useful if you want a certain template to always generate a question summary document.
The Question Summary option is normally used with the No Assembly Window option, which causes HotDocs to
automatically create and save the question summary document without displaying the assembly window.
Question summaries are saved in HTML format.
Note:
If using this option at the command line, include the Template File option.
839
Save Answers
/sa
The Save Answers option forces an answer file to be saved at the end of an assembly. If using an existing answer file,
any answers entered during the interview will be saved automatically. If using a new, untitled answer file, HotDocs will
force the user to specify an answer file name.
Note:
To always force the user to save a new answer file after entering answers in an intervieweven if using an
existing answer fileuse the Save Answers Prompt option.
To give users the option of saving an answer file, rather than forcing them to save, use either the Suggest Save
or the Suggest Save New option.
840
841
842
Show Library
/sl
The Show Library option forces HotDocs to display the template library if it is currently not showing. This is useful if you
are integrating HotDocs with another program and you have hidden the library using the Hide Library option.
843
844
Suggest Save
/ss
The Suggest Save option, which is used in connection with an ASSEMBLE instruction, causes HotDocs to ask users
after assembly of a document has finished if they want to save answers entered during the interview in an answer file.
Specifically, if the user has assembled a document and made changes to an existing answer file, HotDocs prompts to
save the answers to that file. If saving a new, untitled file, HotDocs allows the user to specify the new answer file name.
Note:
If your user is using an existing answer file but you want to give the user the option of saving the answers in a
new, different answer file, use the Suggest Save New option.
If you want to force users to save their answers after an assembly is finished, rather than give them the option,
use either the Save Answers or the Save Answers Prompt options.
845
846
847
Template File
/tf="path and file name"
The Template File option causes HotDocs to assemble a document using the specified template or clause library.
Caution:
If you want an interview template (component file) started from the Template File command line, the component file
must have an INTERVIEW or STARTUP computation in it or assembly will fail.
848
3. In the File name box, following the file name, type a space and the command-line options you want to use. For
example:
/af="C:\Documents and Settings\Username\My Documents\HotDocs\Answers\jalvey.anx"
849
1. Choose Run from the Start menu. The Run dialog box appears.
2. Type "C:\Program Files\hotdocs.exe" (including the quotation marks) followed by a space and the options you
want in the Open box. For example:
"C:\Program Files\HotDocs\Hotdocs.exe" /tf=demoempl.rtf
3. Click OK. If HotDocs is not already running, it loads and then performs the command-line instructions. If HotDocs is
already running, it performs the command-line instructions.
850
1. Locate the HotDocs program file shortcut. (A shortcut is an icon on the desktop or Start menu that a user can click
to quickly access a program.)
2. Right-click the icon and select Properties from the shortcut menu. The program item's Properties dialog box
appears.
851
SECTION 10:
MODEL DOCUMENTS
852
853
3. Optionally, change the name of the model document in the Model document file name box. (By default, HotDocs
appends the text .model to the file name. This helps distinguish between it and the original template file.)
4. Optionally, select Add converted model document to library to add a reference to the model to the library. This
allows you to more easily assemble the model document using the Assemble command.
5. Click OK. HotDocs converts the template. You can further edit the model or distribute copies of it to others for review
or additional markup.
854
1. At the HotDocs library, choose Convert Model to Template (Template menu). The Convert Model Document to
HotDocs Template dialog box appears.
2. Click the
Browse button next to the Model document file name box and locate the model document.
3. Enter a file path and name for the newly created template in the HotDocs template file name box. (HotDocs
automatically suggests the same name as the model, with the text .template appended to it.)
4. Optionally, select Add converted HotDocs template to library. This places a reference to the template in the
HotDocs library.
5. Click OK. The template is created from the marked up model document.
855
1. You must use only letters, digits, and underscores. You cannot use spaces or other special characters.
2. You should use names that are at least two words.
3. You should make one of the words in the name the "subject" word (Client, Child, etc.).
4. You should capitalize the first letter of each word, regardless of part of speech.
5. You must never use names that are all capitals.
Note:
If you must include spaces or special characters in your variable and other field names, you can select a HotDocs
option that allows this. See Allow Non-Standard Names in Model Documents.
856
SECTION 11:
TROUBLESHOOTING
857
Solution
Unlike options and prompts, the merge text for a Multiple Choice variable comes from another componenta Merge Text
component. This means you cannot create and add merge text to a Multiple Choice variable "on the fly."
858
Solution
By default, HotDocs generates this interview by asking variables as it reads them in the template. When a variable is
linked to a dialog, the dialog is asked. For most templates, this default interview is sufficient. However, there may be times
when you want to control the order questions are asked.
There are two ways to accomplish this: 1) Use an ASK instruction to ask a single dialog at a specific place in the
interview, and 2) use an INTERVIEW computation to define the order of all dialogs in template.
For details, see Control When Your Dialogs Appear and Define a Custom Interview.
859
Solution
There is no spell-checking capabilities at the template library. You can, however, copy the text of a library to a word
processor and spell check it there. You must manually update entries in the library with any corrections.
To spell check your library
1. At the template library, choose File > Export Library to > Plain Text File. The Save As dialog box appears.
2. Specify a file name and location for the text file and click Save. The file is created.
3. Open the plain-text file using Notepad.
4. Select all of the text and copy it. (Press Ctrl+A to select the text, and then press Ctrl+C to copy it.)
5. Open a new word processor document and paste the text. (Press Ctrl+V.)
6. Use the word processor's spell checking tool. If there are spelling corrections that need to be made, return to the
library and make the change. (To edit template titles, select the file and click the
Properties button.)
860
Solution
When you add a child dialog to a parent dialog, you can group the child dialog so users can more easily specify if they
want to answer it. When you group child dialogs, HotDocs places a check box or option button in front of the child dialog
icon. When this check box or option button is selected, HotDocs places the child dialog in the interview outline so that its
contents can be answered. Otherwise, HotDocs will treat the child dialog as if it doesn't existeven if there are required
variables in it.
If child dialogs are not grouped, each child dialog will appear in the interview outline, regardless of whether the dialog is
optional to answer. If the user does not answer every question in every dialog, HotDocs will report in the End of Interview
dialog that there are unanswered questions.
For instructions on grouping child dialogs, see Group Child Dialogs in a Parent Dialog.
861
Solution
You can specify which word processor you want to use when creating templates. This same word processor will be used
for viewing assembled text documents. For details, see Change Your Default Word Processor.
862
Solution
You can use Template Manager to simultaneously compare the contents of two or more component files. For complete
instructions, see Understand Parts of Template Manager Window.
863
Solution
You can convert your templates to Word format on a template-by-template basis, or you can convert multiple templates
at once using Template Manager. (See Convert Multiple Templates to Work with HotDocs 10 and Convert Templates and
Clauses to Microsoft RTF for details.)
Once converted, you should review each template carefully to make sure it still looks and works correctly.
864
'The Component File Cannot Be Used With This Version of HotDocs' Message
Appearing
Problem
When attempting to edit a template, I get the error message, The component file cannot be used with this version of
HotDocs. What does this message mean?
Solution
This message appears because you are trying to edit a newer version of a template with an older version of HotDocs. For
example, you may be trying to edit a HotDocs 2009-version template with HotDocs 2005. Generally speaking, templates
edited in the latest version of HotDocs are not backwards compatible with older versions.
If you must retain backwards compatibility with your templates, you can select a component file property that makes the
template compatible with a specific version of HotDocs. If doing this, you must be careful not to use any features available
in newer versions of the software, or else the template will not work with the older version. For example, dot codes are a
new feature of HotDocs 2006. If you make a template containing dot codes available to HotDocs 2005 users, the template
will generate errors because HotDocs 2005 has no support for dot codes.
See Compatibility of HotDocs 10 Files with Earlier Versions of HotDocs for details.
865
Dot Code Formatting Doesn't Seem to Work in True/False and Multiple Choice
Options
Problem
Formatting dot codes (such bold, italics, and underline) assigned to Multiple Choice and True/False variable prompts don't
work.
Solution
If a Multiple Choice or True/False variable prompt contains a formatting dot code and the variable is set to appear either
as option buttons or check boxes, the prompt text will not be formatted. This is a known limitation of dot codes.
866
Solution
Answer sources are associated with specific dialogs in a template. When users view the dialog during the interview, they
can click a special button, which displays a list of answers that were entered during previous interview sessions. They can
either select an existing set of answers or add a new set to the list.
After creating an answer source for one dialog, you can use it with other dialogs, including dialogs in other templates.
However, when using an answer source with multiple dialogs, each variable must be represented in both the answer
source and in each dialog. If a variable that is referenced in the answer source isnt included in all of the dialogs that link
to it (or vice-versa), answers in the answer source will get "mixed together" whenever you add, edit, or delete records.
In some situations, though, it isnt always practical or relevant to show the user every variableeither in the dialog or
in the answer source. To accommodate this, you should use the HIDE, CONCEAL, and OMIT instructions in a dialog
script to manipulate these variables both in the dialogs and the answer source. Specifically, HIDE keeps a variable from
appearing on the dialog, while CONCEAL keeps it from appearing in the answer source. OMIT keeps the variable from
being associated with the answer source at all. Often, you must use a combination of these instructions to achieve your
desired result.
867
Solution
If you need to enable this setting for existing templates, you can use Template Manager.
To enable multiple templates for use with HotDocs Server at once
4. Click the HotDocs Server tab and select Enable template for use with HotDocs Server.
5. Select any other Server options and click OK. The selected templates are now enabled for use with Server.
You can also set this option for all new templates you create. To do this, see Enable All New Templates for Use with
HotDocs Server.
868
Solution
Simply stated, don't automate your templates this way. Because scripting in dialogs is processed each time you answer a
question in the interview, you cannot ask a variable in an interview and then later SET that variable's value to something
else. In all cases, each time the interview is updated, the SET instruction value will overwrite any answers the user enters.
See Overview: HotDocs Interviews, Automatically Assign Answers to a Variable, and Check Interviews for Improper
Scripting for details.
869
Solution
If you need to enter lengthy prompt text or merge text, you can do so at the Options tab of the Multiple Choice Variable
Editor.
To add prompt text
1. Edit the Multiple Choice variable. (See Customize a Multiple Choice Variable.)
2. Click the Options tab. The view changes to show different ways you can customize the multiple choice options.
3. Click the Option drop-down button and choose the option you want to customize.
4. Enter the prompt text in the Prompt box.
5. Repeat steps 3 and 4 for any additional options you want to customize further.
6. Optionally, enter longer merge text in the Default merge text box.
870
Solution
Many of these warnings pertain to variables being asked incorrectly in the interview.
To correct the problem, select the warning in the list and click the Go to Warning button. HotDocs takes you to the script
or location in the template where the error occurs so you can correct it.
The following table lists each warning, followed by a description of what it means:
Warning
Description
You should not use a SET instruction to assign an answer to a variable and then ask the
variable later in the interview. As HotDocs processes answers and rebuilds the interview,
the value assigned by the SET instruction will always overwrite any answers the user
provides. An example of this would be the following script:
SET TF Variable TO TRUE
... (later in the template)
ASK Dialog
(where Dialog uses the variable, TF Variable.)
In this situation, even if the user marks TF Variable as false, HotDocs will always change
it back to true because of the SET instruction.
If you want to suggest an answer for a user, use the DEFAULT instruction instead of the
SET instruction. If you want a variable to always have a specific answer, then SET the
answer and do not ask that variable anywhere in the template.
You should not ask the same variable more than once in an interview. If you do, HotDocs
will always assign the last answer you gave to the variable, no matter where it is used in
the interview.
You should not refer to a variable in a dialog script and then set that variable to a value
later in the template. When HotDocs reprocesses the interview, the set value may
change the appearance of the dialogincluding how it presents variables to the user and
how it processes the answers.
An example of this would be the following script:
SET
ASK
SET
ASK
Client TO "Husband"
Husband Information
Client TO "Wife"
Wife Information
In and of itself, this script is OK. However, Husband Information and Wife Information are
dialogs that contain the following dialog element text:
Copyright 2010 HotDocs Ltd. All rights reserved
871
You can refer to a variable in a template without asking the variable (by referring to the
variable in an ASK NONE block or by clearing the Ask automatically option for the
variable). However, if you do this, you should not ask the variable or set it to a value later
in the template. Doing this will replace the answer that was used for the variable earlier in
the template, thus causing an inconsistency.
872
Solution
Even though HotDocs supports Unicode characters, these characters may not appear correctly if you do not have fonts
installed that can display them.
For example, say you automate your template using the Tahoma font on Windows Vista. If the template is used on an
earlier operating system, some of the characters you have used may not appear correctly because those characters may
not be supported in the version of Tahoma available on that operating system.
Or, perhaps you use a very specialized font for displaying symbolic characters. If your users do not have the same font
installed on their computers, your text will appear as unrecognized charactersusually boxes or question marks.
Additionally, you must also be careful when assigning font styles (such as bold or italic) to international characters, as
characters may not display correctly when these styles are applied.
873
Solution
The HotDocs Outliner can help you quickly locate the opening IF instruction that isn't paired with a closing instruction.
To use the HotDocs Outliner
2. Click on this warning and click Go to Error in Template. HotDocs highlights the opening instruction.
3. Determine where the closing instruction should appear and merge it in the template. (You can manually create the
END field, or you can copy an existing field and replace the text between the chevrons with the appropriate END
instruction.)
Note:
Two other tools can help you match opening instructions with their closing instructions. These are the
Match
874
Solution
You can specify a component file property that keeps the End of Interview dialog from appearing during the interview.
To specify this property
Component File Properties button. The Component File Properties dialog box appears.
3. Click the Interview tab. The view changes to show interview properties.
4. Select Hide End of Interview dialog.
5. Click OK.
Now, whenever users assemble this template, clicking
document.
875
Solution
The first thing to check is to make sure that HotDocs is putting its global macro templates in the right location, and also to
make sure that Word is finding them. To do this, complete the following steps:
1. In Windows Explorer, browse to C:\Program Files\HotDocs\Source\Word\Macros, and make a note of the file
dates on the files in that folder.
2. In HotDocs, go to Tools > Options > Word Processors > Word 2000. Make a note of the Startup Folder location
and browse to that folder in Windows Explorer. (You can click the
and it will open that folder in Windows Explorer.)
3. Compare the files in the folder opened through HotDocs with the files you found in step #1 above and make sure
that hd6edit.dot and hd6icon.dot match exactly. (If they don't, you need to copy the files from the "source" folder to
the "startup" folder.)
4. In Word, go to Tools > Templates and Add-ins and make sure that hd6edit.dot and hd6icon.dot are both listed
and checked, which indicates that they are loaded.
Assuming these steps check out OK, another place to look is in Word's macro security settings. Although the HotDocs
macros are digitally signed and should not be blocked even if you have your security set to the highest level, you could try
temporarily lowering the security level to see if it makes a difference:
In Word, go to Tools > Macro > Security. At the Security Level tab, lower the security level to Medium or Low and
then see if the macros work under one of those settings. If it doesn't make a difference, be sure to switch it back to
the previous setting.
Finally, you should check to make sure that the version of hd_api.dll in your Windows system folder is the correct
version:
1. In HotDocs, go to Help > About HotDocs > Version Info. Make a note of the file version for hotdocs.exe.
2. In Windows Explorer, browse to C:\Windows\System32 and find the file named hd_api.dll.
3. Right-click on hd_api.dll and choose Properties from the shortcut menu.
4. At the Version tab, check to see if the file version is the same as that of hotdocs.exe.
5. If the versions do not match, delete the DLL file from the Windows folder and repair the HotDocs installation.
876
Solution
When you run Template Manager, it creates a database file in the same folder as the library. This database is necessary
in managing the different templates and components you are viewing in Template Manager.
You should not edit this file. If you were to inadvertently change or delete information in the database, it may corrupt your
templates or make them unusable.
877
Solution
There are some options available for limiting use of your templates. Nearly all of the following options involve storing
copies of the files to a different location (such as a network drive), separate from the folder that contains your working
files:
Publish the template files as auto-assemble files and make the auto-assemble files available to your users. See
Publish Templates as Auto-Assemble Files (HDA).
Export the library to a different location and specify that the exported files be used for assembly only. See Create a
New Library By Exporting Part of an Existing Library.
Obtain a publisher's license from HotDocs Corporation and publish the files for use with HotDocs Player. See
Publish and Register Templates for Use With HotDocs Player. (Contact your HotDocs sales representative for
information on acquiring a publishing license.)
Mark the folder where the files are stored as read-only. Mark the template files within the folder as read-only as well.
(See the Windows Help file for instructions on marking folders and files as read-only.)
Publish the templates (as standard template files) but lock the component files. (Make sure you don't inadvertently
replace your working component files with the locked component files. There is no way to recover a locked
component file.) See Protect Published Files.
878
Solution
You can control the number of rows that appear in a spreadsheet dialog. This setting has no effect on the number of rows
a user can enter.
To limit the number of visible rows
879
Solution
There are a few things you can do to match pairs of instructions while working in a computation script:
Click the
Auto Format button in the script editor toolbar. This indents scripting between instructions. Nested
instructions are likewise indented, like in the following example:
Place your cursor in the opening or closing instruction and press Ctrl+M. HotDocs moves your cursor to the
matching instruction. (You can also choose Match IF/REPEAT from the shortcut menu.)
Copyright 2010 HotDocs Ltd. All rights reserved
880
Place your cursor in the opening or closing instruction and press Ctrl+Shift+M. HotDocs highlights the entire section
of the instruction with which you are working. (You can also choose Select IF/REPEAT from the shortcut menu.)
For details, see Use the Script Editor.
For details on working with instructions in a text template, see Match Opening Instructions with Closing Instructions.
881
Solution
Some fonts on your system include empty box characters, as well as box characters with an X. You simply need to
conditionally insert these characters in your template. For example, if you have the Wingdings 2 font installed on your
computer, you can complete the following steps to merge these characters.
To create check boxes in a text template
1. Automate your template, including specifying the conditional instructions that will merge the correct check box. (Use
placeholder characters to represent the check boxes.)
2. Open the Windows Character Map tool. (For instructions on finding and opening this tool, refer to your Windows
Help.)
3. Click the Font drop-down button and choose Wingdings 2. The character list changes to show the different
characters available to you.
4. Locate a box with an X in it and click Select. This adds the character to the Characters to copy box.
5. Locate a box without an X in it and click Select. This adds this character to the box as well.
6. Click Copy.
7. In the template, place your cursor where the check boxes should go and choose the Paste command (for example,
press Ctrl+V). The characters are inserted in your template. (You may need to highlight the character and choose
Wingdings 2 from the application's font menu to reapply the correct font.)
A simpler way to merge check boxes may be to place either an X character or empty space character between opening
and closing brackets. For example, [X] vs. [ ].
882
Solution
You can use an example format to merge just a portion of the date. The user will still enter a full date, but only a portion of
it will be merged in the document.
To merge the year only
In the first blank space, you'd merge the Date variable with the format third. In the second blank, you would use June as
the format. In the last blank, you'd use 1990 as the format.
883
Solution
To keep HotDocs from merging an unanswered variable placeholder, you must insert the variable conditionally.
Specifically, you must insert it only if the variable is answered. For example, the following expression in the template will
merge the second address only if the user provides it:
Client Name
Client Address 1
IF ANSWERED(Client Address 2)Client Address 2END IF
Client City, Client State Client ZIP Code
To keep HotDocs from warning the user that the question in the dialog is unanswered, you specify a variable property. At
the Variable Editor, click the Advanced tab and clear Warn when unanswered. (See Control How HotDocs Processes
a Variable.)
884
Solution
You can assign a format to a repeated list of answers. This format separates answers with either commas or semi-colons,
and it also inserts the conjunction AND or OR, depending on your needs. To assign the format, at the REPEAT Field
dialog box, click the Format drop-down button and choose the punctuation style you need.
For instructions on assigning a format in a computation script, see Punctuate a List Using a Computation Variable.
885
Solution
When naming variables, there are a few rules you must follow:
A variable name can have up to 50 characters, including letters, numbers, and some symbols.
The first character in a variable name must be a letter.
Each variable name must be unique. Even if the variables are different types, their names cannot be identical.
Do not use all uppercase letters in your variable names. Because HotDocs instruction and expression keywords
use uppercase letters, you may inadvertently use a word that may someday be used as a keyword, which will cause
HotDocs to read your variable name incorrectly. (See Overview: Instruction and Expression Models.)
Do not use any of the following characters when naming your components:
. (period)
$ (dollar sign)
" (quotation mark)
: (colon)
[ ] (brackets)
, (comma)
( ) (parenthesis)
% (percent)
These characters can be used only if there is a character other than a space immediately before or after it:
+ (plus)
- (hyphen)
* (asterisk)
/ (forward slash)
> < (greater than and less than signs)
>= <= (greater than or equal to and less than or equal to signs)
= (equals)
!= (does not equal)
886
Solution
Most likely the increased file size is because you've used graphics in your template. When you insert a graphic in an RTF
template, Word creates an extra copy of the graphic and merges it in the file. Other causes may be invisible merge ID
marks and unused property codes.
You can keep Word from storing all of this information in the template. See Hidden Data Remover Dialog Box for details.
You can also remove existing hidden data from your templates. For details, see Remove Hidden Data from Word RTF
Templates.
887
Solution
When you rename a component, it is changed everywhere it is used in the component file. For example, renaming a
variable will update all references to it in dialogs, scripts, and prompts. However, you must update references to the
component in the template text itself for the template to continue to work. To do this, you may need to remove the old
variable field and insert the new variable. See Rename Components in a Single Template for details.
You can use Template Manager to rename components. If you do, all references to the componentboth in the
component file and in the templatewill be updated. See Rename Components Across Multiple Component Files for
details.
888
Solution
When you place a REPEAT instruction directly in a table, it will repeat each row of the table. To repeat the contents of a
single cell, you must create a REPEAT instruction in a computation script and then insert that Computation variable in the
cell. See Create a REPEAT Instruction Using a Computation Variable.
889
Solution
To repeat a single variable in a dialog that contains other variables, you must effectively create two dialogs and then nest
the repeated variable's dialog in the non-repeated dialog. Specifically:
1. Create a dialog for all of the non-repeated variables. (See Gather Questions into a Custom Dialog.)
2. Create a dialog for the repeated variable and assign Spreadsheet on Parent as its repeat Style. (See Choose a
Presentation Style for the Repeated Dialog.)
3. Edit the non-repeated dialog and drag the repeated dialog to its Contents list.
See Insert Dialogs Into Dialogs and Create a List Within a List for more details.
890
Solution
You cannot test an ASSEMBLE instruction from within the templateyou must first close the template and then assemble
it from the library. See ASSEMBLE "FILENAME" for details.
891
Solution
HotDocs will not let you save an invalid computation script. However, you can 'disable' the script and save the variable.
Disabling the script keeps HotDocs from trying to validate it when you save it.
There are two ways to disable a script:
Highlight all of the text in the script and click the
Comment Block button. This turns all of the text in the script
into a comment, which HotDocs won't process. When you are ready to work on the script again, highlight the text
and click the
Note:
Comments are descriptions or remarks about the computation script. Many developers enter comments to
explain how they are using instructions and expressions in the script to achieve the result they are seeking.
At the beginning of the script, enter the instruction QUIT. This instructs HotDocs to not process any of the script after
the instruction.
892
Understanding the Difference Between Multiple Choice Options and Merge Text
Problem
What is the difference between a Multiple Choice option and merge text?
Solution
There are actually three parts to a Multiple Choice variable:
Options: Multiple Choice options are the actual possible answers to the variable. When an option is selected, it is
the value that is saved in the answer file.
Prompts: Prompts are the text used to describe the options. For example, if your option text isn't descriptive
enough, you can enter a prompt for the option and the prompt will be used in the interview. (If you don't enter a
prompt, HotDocs will use the Option text.)
Merge Text: Merge text is the text that gets merged in the document, based on the options the user selects. (If you
don't enter Merge Text, HotDocs will merge the Option text in the document.)
See Customize a Multiple Choice Variable for details.
893
Solution
Do not use the DEFAULT instruction in the script of a repeated dialog unless the instruction is used in conjunction with
a conditional expression or a LIMIT instruction. If you use it by itself in a repeated dialog script, it will always add an
unanswered dialog to the interview, which will produce an incorrectly assembled document.
See DEFAULT VAR TO VALUE for details.
894
Solution
When working with inserted templates, you can select an option that uses the headers and footers of the inserted
template when the template is merged in the main document. If the text is merged "inline" with the rest of the main
document, the inserted template's headers will overwrite the main document's headers. If the inserted template is merged
as a separate section of the main document, each section will use the headers defined for it. See Define Headers and
Footers in Inserted Word Templates for details.
895
Solution
You cannot place INSERT instructions in the cell of a word processor table.
896
Solution
As long as only one dialog gets asked during the interview, you can associate the variable with both dialogs. To do this,
however, you will need to select some dialog options. You will also need to explicitly (but conditionally) ask both dialogs.
To associate the variable with both dialogs
1. Create the first dialog and add the required variables to it, including the variable you need to share between the two
dialogs.
5. Either in a Computation variable or directly in the template, insert two ASK instructionsone for each dialog.
6. Condition the ASK instructions accordingly.
See Use the Same Variable or Clause in Two or More Dialogs for more information.
897
Solution
You cannot insert variables inside Word text boxes. Alternatives to using text boxes may include creating a single table
cell to place your variable, or implementing a frame (Word XP). Refer to Microsoft Word's help file for specifics on creating
these types of boxes.
898
Solution
This is an Outlook 2007 problem. It sometimes occurs when the Outlook 2007 forms cache becomes corrupt. To correct it
(at least temporarily), follow these steps:
1. In Outlook, choose Tools > Forms > Choose Form. The Choose Form dialog box appears.
2. Click the Look In drop-down button and choose Standard Forms Library.
3. Select one of the forms and open it.
4. Close the form. (You don't need to make any changes.)
Note:
You may need to restart HotDocs for this to work.
899
Solution
You can choose the unanswered marker HotDocs uses when you leave questions unanswered in the interview. For
details, see Format Unanswered Variables in a Document.
Note:
The template provider may have selected a specific unanswered marker for some questions in the interview. If this is
the case, these markers will override your selection.
900
Solution
Because of technical restrictions, HotDocs cannot display the actual word processor document in the library or at the
assembly window. Instead, it uses a third-party application to render the text of the template or document.
This application depicts a Microsoft Word template or document fairly accurately because it is able to convert the text
to RTF (if it's not already in RTF format). Some of the formatting may be different, but, for the most part, it is a good
representation. However, because WordPerfect text can't be converted to RTF at the time the document is displayed, the
application is only able to display the text in plain formatthere is no formatting.
In either case, however, the actual text in the template or document is correct. And, once you edit the template in the
correct word processor or send the assembled document to the word processor, the document will appear exactly as it's
supposed to.
901
Solution
The first possible (and less likely) problem is that HDI file associations are not set up properly on the workstation. To test
whether this is true, create an HDI file, close HotDocs, and then double-click the .HDI file in Windows Explorer. If HotDocs
starts and then launches the installation, HDI files are properly associated. If HotDocs does not launch, the following are
two solutions that should correct the problem.
Solution 1: See Receiving Error Messages When Launching HDAs, HDIs.
Solution 2: Repair your installation of HotDocs. To do this, go to Start > Settings > Control Panel > Add or
Remove Programs. Select your version of HotDocs in the list of programs and click Change/Remove. When
prompted to either repair or uninstall HotDocs, choose Repair and complete the installation.
The second possible (and more likely) problem occurs because Windows XP examines files being downloaded. If they
appear to be in the ZIP format (which both HDI and HDA files are), then regardless of the download extension, Windows
concludes they are ZIP files and applies a .ZIP file name extension. Even though you have a proper MIME type set up on
your computer, Windows XP makes the change during the download.
To set the correct MIME types on the server
1. Bring up the IIS management tool (i.e. go to Start > Programs > Administrative Tools > Internet Services
Manager).
2. Choose the Web site whose MIME types you need to change.
3. Right-click and choose Properties from the shortcut menu.
4. Click the HTTP Headers tab.
5. Click the File Types button.
6. Click the New Type button. (You will do this for both HDIs and HDAs.)
7. Enter the following information for each file type:
Type of File
MIME Type
Auto-install (HDI)
application/x-hotdocs
Auto-assemble (HDA)
application/x-hotdocs-auto
902
Solution
You may not be able to edit answers at the Document Preview tab for one of three reasons:
You are viewing a WordPerfect document. (Answer editing is not supported in WordPerfect templates and
documents.)
The template developer has not allowed it.
The Highlight Fields option is turned off. To highlight fields again, click the
assembly window toolbar.
903
Solution
As a safety precaution, HotDocs requires you to enter four digits when entering the year portion of a date. If you enter a
two-digit date, such as 7/9/99, HotDocs responds with this message: "You must enter a four-digit year."
You can override this default option by specifying a century rollover year at the HotDocs Options dialog box. The number
you enter controls how HotDocs interprets two-digit years. Two-digit years less than or equal to the number you enter are
understood as 2000-century years. Two-digit years greater than the number you enter are understood as 1900-century
years.
For example, if you specify a rollover value of 34, dates entered as 5/14/34 will appear as 14 May 2034. A date entered as
5/14/35 will appear as 14 May 1935.
Note:
See Control How HotDocs Handles Two-Digit and Four-Digit Years for information on setting this option.
904
Solution
HotDocs moves to the next dialog in the interview outline because of a default setting. Its behavior is most useful when
child dialogs appear as the last item in a dialog, and, after answering questions in the child dialog, you want to move
to the next dialog in the interview. However, there are times when you need to return to the parent dialog and continue
answering questions in the current dialog.
If, instead, you want to return to the main-level dialog that uses the child, you can clear this default setting. At the
assembly window, clear Next Dialog Follows Outline (Navigate menu).
905
Solution
You can change the font, size, and color of the text used in a dialog. You can also change the properties of text used in
the interview outline. For details, see Customize the Look of the Dialog Pane.
906
Solution
After you have installed the new word processor, you must run the word processor at least once. This creates entries in
the Windows System Registry, which HotDocs must be able to access before it can integrate with it.
Once the registry is updated with the required information, you must select the new word processor at HotDocs Options
and choose to install support for it. For details, see Install Support for New Word Processors.
It is possible your new word processor isn't compatible with HotDocs. If you are unsure, please see the list of HotDocs
System Requirements (see System Requirements.)
907
Solution
In an effort to keep the assembly process up to date, HotDocs updates the dialog and the interview outline each time you
enter or edit an answer in the interview. Depending on the complexity of the interview or the document, this updating may
take longer than desired.
You can minimize the amount of time HotDocs takes to update the interview or document with your changes by forcing
it to update only when it needs to. You do this by turning
Instant Update off. When instant update is off, HotDocs
updates dialogs and interviews only when it needs to. For details, see Update Your Interview Outline and Document.
Note:
Template Developers: You can create a custom interview component that can greatly reduce the amount of
processing required to keep the interview up to date. This can improve response time for your users. For details, see
Define a Custom Interview.
908
Next or
Next or
Solution
When you type an answer in an answer field, HotDocs sometimes reads the answer and reformats it to appear a certain
way. For example, if you type February 6, 2006 in a date field, HotDocs will reformat the answer to appear as 6 Feb
2006. Sometimes this reformatting can reveal an incorrectly interpreted answer, especially if the answer you typed is
ambiguous. For example, the date 05/06/2006 may either be interpreted as June 5, 2006 or as May 6, 2006.
Depending on where the reformatted answer appears in the dialog, you may not even be aware that it has been
reformatted. For example, when you enter an answer in one of the first answer fields in a dialog and then move to the next
field, you will most likely see that your answer has been reformatted. However, if you enter an answer in the last answer
field and click
Next to advance to the next dialog, you may not see that the answer was reformatted.
In this situation, HotDocs keeps you in the dialog so you can review the change it has made to the format. For information
on changing this default behavior, see Warn When HotDocs Reformats Date and Number Answers.
909
Solution
A HotDocs library is simply a tool for viewing and working with the files on the disk. Specifically:
Files in the library are shortcuts that link to the actual files on disk (much like a desktop shortcut to an application you
use frequently links to a program in your Program Files folder).
Files in the library can be organized into "virtual" folders. These folders do not need to match the organization of
folders on the desktop.
Files in the library can be viewed using either the template title or the template file name. Files on disk are viewed
only by file name.
If you manually move a file on disk, you must update the reference to the file in the library or HotDocs will not know
how to find the file. To move files while keeping the reference to the file updated in the library, use the Move or
Copy commands in the library.
910
Solution
Sometimes you need to enter an answer in a form document, but you are unable to enter that answer because of
formatting restrictions on that field. (Remember, dates and numbers must be formatted a certain way for HotDocs to
consider them valid.) For example, say you enter 3,000,000 as an answer to a number variable. The field, however, may
not be large enough to show the whole answer without sending it to the addendum. You can override the field's format
and enter 3 mill. as the answer.
Or perhaps you have a date that is appearing in one format (19 May 2006), but you want it to appear in a different format
(06/19/06). You can override the field and enter the answer you need.
Overriding the format of the field allows you to enter whatever text you need in the answer field.
See Override an Answer in a Form for details on overriding form fields.
Note:
Overriding a field is like placing a sticky note over the field and writing on ityou can see what is written on the note,
but HotDocs continues to use the original answer. Any other fields that use the answer, either in a calculation or a
condition, will continue to do so. The original answer will likewise be saved in the answer file.
911
Solution
This slowness happens when you print the document through HotDocs. To print more quickly, use Adobe Acrobat or
Reader to print the document. See Print an Assembled Form Document for details on selecting this preference.
912
Solution
This problem appears when you use Adobe Acrobat to print the document and you're using a non-PostScript printer
driver.
To correct the problem, always use a PostScript printer driver.
See Print an Assembled Form Document for more details.
913
Solution
During installation, HotDocs creates certain entries in the Windows System Registry. One of these entries designates
where the file hd_dispatch.exe should be found so that HDAs and HDIs can be properly run. By default, this file is usually
created and registered in C:\Program Files\HotDocs. However, if you performed a custom installation and changed the
program folder for HotDocs to some location other than C:\Program Files\HotDocs, this registry key was not updated with
the new program files path. Because of this, HotDocs cannot run the HDA or HDI because it doesn't know where to look
for hd_dispatch.exe.
To update the registry with the correct information
Caution:
This workaround requires you to work in the Windows System Registry. Failure to follow these instructions carefully
and entirely may result in you changing a setting that may adversely affect several other programs you use. If you are
unsure of how to work with the registry, please ask your system administrator for assistance.
8. Click OK.
9. In the same subfolder (in the right pane), expand Shell > open > command.
10. Repeat steps 6 through 8, updating the folder path so that it matches the folder where HotDocs is installed. Again,
do not change the information after the file path.
11. Remember to update the file locations for both HDAs and HDIs. See step 3 in the list above.
914
Solution
HotDocs uses the Windows System Registry to store your personal preferences for working with HotDocs. If you need to
restore the installation defaults, you must clear the Current User section of the HotDocs portion of the System Registry.
Caution:
You must be extremely careful when working in the System Registry. Failure to follow the instructions below exactly
could result in your making changes that negatively affect all of the programs on your computer. You may want to ask
your system administrator for help if you are unsure of what you are doing.
Note:
To understand HotDocs installation and the changes that are made to the registry, please see Understand HotDocs
Installation.
1. At the Start menu, select Run. The Run dialog box appears.
2. In the Open box, type regedit and click OK. The Registry Editor appears.
3. Navigate to HKEY_CURRENT_USER > Software > HotDocs > HotDocs.
4. Select the HotDocs subfolder and press Delete. Click Yes to confirm the deletion.
5. Check for the registry key HKEY_CURRENT_USER > Software > LexisNexis > HotDocs 6. If it exists, proceed to
Step 6. Otherwise, proceed to Step 7.
6. Select the HotDocs 6 subfolder and press Delete. Click Yes to confirm the deletion.
7. Close the Registry Editor.
915
Solution
If the buttons and menu options for saving an answer file are disabled, it is because the template provider has either
prohibited you from saving the answer file, or because the answer file is being saved automatically. If you have specific
questions, please contact the template provider.
916
Solution
To set your preferences before you print the document, you must first send the document to the word processor. Once in
the word processor, choose the Print command and then specify your settings.
917
Solution
When you select a template or folder in a HotDocs library and click the
Remove Items button, HotDocs asks if you
want to remove just the reference to the file from the library or if you want to delete the actual files from disk, too.
If you remove just the reference from the library, that specific reference to the file is removed from the library but the
actual file still exists on disk. Additionally, if the item is referenced any other place in the library or in a different library,
those references still exist.
If you choose to delete the item from disk, the reference is removed from the library and the file is sent to the Recycle Bin
(if working with files on your local drive) or permanently deleted (if you're working with files on a network drive).
When you remove a folder from the library, you can choose to delete just the folder (in which case, items in the folder
are moved to the next highest folder), or you can choose to delete the folder along with all of the items referenced in the
folder.
For details, see Remove Items from a Library.
918
Solution
Once you send an assembled document to the word processor, it becomes "disconnected" from HotDocs. If you make
changes to the document, those changes will not be represented in either the template or the answer file.
To update the template with your changes, you must edit the template and make the changes there. If you do not have
editing privileges, you should notify the template publisher of your recommended changes.
If you need to update answers, you must reassemble the document using the saved answer file and make your changes
during the interview. Make sure you save the answer file when you are finished.
919
Solution
To update cross-references in an assembled Word document
1. Highlight all of the text in the document (press Ctrl+A or choose Select All (Edit menu)).
2. Press the F9 key.
3. Select your update options and click OK. Cross-references in the document are updated.
Note:
Template Developers: You can select a component file property that automatically updates references in the
document once the document is sent to the word processor. See Change Component File Properties for details.
920
Solution
To view items in the library by file name, choose File Names (View menu). To show template titles again, choose
Template Titles.
You can search a list of library items for a specific template by using the Find command. Simply select Find and then
enter the text for which you are searching in the box. HotDocs will search both template titles and file names for the text
you enter. Any files that contain that specific text will be displayed in the list.
921
Solution
Several factors may contribute to these difficulties:
Insufficient surrounding features: To detect a field, HotDocs searches for surrounding features, such as lines,
text, or graphics. If there are insufficient surrounding features, HotDocs may have difficulty detecting a field. In such
cases, HotDocs creates a field of the default size.
Label text: When label text is inside the field area and there is enough space between the text and the bottom of the
field area, the Detect command will extend the field up to the bottom of the label text. If you want the field to occupy
the area to the left or right of the label, or if you want to include the label inside the field, you must create the field
manually.
Field not completely visible: If part of the intended field is not visible (for example, it's scrolled out of the window),
HotDocs attempts to scroll to detect the field. It is recommended that you use a zoom level such as Fit Page to
Width so HotDocs can find the entire field on the screen.
If HotDocs is unable to automatically create or resize a field to the size and position you want, you must create the field
manually. See Create a Form Field for details.
922
Solution
Starting with the release of HotDocs 2006, page rotation is honored when creating a new template. However, you may
need to update existing forms where page rotation is not honored.
To fix page rotation problems in existing PDF templates
923
Solution
HotDocs expects fields in a table to appear in standard rows and columns that read from top to bottom and from left to
right. When fields in a table are laid out differently, you must first define the rows and columns by specifying the field order
before you try to group the fields as a table. For complete instructions on doing this, please see Merge a List of Answers
in a Standard Table and Merge a List of Answers in a Nonstandard Table.
924
Solution
You can keep text from being merged in a control field. To do this, you will increase the field border so that text that
doesn't fit in the field will be sent to the addendum.
To keep text from appearing
2. Click the Layout tab. The view changes to show options for field placement and appearance.
3. In the Borders group, enter 1 in the Left border box.
4. The underlying form field should turn a dark shade of green. If it does not, increase the field border until it does.
Note:
See Change the Borders and Margins of a Field for complete instructions.
925
Solution
You must first ungroup the fields and then make the changes to the field. When you are finished, regroup the fields. See
Group Form Fields So Answers Can Flow From One Field to Another and Ungroup Form Fields.
Caution:
Properties for field and table groupings are stored with the first field in the group. If you delete the first field in the
group, you will lose these grouping properties.
926
Solution
To use the keyboard to move fields on the form, you can use the arrow keys. This moves the field pixel by pixel, which is
useful when you want precise placement. To move the fields more quickly, press Shift as you press the arrow keys. See
Move a Field on a Form for details.
927
Solution
To do this, you must group the fields and then assign a maximum number of lines and characters to the fields in the
group. You may also need to assign an example format to the field. For complete instructions, see Attach a Variable to
Single-Character Boxes.
928
Solution
When users assemble form documents, they can provide the information in one of two ways: answering questions in an
interview or typing answers directly on the document (which is called direct-fill assembly).
All forms, when first automated, are set to allow only direct-fill assembly. However, you can allow interview-based
assembly by specifying an interview. The interview can be a default interview (one in which HotDocs determines the
order dialogs are asked in the template) or it can be a custom interview (one in which you specify the order dialogs and
variables are asked). Either way, you can designate which type of interview you want to use. For details, see Define the
Interview for a Form Template.
Note:
If you want all new templates you create to use a default interview, you can specify a HotDocs option. See
Automatically Generate Default Interviews for Form Templates for details.
929
Solution
Many of the properties you specify in the Form Documents section of HotDocs Options only affect new templates or
fields you create. To update existing templates and fields you've already created with the settings, you must manually
specify the properties while working in the template or working with the fields.
930
Solution
When determining the order to ask questions in the interview, HotDocs begins with the top-left field of the form and
processes all of the fields until it reaches the bottom-right field. This processing affects two thingsthe order questions
are asked in the default interview and the order in which the user is able to tab through fields on the form.
Because of this default field ordering, sometimes you may find that the tab order during direct-fill assembly isn't working
as you expect. To correct the problem, you must manually assign a tab order to the fields on the form. You do this at the
Additional tab of the Field Properties dialog box. Specifically, you assign rows and/or column numbers to fields on the
form. For complete details on assigning a tab order, see Change the Tab Order of Fields.
931
Solution
If you have symbolic fonts installed on your computer, you can 1) assign the font to the field, and 2) assign the special
character to the True/False variable format.
The following steps provide an example using the Symbol font.
To merge a check mark in a check box
1. On the form template, create a check box field. (See Create a Check-Box Field.)
2. Attach a True/False variable to the field. (See Customize a True/False Variable.)
3. Enter the following text in the Default format box: / . (The capital O with an umlaut can be entered by pressing Alt
+0214. This character represents the check mark character in the Symbol font. You may need to enter the character
in a separate text editor and then copy and paste it into the Format box.)
5. Change the font to Symbol. (See Change the Font Used for a Field.)
When the template is assembled, HotDocs uses the check mark (#) instead of the X.
932
SECTION 12:
LEGAL NOTICES
933
Warranty Information
HotDocs makes no representations or warranties with respect to the contents or use of this product and specifically
disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Information in this
document is subject to change without notice and does not represent a commitment on the part of HotDocs.
Government Use
Use, duplication, or disclosure by the Federal Government is subject to restrictions as set forth in FAR clauses
52.227--14, Rights in Data--General; 52.227--19, Commercial Computer Software--Restricted Rights; and subdivision
(c)(1)(ii) of the Rights in Technical Data and Computer Software clause DFAR 252.227--7013; and the limitations set forth
in the standard commercial license agreement for this software. Unpublished rights are reserved under the copyright laws
of the United States.
Trademark Information
HotDocs is a registered trademark of HotDocs Limited. Other product names may be trademarks or registered trademarks
of their respective companies.
934
1. In consideration of you agreeing to abide by the terms of this Licence and the payment of the licence fee (which is
part of the price for this package), the Licensor hereby grants to you a non-exclusive, non-transferable licence to use
the Software on a single computer or workstation. The Software may not be shared or used concurrently on other
computers. If any updates, maintenance releases or other modified versions of the Software are made available to
you they shall be deemed to be Software supplied under the terms of this Licence unless otherwise stated at the
time of supply.
2. You may make one copy of the Software for back-up purposes only. You may not transfer your rights to the back-up
copy unless you also transfer your rights to the Software.
3. Except as expressly set out in this Licence or as permitted by any local law, you shall not (and shall not allow a third
party to):
(a) copy the Software except where such copying is incidental to normal use of the Software or where it is necessary
for the purpose of back-up or operational security;
(b) rent, lease, sub-license, loan, translate, merge, adapt, vary or modify the Software;
Copyright 2010 HotDocs Ltd. All rights reserved
935
(c) make alterations to, or modifications of, the whole or any part of the Software;
(d) disassemble, de-compile, reverse engineer or create derivative works based on the whole or any part of the
Software.
4. You acknowledge that all intellectual property rights in the Software throughout the world belong to HotDocs Limited,
that rights in the Software are licensed (not sold) to you, and that you have no rights in, or to, the Software other
than the right to use it in accordance with the terms of this Licence.
5. The Licensor warrants that the media on which the Software is stored and distributed are (at the time of supply),
and will be for the period of 90 days after that time (Warranty Period), free from defects in design, material and
workmanship under normal use. If a defect in the media occurs during the Warranty Period, the Licensor will replace
it free of charge if you return it to the Licensor with proof of purchase and (so far as you are able) a documented
example of such defect or error.
6. You acknowledge that the Software has not been developed to meet your individual requirements and that it is
therefore your responsibility to ensure that the facilities and functions of the Software meet your requirements.
7. You acknowledge that the Software may not be free of bugs or errors and you agree that the existence of any minor
errors shall not constitute a breach of this Licence.
8. If, within the Warranty Period, you notify the Licensor in writing of any defect in the Software in consequence of
which it fails to perform substantially in accordance with the electronic documentation, and such defect does not
result from you having amended the Software or used it in contravention of the terms of this Licence, the Licensor
will, at its sole option, (i) repair or replace the Software or (ii) accept a return of the Software (with proof of purchase)
and provide a refund of the purchase price, provided that you make available all information that may be necessary
to assist the Licensor in resolving the defect or fault, including sufficient information to enable the Licensor to
recreate the defect or fault.
9. Nothing in this Licence shall limit or exclude the liability of either party for death or personal injury resulting from
negligence, fraud, fraudulent misrepresentation, or for liability which cannot lawfully be excluded or limited.
11. This Licence does not provide for maintenance or support for the Software, which must be purchased separately
if required. Licensor has no obligation to provide maintenance, support or updates, modifications or new releases
under this Licence.
12. This Licence sets out the full extent of the Licensor's obligations and liabilities in respect of the supply of the
Software. There are no conditions, warranties, representations or other terms, express or implied, that are binding
on the Licensor except as specifically stated in this Licence. Any condition, warranty, representation or other term
concerning the supply of the Software which might otherwise be implied into, or incorporated in, this Licence, or any
collateral contract, whether by statute, common law or otherwise, is hereby excluded to the fullest extent permitted
by law.
13. You may not transfer, assign, charge or otherwise dispose of this Licence, or any of your rights or obligations arising
under it, without our prior written consent.
14. Upon request from time to time, you agree to certify to the Licensor the number of copies of the Software installed on
your computers.
936
937