How to 'Think' Document AssemblyWhat's in a name? The key to HotDocs is the'variable'. The variable is the fundamental element of HotDocs. The variable's definition is stored in a file external to the template called a component file. That definition, may include a 'script' which contains a string of references to other variables and instructions. Inside the templates, variables are use to input text. Also in IF STATEMENTS, variables can be combined in a mini-script to determine whether to include or exclude the enclosed text. Advanced developers have discovered that 'variables' in templates can also be used to SET values and run other strings as well. Goals of any schema
To think HotDocs you need to look at a textual problem and identify a solution. A few samples are given below: Block of Alternative TextThe master document has a series of alternative mortgage provisions. You need to first identify the standard provision. Then, you need to evaluate the alternative provisions:
Filling in a BlankThe master document contains a series of 'blanks' that need to be filled in during assembly. This is just the beginning:
When a number is not a numberIt is a misnomer that all numbers are the same. For HotDocs, a number is an integer or decimal that has a 'value' and can be converted to text. Under this definition, a zip code is NOT a number even though it consists of numbers. Similarly, a telephone number is NOT a number; nor is a Social Security Number. HotDocs will format numbers with commas … but it will not convert text. Formatting an Optional ParagraphMaster documents are often contracts which has special outline numbering requirements, internal cross-references and indexes. Any HotDocs solution must carefully address the 'formatting' of the resulting document.
Extracting Data from a CollectionSometimes you need to gather information about a collection, whether details about individual parties to an agreement, or a description of assets etc. HotDocs handles this information as a 'REPEAT'. However, sometimes you need to pull out details about a 'particular' item in the collection. If you just use the variable without special care, you run the risk of 'trashing' the data about other items in the collection. Special consideration includes:
|
||||||||