Additions & Updates
0140: Send Only Overflow Text to Addendum
0139: Signature Block: Parallel Columns
0138: Paragraph Punctuator
0137: Username/Password Generator
0136: State Name to State Abbreviation
Tut. 04: Dates
Tut. 02: The Computation Variable
Tut. 01: Data Types
 *italics = premium content
Submissions are welcome!

Welcome Back to the Archive

HotDocs 6 Sample Templates: HotDocs 6 sample templates are now available for every computation but two - 0046 and 0112. Note that these will try to install in the same location as the HotDocs 5 templates, if you have those installed. If you want to preserve the HotDocs 5 templates, you may want to move them. If you have any trouble getting the HotDocs 6 templates to install, please let us know.

With very few exceptions, all content in the Archive is valid for both HotDocs 5 and HotDocs 6. The last step in the site update will be to note the few places where HotDocs 6 varies from HotDocs 5 and where the new instructions in HotDocs 6 can provide a better way of doing things.


About the Archive

This Archive is a library of scripts that can be used in HotDocs templates, computations, and dialog boxes. The Archive also contains some macros (Word and WordPerfect) that are useful with HotDocs.

The Archive is arranged by topic, the topics themselves centering around the various types of computation variables. For example, the Text Computations category contains scripts that manipulate text strings, like names and addresses. The Number Computations category is a collection of useful mathematical formulas; it also shows techniques for manipulating the way numbers are displayed.

Some of the scripts in this Archive were gleaned from the HotDocs ListServ (HotDocs-L; see link on left). Others were contributed directly to the Archive by consultants and users. Many more are our own contributions. All display the creativity and skill of the community's best developers.


Naming Convention

For the sake of consistency, all computations in the Archive will follow a uniform variable naming convention. At its most generic level, the convention is simply that 1) multi-word variable names are run together LikeThis, and 2) where possible, variable names will simply name the type of variable (e.g. "TextVar"). Otherwise, the variables will carry a type indicator as follows:

  • Text variables are appended with -t (e.g. Name-t)
  • Number variables are appended with -n (e.g. Salary-n)
  • Date variables are appended with -d (e.g. BirthDate-d)
  • Multiple choice variables are appended with -m
  • True/False variables are appended with -b (boolean)
  • Computation variables are appended with -c
  • Filter computations are appended with -f

Temporary variables (variables for internal use) should generally begin with a lower-case letter. And finally, dialog names are in plain English (for the sake of the dialog's title bar). For more details about this convention and examples of alternative naming conventions, see Computation #0134, Naming Conventions.



We welcome you to submit problems you have found in any of the scripts or templates in the archive (or with the Archive itself). When reporting a problem, please include the script number if applicable (e.g. 0025).

We do not support your customized version of a template or computation. Most of the scripts in the Archive have been tested and are known to work. Some have not. If you have any difficulty customizing a computation or a template, please take it to the contributors (if listed) or to the HotDocs ListServ. The ListServ is monitored by many of the HotDocs community's best developers. They are polite, responsive, and very willing to help.



HotDocs® is a registered trademark of LexisNexis®. The HotDocs® Computation Archive is not owned by or in any way affiliated with HotDocs® or LexisNexis®. Visit the HotDocs® website at

The content of this site is made available as a service to the HotDocs® community. Not all of the content has been tested or examined for accuracy. It is provided "AS-IS" and WITHOUT ANY WARRANTY or condition of any kind, be it EXPRESS OR IMPLIED, or arising by law, statute, usage of trade, course of dealing or otherwise. You assume the whole risk of using the site and its contents.

All content is Copyright (C) 2002-2004 by Legal Computing Services or the named contributors.