DS Server

Javascript: TXTextControl.TextField.length Property

PropertyDeprecated|Introduced in 25.0

Description

Obsolete. This property will be removed in one of the next versions. The number of characters in the text field.

Syntax

<number> TXTextControl.TextField.length

Examples

The following example demonstrates TXTextControl.TextField.length in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. The number of characters in the text field.

function inspectLength(textField) {
    const length = textField.length;
    console.log("length:", length);
}

Limitations

Read Only.