Sets a callback function which will be invoked when the document is submitted.

Introduced: 30.0.

<void> TXDocumentViewer.signatures.setSubmitCallback(callback);