Show/Hide Toolbars

This appendix provides examples of XML tag attributes in TeamConnect that are commonly used to format fields and their labels on the screen. The attributes are grouped by the type of custom field each attribute affects. For details on the field and label tags, Block Tags.

Field Tags

The field tags that can be formatted with the help of attributes include:

Form

<TCFIELD NAME="FieldName" attributes />

Block

<tc:field name="FieldName" category="TreePosition" attributes />

<tc:wizardParameter name="ParameterName" attributes />

To include an attribute in one of these tags, replace attributes with the attributes and their values. For example, to restrict the length of a field (MomMaidenName) to 20 characters, you would use the maxlength attribute:

<TCFIELD NAME="MomMaidenName" maxlength="20" />

Label Tags

Unlike fields that can have a variety of formatting attributes, field labels may have only a the formatting attributes listed in Field Label Tag Attributes. The label tags are:

Form

<TCLABEL NAME="FieldName" attributes />

Block

<tc:label name="FieldName" category="TreePosition" attributes />

<tc:wizardParameterLabel name="ParameterName" attributes />

To include an attribute in one of these tags, replace attributes with the attributes and their values. For example, if you do not want the settings defined for required fields to be applied to a field (MomMaidenName), you would use the notUseRequiredFieldStyle attribute, as in the following example:

<TCLABEL NAME="MomMaidenName" notUseRequiredFieldStyle="true" />