New features with XpressDox Version 3.7.0 are:
- «Script()» and «ScriptEnd()», if on separate paragraphs, must be the only text on their paragraph. XpressDox will now issue an error if this is not the case.
- When XpressDox paints a template, «Comment()» commands will be colored a different color to other fields. The default comment color is gray, but can be configured to another color, as can all the other field colors.
- Some new functions (and variations of existing functions) have been added. They are:
- «IncrementV()» which adds an amount to an existing variable. The default amount is 1, but an amount can be specified in the function reference, e.g. «IncrementV(‘Counter’)» will add 1 to the value in variable ‘Counter’, whereas «IncrementV(‘RunningBalance’, Amount)» will add the value in data element Amount to the value in the variable ‘RunningBalance’.
- The «Gender()» function will help the template author to choose the correct pronoun to use instead of typing “him/her” in the document.
- «FormatDate()» now has a formatting string “o” which places an “ordinal” day into the formatted date. For example, «FormatDate(DateOfSignature,‘MMMM o yyyy’)» would format the date 2011-04-13 as “April 4th 2011”. The «OrdinalSuffix()» function enables superscripting of the “th” in the above example.
- «Plural()» provides a quicker way of specifying the choice of singular or plural value than using «When()».
- «Today()» is similar to «Now()» except that «Today()» does not contain a time of day component. Both «Today()» and «Now()» can be specified with or without formatting. If no formatting is supplied, a default format is used, which can nonetheless be formatted using «FormatDate()».
- The template conversion utility will convert common HotDocs® commands directly into XpressDox commands or functions.
- «ChooseFromList()» supports a “verbose” version. This works in the same way as for radio button lists, i.e. «ChooseFromList(Option,A~~Option A – the long road,B~~Option B – the short road,C~~Option C – the winding road,D~~Option D the straight road)». The drop down in the interview will present the user with the parts after the ~~, and when the user chooses a value, the corresponding part before the ~~ will be placed into the data element Option.