DS Server

Javascript: TXTextControl.signatureFields Property

Property|Introduced in 31.0

Description

Gets a collection of all signature fields in the document.

Syntax

<SignatureFieldCollection> TXTextControl.signatureFields

Examples

The following example demonstrates TXTextControl.signatureFields in a practical document-editing workflow. It gets a collection of all signature fields in the document.

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

tXTextControl.signatureFields.getCount(function(count) {
    console.log("signature fields count:", count);
}, onTxError);