# Electronic Signatures: Sequentially Sign Documents with Multiple Signers

> The Text Control DocumentViewer is designed to sign documents by multiple users. This article explains how to setup and deploy documents for multiple signers.

- **Author:** Bjoern Meyer
- **Published:** 2021-08-26
- **Modified:** 2026-07-17
- **Description:** The Text Control DocumentViewer is designed to sign documents by multiple users. This article explains how to setup and deploy documents for multiple signers.
- **3 min read** (587 words)
- **Tags:**
  - Angular
  - ASP.NET
  - Electronic Signature
- **Web URL:** https://www.textcontrol.com/blog/2021/08/26/sequentially-sign-documents-with-multiple-signers/
- **LLMs URL:** https://www.textcontrol.com/blog/2021/08/26/sequentially-sign-documents-with-multiple-signers/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2021/08/26/sequentially-sign-documents-with-multiple-signers/llms-full.txt

---

The Text Control DocumentViewer is designed to sign documents by multiple users. This article explains how to setup documents for multiple signers and gives an overview of the document deployment strategy.

### Designing the Template

Using the DocumentEditor, you will need to add as many signature boxes to the document as required. In our sample, we create two different signature boxes for two different signers. A signature box is a TextFrame element that can be positioned anywhere in the document. In the following sample template, the text frames are inserted inline with text into table cells:

