# SignatureBeforeSubmitCallback Function

> Invoked immediately before a signature document is submitted.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Function
- **Path:** DS Server > Reference > JavaScript API - Document Viewer > SignatureBeforeSubmitCallback Function
- **48 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebeforesubmitcallback/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebeforesubmitcallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebeforesubmitcallback/llms-full.txt

---

### Description

Invoked immediately before a signature document is submitted.

### Syntax

```javascript
function()
```

---

## Nearby

- **Previous:** [Javascript: PDFJSSettings.workerSourcePath Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/workersourcepath-property/llms-full.txt)
- **Next:** [SignatureBox Object](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebox/llms-full.txt)
