Missing MAXLENGTH support for string type of attributes (WEBTOP4521)
Text input controls (dmf:text and derived controls) in Documentum do not support the MAXLENGTH
attribute available in the HTML standard, an attribute that limits the number of characters a user
can enter in a text field.
Text input controls have been enhanced to support the MAXLENGTH attribute that can be defined
for string type of attributes. If MAXLENGTH has been defined for a string type of attribute, the value
of MAXLENGTH will determine the maximum number of characters that the user can enter in a text
field. For example, the MAXLENGTH attribute can be defined for a text control as follows:
<dmf:text name=”txtSearch” id=”txtSearch” size=”35″ maxlength=”40″
defaultonenter=”true” tooltipnlsid=’MSG_GO’ autocompleteid=
“ac_simplesearch”/>
Data dictionary bound controls such as dmfx:docbaseattributevalue, dmf:docbaseattribute, and
dmfx:docbaseattributelist set the maximum input length of the text control to the length defined for
the string type of attribute in the data dictionary.