DS Server

Javascript: TXTextControl.TextField.editable Property

PropertyDeprecated|Introduced in 25.0

Description

Obsolete. This property will be removed in one of the next versions. Specifies whether the text of a text field can be changed by the end-user while a TX Text Control document is being edited.

Syntax

<boolean> TXTextControl.TextField.editable

Examples

The following example demonstrates TXTextControl.TextField.editable in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. Specifies whether the text of a text field can be changed by the end-user while a TX Text Control document is being edited.

function inspectEditable(textField) {
    const editable = textField.editable;
    console.log("editable:", editable);
}