maxLength

Specifies the maximum (inclusive) allowable length of the content or -1 to indicate that no maximum length is imposed.

The interpretation of this property is affected by the content type. In this case this property specifies the maximum (inclusive) allowable length of the content in characters. For instance, where the content type is text/plain this property represents the maximum (inclusive) number of characters of plain text content. Similarly, where the content type is text/html this property represents the maximum (inclusive) number of characters of content excluding markup, and insignificant whitespace.

Syntax

Reference_Syntax.maxLength = "-1 | integer"

Values

Type

Values

String

  • -1 (default)

  • Any valid integer value.

Applies to

Model

Object

Form Model

exData

Version

XFA 2.1

// Ethnio survey code removed