Skip to main content

Signing process

MobbSignView includes toolbars with all the actions of the signing process. If you hide them, or want to trigger the actions from your own interface, call the methods of the view.

The process​

#StepCall
1Show the documentloadPDFDocument()
2Capture the signaturesignDocument()
3Confirm itstampDocument()
4FinishendProcess()
MethodAction
signDocument()Starts the capture: the user can draw their signature.
stampDocument()Signs the PDF with the signature captured: encrypts the biometric data and embeds the electronic signature. Triggers onDocumentSigned.
deleteSignature()Discards the signature captured, before it is confirmed. Triggers onSignatureDeleted.
endProcess()Ends the process once the document is complete. Triggers onProcessEnd with the signed document.

For several signers on the same device, repeat signDocument() and stampDocument() for each of them before calling endProcess(). Each signature adds its own electronic signature to the document. To show a different legal notice to each signer, update it in onDocumentSigned.

MethodAction
goToNextPage() · goToPrevioustPage()Go to the next or previous page.
goToFirstPage() · goToLastPage()Go to the first or last page.
zoomIn() · zoomOut()Zoom in or out.

Form fields​

If the document contains form fields, onDocumentShown receives editable = true and the user can fill them in the viewer. Call saveForms() to save the values before signing. A document with unsaved changes cannot be signed (ERROR_CANNOT_SIGN_EDITABLE_DOCUMENT).

To fill in the fields when the document is loaded, see Load a document.

Next step​

Configure the position and appearance of the signature in Signature options.