TX Text Control .NET Server

Javascript: CheckFormField.getUncheckedCharacter Method

Method|Introduced in 28.0

Description

Gets the character which is used to display the checkbox in the unchecked state.

Syntax

<void> CheckFormField.getUncheckedCharacter(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
callback

Receives the character which is used to display the checkbox in the unchecked state.

errorCallback

Optional. Is called when the operation failed with an error.

Examples

The following example demonstrates CheckFormField.getUncheckedCharacter in a practical document-editing workflow. It gets the character which is used to display the checkbox in the unchecked state.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectUncheckedCharacter(checkFormField) {
    checkFormField.getUncheckedCharacter(
        function(result) {
            console.log("get unchecked character result:", result);
        },
        onTxError
    );
}