maxLength Attribute (editWith Element)

Specifies the maximum number of characters allowed for plain single line text boxes.

Type

  xsd:simpleType

Parent Elements

Element Description
editWith Specifies an instance of an editing component, and provides the corresponding parameters to determine its exact behavior.

Definition

  <xsd:attribute name="maxLength" use="optional" >
  <xsd:simpleType>
    <xsd:restriction base="xsd:integer">
      <xsd:minInclusive value="-1" />
      <xsd:maxInclusive value="9999" />
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>

Remarks

The maxLength attribute is only valid for plain-text edit controls that do not allow paragraph breaks. Such controls correspond to editWith elements with a component attribute set to "xField" and a type attribute set to "plain" (or without a type attribute specified).

Example

The following is an example of the maxLength attribute as it is used in the editWith element:

  <editWith component="xField" maxLength="100">