Skip to main content
Mitratech Success Center

Text Field Tag Attributes

size

Sets the width for text fields. Set the attribute value to a number to represent the width of the field in characters. For example:

Form

<TCFIELD NAME="LastEmployer" size="50" />

Block

<tc:field name="LastEmployer" category="EMPL" size="50" />

<tc:wizardParameter name="LastEmployer" size="50" />

maxlength

Sets the maximum number of characters for text fields. Set the attribute value to a number to represent the maximum number of alphanumeric characters allowed. For example:

Form

<TCFIELD NAME="Age" size="3" maxlength="3" />

Block

<tc:field name="Age" category="EMPL" size="3" maxlength="3" />

<tc:wizardParameter name="Age" size="3" maxlength="3"/>

  • Was this article helpful?