![Designing the template](https://s1-www.textcontrol.com/assets/dist/blog/2021/08/26/a/assets/signatureboxes.webp "Designing the template")

These two text frames receive unique names:

- txsign\_signerA
- txsign\_signerB

Technically, you can use any name for those signature boxes as you provide the name of the box to be signed when initializing the DocumentViewer. It is helpful to create your own logic to have a consistent naming.

### Deploying the Document

The document should be stored in the internal Text Control format to keep all elements for the signature process. At the very end, the final document gets digitally signed and sealed. The following illustration shows the sequential signature process:

![Sequential Signature Process](https://s1-www.textcontrol.com/assets/dist/blog/2021/08/26/a/assets/process.webp "Sequential Signature Process")Sequential Signature Process

First, the document is deployed to signer A to be signed. The DocumentViewer is initialized with the signature box name *txsign\_signerA*:

```
@Html.TXTextControl().DocumentViewer(settings =>
{
    settings.DocumentPath = "~/App_Data/Documents/template.tx";
    settings.SignatureSettings = new SignatureSettings()
    {
        ShowSignatureBar = true,
        OwnerName = "Paul Paulsen",
        SignerName = "Signer A",
        SignerInitials = "AA",
        SignatureBoxName = "txsign_signerA",
        UniqueId = "123123123",
    };
}).Render()
```

![Signing the Document](https://s1-www.textcontrol.com/assets/dist/blog/2021/08/26/a/assets/signera.webp "Signing the Document")

In your JavaScript, a callback needs to be connected to the signing process using *setSubmitCallback*:

```
TXDocumentViewer.setSubmitCallback(saveSignedDocument);

function saveSignedDocument(e) {

    var serviceURL = "@Url.Action("SaveSignedDocument", "TX")";

    // send document to controller
    $.ajax({
        type: "POST",
        url: serviceURL,
        data: {
            document: e.document
        },
        success: successFunc,
        error: errorFunc
    });
    
    function successFunc(data, status) {
      alert("Thanks");
    }

    function errorFunc(data, status) {
      console.log(data);
    }
}
```

The DocumentViewer will send the signed document in the internal TX Text Control format to your callback. In our demo code, this document will be sent to a controller method *SaveSignedDocument*. This controller method should take the results of the signing process in order to send the signed document to the second signer.

![Signing the Document](https://s1-www.textcontrol.com/assets/dist/blog/2021/08/26/a/assets/signerb.webp "Signing the Document")

After the second signature, the completely signed document will be sent back to the server to create the final PDF document. The following code takes the fully signed document in the internal TX Text Control format and creates a PDF/A with a digital signature:

```
[HttpPost]
public string ExportPDF(string document)
{
    byte[] bPDF;

    // create temporary ServerTextControl
    using (TXTextControl.ServerTextControl tx = new TXTextControl.ServerTextControl())
    {
        tx.Create();

        // load the document
        tx.Load(Convert.FromBase64String(document),
                TXTextControl.BinaryStreamType.InternalUnicodeFormat);

        X509Certificate2 cert = new X509Certificate2(
            Server.MapPath("~/App_Data/textcontrolself.cer"));

        TXTextControl.SaveSettings saveSettings = new TXTextControl.SaveSettings()
        {
            CreatorApplication = "TX Text Control Sample Application",
            DigitalSignature = new TXTextControl.DigitalSignature(cert, null)
        };

        // save the document as PDF
        tx.Save(out bPDF, TXTextControl.BinaryStreamType.AdobePDFA, saveSettings);
    }

    // return as Base64 encoded string
    return Convert.ToBase64String(bPDF);
}
```

The final signed document contains both electronic signatures and is digitally signed and sealed:

![Signing the Document](https://s1-www.textcontrol.com/assets/dist/blog/2021/08/26/a/assets/final.webp "Signing the Document")

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [What is the Difference between Electronic and Digital Signatures?](https://www.textcontrol.com/blog/2022/10/20/what-is-the-difference-between-electronic-and-digital-signatures/llms.txt)
- [Document Viewer: Uploading Signatures](https://www.textcontrol.com/blog/2022/02/24/document-viewer-uploading-signatures/llms.txt)
- [Electronic Signatures: Document Audit Trails](https://www.textcontrol.com/blog/2021/10/14/electronic-signatures-document-audit-trails/llms.txt)
- [Combine Form Fields, Merge Fields and Signature Boxes to Request Signatures](https://www.textcontrol.com/blog/2021/10/12/combine-form-fields-merge-fields-and-signature-boxes-to-request-signatures/llms.txt)
- [eSign Demo: Requesting Signatures from Multiple Signers](https://www.textcontrol.com/blog/2021/10/07/esign-demo-requesting-signatures-from-multiple-signers/llms.txt)
- [Text Control eSign Demo: Automate Agreement Preparation](https://www.textcontrol.com/blog/2021/09/14/text-control-esign-demo-automate-agreement-preparation/llms.txt)
- [Digital Document Transformation: Automated E-Invoicing in C#](https://www.textcontrol.com/blog/2021/08/25/digital-document-transformation-automated-e-invoicing-in-csharp/llms.txt)
- [Creation of Custom Electronic Signature Boxes](https://www.textcontrol.com/blog/2021/06/15/creation-of-custom-electronic-signature-boxes/llms.txt)
- [E-Sign Comes to Blazor: Document Viewer 33.0.1 Released](https://www.textcontrol.com/blog/2025/04/24/e-sign-comes-to-blazor-document-viewer-33-0-1-released/llms.txt)
- [Adoption of Electronic vs. Paper Signatures in 2025](https://www.textcontrol.com/blog/2025/04/15/adoption-of-electronic-vs-paper-signatures-in-2025/llms.txt)
- [Building an ASP.NET Core Backend (Linux and Windows) for the Document Editor and Viewer](https://www.textcontrol.com/blog/2025/03/26/building-an-asp-net-core-backend-for-the-document-editor-and-viewer/llms.txt)
- [Impressions from .NET Developer Conference DDC 2024](https://www.textcontrol.com/blog/2024/11/28/impressions-from-net-developer-conference-ddc-2024/llms.txt)
- [Back from Florida: Impressions from VSLive! Orlando 2024](https://www.textcontrol.com/blog/2024/11/21/back-from-florida-impressions-from-vslive-orlando-2024/llms.txt)
- [Implementing a Security Middleware for Angular Document Editor Applications in C#](https://www.textcontrol.com/blog/2024/10/14/implementing-a-security-middleware-for-angular-document-editor-applications/llms.txt)
- [Meet Text Control at DDC .NET Developer Conference 2024](https://www.textcontrol.com/blog/2024/10/07/meet-text-control-at-ddc-net-developer-conference-2024/llms.txt)
- [Visit Text Control at VSLive! in Orlando, Florida](https://www.textcontrol.com/blog/2024/10/01/visit-tx-text-control-at-vslive-in-orlando-florida/llms.txt)
- [Creating Advanced Tables in PDF and DOCX Documents with C#](https://www.textcontrol.com/blog/2024/09/30/creating-advanced-tables-in-pdf-and-docx-documents-with-csharp/llms.txt)
- [Back in the Pocono Mountains: Meet Text Control at TechBash 2024](https://www.textcontrol.com/blog/2024/09/24/back-in-the-pocono-mountains-meet-text-control-at-techbash-2024/llms.txt)
- [Back from Copenhagen Developers Festival 2024](https://www.textcontrol.com/blog/2024/09/05/back-from-copenhagen-developers-festival-2024/llms.txt)
- [Using the Document Editor in SPA Applications using the removeFromDom Method](https://www.textcontrol.com/blog/2024/09/02/using-the-document-editor-in-spa-applications-using-the-removefromdom-method/llms.txt)
- [Video Tutorial: Creating a MailMerge Template and JSON Data Structure](https://www.textcontrol.com/blog/2024/08/16/video-tutorial-creating-a-mailmerge-template-and-json-data-structure/llms.txt)
- [Sign Documents with a Self-Signed Digital ID From Adobe Acrobat Reader in .NET C#](https://www.textcontrol.com/blog/2024/08/12/sign-documents-with-a-self-signed-digital-id-from-adobe-acrobat-reader-in-net-c-sharp/llms.txt)
- [Observe When the Reporting Preview Tab is Active Using MutationObserver](https://www.textcontrol.com/blog/2024/07/23/observe-when-the-reporting-preview-tab-is-active-using-mutationobserver/llms.txt)
- [How to Sign Signature Fields with Custom Signer Information and Time Stamps in ASP.NET Core C#](https://www.textcontrol.com/blog/2024/06/21/how-to-sign-signature-fields-with-custom-signer-information-and-time-stamps-in-asp-net-core-c-sharp/llms.txt)
- [Mail Merge: The Pre-Shaped Data Concept Explained](https://www.textcontrol.com/blog/2024/05/30/mail-merge-the-pre-shaped-data-concept-explained/llms.txt)
