New features with XpressDox Version 3.7.0 are:

  1. <<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.
  2. 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.
  3. Some new functions (and variations of existing functions) have been added.  They are:
    1. <<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’.
    2. The <<Gender()>> function will help the template author to choose the correct pronoun to use instead of typing “him/her” in the document.
    3. <<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.
    4. <<Plural()>> provides a quicker way of specifying the choice of singular or plural value than using <<When()>>.
    5. <<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()>>.
    6. The template conversion utility will convert common HotDocs® commands directly into XpressDox commands or functions.
    7. <<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.