Javascript: Signatures.submit Method
Description
Validates the form fields through Forms.validate() and submits the signed document. Returns `false` when validation fails, or `undefined` when a request failure is handled by the viewer.
Syntax
<Promise.<(unknown|false|undefined)>> Signatures.submit()Return Value
Validates the form fields through Forms.validate() and submits the signed document. Returns `false` when validation fails, or `undefined` when a request failure is handled by the viewer.
Examples
The following example demonstrates signatures.submit in a practical Document Viewer workflow. Submits the signed document.
TXDocumentViewer.signatures.submit();
console.log("submit requested.");