Use Google to find help fast. For example, search on "xpressdox choosefromlist".

The Caption Command

The Caption Command

A caption can be given to a data element to change the name on the interview, with no effect on the document. Whilst a data element may be given a name such as FName, the caption command can change that into something more readable in the interview. An example of that might be

<<Caption(FName,Full Name of Defendant)>>

This will result in the phrase Full Name of Defendant appearing next to the field on the interview.

The style (i.e. bold, italic and/or underline) and color of a Caption may also can be set to enhance the usability of the XpressDox interview screen. This is done by typing certain codes into the Caption command, but the easiest way to set the style and color is by using the Command Editor (or, prior to Version 3 of XpressDox, the Template Author’s Toolkit), which has wizards to guide you in the selection of the options and which put the correct codes into the Captioncommand. To achieve this in the Command Editor, right click on the Caption command, select Wizards and then Set the caption and apply style and colour

To change the style and/or color in an existing template, the codes can be typed into the command without having to use the wizards.

An example:

A caption is to be bold and italic and underlined and colored light blue:

<<Caption(FName,^biu^@LightBlue@Full Name of Defendant)>>

The choice of color can be made from the list presented in the Command Editor wizard – there is an extensive number of colors available, and the common colors have their common English names, e.g. Red, Orange, Yellow, Green, etc.

The alignment of the captions can be defined using the AlignCaptions command.

With effect from Version 4.3, setting a caption to an empty string (<<Caption(FName,'')>>) will cause the data capture control for that data element to be aligned directly against the left hand side of the interview form.

Leave a Reply