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 […]
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 firstname.lastname@example.org for assistance
Watch the Video Tutorials
How to Create a Template
List of all Commands
Search for Command
Download Free Trial
Frequently Asked Questions
Information on Server Options
Send Email to Support
Best Practices Guide
Review API Documentation
Download Server or API Software
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.
«Paragraph()» will split a paragraph into two. Providing the name of a Word style, such as «Paragraph(ThisStyle)» will result in the second paragraph resulting from the split having style ThisStyle applied to it.
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.’)»
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 […]
This command is relevant in the case where the template is to be published to your own Integration Server. It can be used to enable or disable the Preview functionality during the interview process.
This function works in almost exactly the same way as The DateAsNumber Function, except that it will also accommodate any time portion in the value passed to it.
Comparing two strings for equality and inequality is straightforward. However, because XpressDox relies heavily on XPATH (XPATH Tutorial), it also is constrained by some XPATH limitations. For example, «If((‘A’ < 'B'))»less«Else()»not less«End()» «If(('B' < 'A'))»less«Else()»not less«End()» will result in not less not less being put into the document. This is because XPATH will only evaluate […]
Problem Statement Suppose you have an application which requires that one or more parties sign a suretyship document, with the requirement that each party signs their own document, not that they all sign the same document. The first thing to do is set up the suretyship template, with the relevant fixed text, etc., just like […]
2019-06-20 Version 11.1.1 The feature to enable configuring a SQL SELECT statement as a data source has been introduced. Read about it here. Some bug fixes: The «Dollars» function will now insert the word ” and ” between the dollar value and cents value for US English. A tab character in front of an If […]