# SignatureBox Object

> Signature-box criteria and state used by the document signing workflow.

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

---

### Description

Signature-box criteria and state used by the document signing workflow.

### Syntax

```javascript
{
   [name: <string>],
   [style: <number>],
   [signingRequired: <boolean>],
   [signed: <boolean>]
}
```

### Examples

The following example demonstrates `SignatureBox` in a practical Document Viewer workflow. This object encapsulates settings and criteria for a signature box.

```javascript
const signatureBox = {
    name: "CustomerSignature",
    signingRequired: true,
    style: 0
};
console.log("Signature box settings:", signatureBox);
```

---

## In This Section

- [Javascript: SignatureBox.name Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebox/name-property/llms-full.txt): Optional. Name criterion used to identify matching signature boxes.
- [Javascript: SignatureBox.signed Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebox/signed-property/llms-full.txt): Optional. Whether this box has already been signed.
- [Javascript: SignatureBox.signingRequired Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebox/signingrequired-property/llms-full.txt): Optional. Whether signing this box is required.
- [Javascript: SignatureBox.style Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebox/style-property/llms-full.txt): Optional. Visual style: `0` for a signature or `1` for initials.

---

## Nearby

- **Previous:** [SignatureBeforeSubmitCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebeforesubmitcallback/llms-full.txt)
- **Next:** [Javascript: SignatureBox.name Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturebox/name-property/llms-full.txt)
