Objective:
- Using equations in Document Automation templates
Environment:
- Clio Manage
Additional Information:
- You must first have Custom Fields created and applied to the Matter containing only numbers
- Basic operators used are + , - , * and /.
Procedure:
- Open Word document
- Replace numeric entries will custom field Merge Fields
- Place cursor where you want the result to be
- Click Insert
- Click Insert field
- In Categories, select Equations and Formulas
- Add Merge Fields in equation format
Example: = << Matter.CustomField.CostOfHouse >> - << Matter.CustomField.Deposit >>Please note: You may see a !Syntax Error, < message appear - this is OKAY and is a result of MS Word trying to perform the equation in the document.
- Save and Upload as a Template in Clio
If you are creating a Word document from your template, you will need to open update the values so that they will display correctly after generating the document instead of displaying !Syntax errors. This is not needed if you have generated a PDF.
- Download and open the generated Word document from Clio, or open with Clio Launcher
- In Word, highlight all the text in the document (ctrl+A or cmd+A)
- Right click
- Choose Update Field. The values should be filled. If any !Syntax errors remain, please check your syntax for problems.
- Save the document and re-upload to Clio as a new version if needed, or save using Clio Launcher
Now, when you view a document generated from this template, you will see the calculation in the completed document: