HotDocs Tips & Tricks

Tips, tricks and solutions with the HotDocs document assembly platform
Sunday, October 28, 2007

Expression Model: ANSWERED(VAR) and ANSWERED(DIALOG)


This tip covered the expression models: ANSWERED(VAR) and ANSWERED(DIALOG).  Most often these are used in templates, but they are also used in computations to test whether a variable or a dialog has been answered.  Hotdocs scripts will be interrupted if the value of any required variable is not known.  For this reason, the use of the"answered" function gives a value where no value is known.

Posted by Seth

Wednesday, October 17, 2007

Instruction Model: AGE(DATE)


This tip covers the instruction model: AGE(DATE).  Use this expression if you want to know the age in terms of years as of the current date.  If you want to know the age as of a specific date, other than today, then you will need to use YEARS FROM( DATE , DATE )

Posted by Seth

Instruction Model: ABSOLUTE VALUE(NUM)


This tip covers the instruction model: ABSOLUTE VALUE(NUM). This model returns the positive (or absolute) value of a number variable.  In some accounting formulas, the result of the formula will be a negative number.  You may want to not the value as a negative, but still be able to treat and format the number based on its positive value

Posted by Seth

Instruction Model: ZERO(NUM)


This tip covers the use of the instruction model: ZERO(NUM).  When is a number not a number?  When it has no value.  That doesn’t present an issue unless you start running calculations based on an unanswered number.  The solution is ZERO(NUM).

Posted by Seth

Thursday, December 28, 2006

Instruction Model: ADD TEXT TO MULT_CHOICE


This tip covers when to use and how to use the HotDocs Instruction Model: ADD TEXT TO MULT_CHOICE.  HotDocs supports dynamic multiple choice variables.  A list of options (and their associated prompts) for a multiple choice variable can be seen in the definition of a particular component. However, this restricts the user to options known at the time that a component file is authored. This instruction model lets the developer dynamically change the option values and their associated prompts based on answers given by the user during an assembly.

Posted by Seth

Page 1 of 1 pages

Statistics

Page Views: 17923
Page rendered in 0.4783 seconds
35 queries executed
Total Entries: 82
Most Recent Entry: 07/16/2008 11:19 am
Total Members: 5
Total Logged in members: 0
Total guests: 6
Most Recent Visitor on: 08/28/2008 01:26 pm
Most visitors ever: 87 on 11/07/2006 02:22 pm

Referrers