Sets a callback function which will be invoked on submitting the document.
Introduced: 30.0.
<void> TXDocumentViewer.signatures.setBeforeSubmitCallback(callback);