XpressDox Help Center

Use Google To Find Help Fast, e.g. xpressdox choosefromlist


Press Getting Started in the XpressDox toolbar for basic template development
Watch the tutorial videos
View command help from list of commands
Press F1 for help on a command in the Command Editor
Email support@xpressdox.com for assistance

The YearsMonthsDaysBetween Function


The GT and LT functions

The GT and LT functions

Sometimes it is syntactically impractical to use the characters < and > in a particular context. For example, you might want to use a Dynamic Caption which is something like this (to use the word “names” or “name” in the caption depending on the number of children): «Caption(DependantNames,Enter the <IIf(count(Child) > 1,’names’,’name’)||[Names]>)» The problem with […]


Using Scripts in PDF Form fields


Save the Dataset into a Database Column


The RepeaterPosition Function

The RepeaterPosition Function

Consider the commands OnExitSet and OnEnterSet. These commands are only executed during the lifetime of the interview, and also contain conditions which need to be evaluated when the user navigates through the interview. Also consider the case where you would like certain actions to take place depending on the position of the current repeater. For […]


The Value Function

The Value Function

This function is usually used inside Scripts, when you want to use a script as a function inside another command. The function returns exactly what it is passed, as in: «Script(DemoValue)»«Value(‘This is what will be returned by the function’)»«ScriptEnd()» The use of this script “as a function” would be something like «If(A = DemoValue())»Data Element […]


The Execute Function

The Execute Function

Execute is used when a sequence of functions need to be executed one after the other. It is typically of assistance in the HotDocs® converter. Here is an (admittedly artificial, but useful for illustration) example: «OnExitSet(Name,Number,Value,(),Execute(SetV(‘X’,12),IncrementV(‘X’),GetV(‘X’)),,EvenWhenNotEmpty)» After the focus leaves the Name field, the Number data element will have its value set to 13.


The Paragraph Command


The Mod Function

The Mod Function

Mod is used to get the remainder when dividing one number by another. It is typically used to divide sets of items into odd and even, or in a Rule. For example: «ForEach(Parent)» «Name» «End()» «Rule(Parent,hard,(count(Parent) mod 2) = 0,’Please enter an even number of parents.’)»


The HideFromPreview Command

The HideFromPreview Command

By default, when the user selects to preview the results of an assembly (during the Interview process), the system will display the document generated by the template itself, and any document generated by the MergeTemplate function. Sometimes, the template author may want to restrict the preview functionality to specific templates. In this case, including the […]