TX Text Control .NET Server

Javascript: TextFieldInfo.length Property

Property|Introduced in 23.0

Description

The number of characters in the text field.

Syntax

<number> TextFieldInfo.length

Examples

The following example demonstrates TextFieldInfo.length in a practical document-editing workflow. The number of characters in the text field.

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