# Signature tags and variable signer blocks Signature tags reserve places for named signing roles. A role in the template must match the role supplied when you create the signing request. Write signing tags directly in the template body. Portwood finds these positions before it expands shared snippets. Place the reusable wording beside the signing tags as shown in [Reuse terms and HTML snippets](#shared-content). **Before you start:** Choose the fields and relationships in [Choose information](#choose-data). For an orientation and the format checklist, open [Find the right merge tag](#merge-tags). #### Signatures See [§10](https://github.com/Portwood-Global-Solutions/Portwood/blob/main/UserGuide.md#10-e-signatures-v3) for the full signature feature. Tag syntax: ``` {@Signature_Buyer} v2 — typed full signature (default) {@Signature_Buyer:1:Full} v3 — role=Buyer, order=1, type=Full signature {@Signature_Buyer:1:Initials} v3 — initials {@Signature_Buyer:1:Date} v3 — auto-filled signed date {@Signature_Buyer:1:DatePick} v3 — user-chosen date {@Signature_Loan_Officer:2:Full} Role names with underscores for multi-word {@Signature_Buyer:1:Full:inline} v3 — compact in-place mark, no stamp card (tight layouts) ``` - **Role**: any string (Buyer, Seller, Witness, Loan_Officer, etc.). Underscores become spaces in the UI. - **Order**: sequence number per-role (optional, defaults to 1). Used for sequential signing and multi-placement per signer. - **Type**: `Full` | `Initials` | `Date` | `DatePick` (optional, defaults to `Full`). - **Style** (optional): add `:inline` as a final suffix (e.g. `{@Signature_Buyer:1:Full:inline}`, `{@Signature_Buyer:1:Date:inline}`) to render a **compact in-place mark** instead of the stamp card. See [§10.7.2](https://github.com/Portwood-Global-Solutions/Portwood/blob/main/UserGuide.md#1072-stamp-card-vs-inline--how-a-signature-renders). Pre-signing, tags are preserved in the output (not replaced). Post-signing, each tag position carries the signer's mark as a **stamp card** — drawn ink or typed name in a signature font, with a "Signed by X · date" caption (see §10.10). Date tags stamp the signed date as text. #### Signature loop block — `{#Signatures}` (variable signer count) Role tags above pin each signer to a **fixed spot** — perfect when you know the parties (Buyer + Seller). But when the **number of signers varies** (a quote signed by one person today, three next week), you'd otherwise need a separate template per count, and any unused role tag leaks as literal text. The `{#Signatures}` loop block solves this: author **one** signature layout and it repeats **once per signer**, for any count, wherever you place it in the document. ``` {#Signatures} ______________________________ {Name} Electronically signed on {SignedDate} {Role} · {Email} {/Signatures} ``` Per-row fields available inside the block: | Field | Value | | ------------------ | ----------------------------------------------------------------------------------------------- | | `{Name}` | The name the signer typed at signing (their e-signature); the invited name if none was captured | | `{RegisteredName}` | The name the signer was invited under | | `{Role}` | The signer's role (defaults to `Signer`) | | `{Email}` | The signer's email | | `{SignedDate}` | The date they signed (blank before signing) | | `{Status}` | `Pending` before signing, `Signed` after | **Styling is yours.** The block is plain template content, so style `{Name}` however you like — an approved custom PDF face for a handwritten look, a bordered box, a two-column table of signers, etc. (HTML templates have full CSS control within the Flying Saucer CSS 2.1 subset; Word templates can style the line too.) Notes: - For a variable number of signers, put the `{#Signatures}` block in the main template body and leave out fixed-role tags. If the template includes both, the sender uses the fixed positions and the loop can stay empty. - **Where it applies.** The loop is populated by the snapshot/PDF-viewer signing flow (the flow that re-renders the document from a send-time data snapshot and attaches the completed PDF + certificate to the record). Before signing, the block previews the invited signers with a `Pending` status; on completion it shows each signer's typed signature and signed date. - The `{#Signatures}` directory loop exposes the signer's typed name and signing details as text; it does not insert a drawn-signature image into that list. Drawn signatures remain supported through the template's guided signature placement fields. --- Related articles - [Find the right merge tag](https://portwood.dev/knowledgebase/merge-tags.md) - [Choose the information in a document](https://portwood.dev/knowledgebase/choose-data.md) - [Fix a document](https://portwood.dev/knowledgebase/fix-document.md) [Browse the article directory](https://portwood.dev/knowledgebase/)