Skip to content

Signatures in a table

A table can have a signature column: when the form is built, every row of the table gets its own signature pad. Use it when several people sign the same form, each in their own row, for example a list of guarantors or of the members of a household, each of whom signs next to their name.

Each pad is a separate signature: it has its own field ID, signer, time and data labels, its own place in the signed PDF, and its own record in the archive. It is not one signature for the whole table.

The rows come from a list in the template’s data model, and each person signs the rows their permissions allow, usually only their own row.

  • Check with your Cellosign account team that Data model and Formular API are included in your organization’s plan. If either is missing, the Signature column setting isn’t shown, and building a form with a signature column fails.
  • The template must be an HTML template. Signature columns can’t be placed on a PDF template.
  • You need permission to use the data model in the project.
  • The forms are created by a process, with the BuildTemplateFromData service. The pads are added to each row at this step.
  1. In the data model, a list holds the signers, for example RECIPIENTS, with a name and an ID for each signer.
  2. The table’s Repeat Model is that list, so the table gets one row for each signer. The ordinary columns show values of the row, for example the signer’s name and ID.
  3. One column is marked as the Signature column.
  4. The template’s recipient is repeated for each signer (Apply repeating model on the same list).
  5. A process builds the template from the data and creates the forms from the built template. Each row of the table now has a signature pad.
  6. Each signer opens their form: the pad in their own row is active, and the other rows are read-only.

In Configuration > Data model, add an Array node for the signers, with a child node for each value you need, for example:

Id Type
RECIPIENTS Array
RECIPIENTS > NAME String
RECIPIENTS > ID Id

See Data model.

In Configuration > Workflow, turn on Apply repeating model for the recipient and select the same list in Repeater model. The recipient is repeated for each item of the list, and the recipient of each item signs the row of that item. See Workflow.

  1. Add a Table field and add its columns, including a column for the signature, for example “Signature”.
  2. On the table’s Repeater tab, select the list in Repeat Model, for example RECIPIENTS.
  3. For each ordinary column, set its Value with the formula button, for example CONCAT(#RECIPIENTS.NAME) and CONCAT(#RECIPIENTS.ID). See Repeater.

On the table’s Values & Display tab, select Signature column for one column. It can be the first, a middle or the last column.

  • A table can have one signature column. Selecting another column clears the first.
  • Signature column is shown only when the table’s Repeat Model is a list (an Array node) of the data model.
  • The width of the signature column is set automatically. Its Default value, Value formula, Prefix, Suffix, Hidden, Align and footer are not used, and the footer of the signature column stays empty.
  • If you clear Signature column, the column becomes an ordinary column again. Its signature settings are kept, and are used again if you select it again.

When a signature column is selected, the table has a Signature tab, with the settings of the pads in all the rows:

Setting What it does
Signature text The text of the button that the signer clicks to sign, for example “Sign here”.
Data labels Values embedded in each signature in the signed PDF, for example the signer’s name and ID. Select Form fields or Current-row columns: a current-row column gives each pad the value of its own row.
Capture Company Seal, Company stamp from image, Automatically apply employee signature The same options as for a Signature field. Only one of them can be on. Automatically apply employee signature is shown when personal signatures are included in your organization’s plan.
Apply underline in result PDF when field has no value Draws a line in the PDF for a pad that wasn’t signed.
Company name, Company ID, Company type For a company seal: the form fields or current-row columns that hold these values.
Background Color The background of the pads.
Error if no value entered The message shown when a required pad isn’t signed.

The signature column itself can’t be used as a data label or company value. A pad never takes a value from another row: if the current-row value is empty, the label is empty.

On the table’s Permissions tab, Workflow Permissions has two rows for a repeated recipient: recipient (All), for all the repeated recipients, and recipient (Recipient), for each repeated recipient in its own row.

To let… Select
Each signer sign only their own row, and see the other rows Edit and View on recipient (Recipient), and View on recipient (All)
Every signer sign every row Edit on recipient (All)
The agent sign the rows Agent Allowed

These are the usual field permissions: they decide for each pad who can sign it. A row that is shown but not editable for a signer is read-only, and a signer who can’t see the table sees no pads. Required applies to the pads the signer can sign: the signer can’t submit the form until they sign their own row, and the other rows are not required for them.

Click Save. Cellosign checks the signature settings and doesn’t save the template, or import it, if:

  • more than one column is marked as the signature column;
  • a data label or company value refers to a field or column that doesn’t exist, or to the signature column;
  • the table’s Repeat Model is empty, is not a list, or was removed from the data model;
  • a generated pad ID is already used by another field, or is longer than 100 characters (see Pad IDs).

You can’t delete a column or a field that the signature settings refer to. Clear or change the reference first.

  1. In a BPMN workflow, get the signers’ data, for example from the process inputs or a Script Task. The data has the list of the data model, for example:
{
"initial_groups": [
{
"id": "RECIPIENTS",
"entries": [
{"initial": [{"id": "NAME", "value": "Dana Levi"}, {"id": "ID", "value": "0000001"}]},
{"initial": [{"id": "NAME", "value": "Noa Cohen"}, {"id": "ID", "value": "0000002"}]},
{"initial": [{"id": "NAME", "value": "Avi Mizrahi"}, {"id": "ID", "value": "0000003"}]}
]
}
]
}
  1. Add a Service Task with the BuildTemplateFromData service. Select your template and the data.
  2. Create the sessions from the built template: in the session node, take the template from the service task’s Body output (the ID of the new template), not the template you designed. Sessions of the designed template itself have no pads.

With the data above, the table has three rows and three pads, and each of the three repeated recipients signs one row.

Each pad gets the ID <table ID>_pad_<n>, where n is the row number, starting from 0. For a table signers, the pads are signers_pad_0, signers_pad_1 and signers_pad_2. The number is the row’s position: it is not a recipient number or the value of the Id node.

Use these IDs to find the signatures in the archive and in webhooks. Each pad is a separate signature field, with its own signer, time and data labels. There is no signature for the table as a whole.

IDs are never shortened. If <table ID>_pad_<n> would be longer than 100 characters, shorten the table ID.

  • The pad in their own row shows the Signature text. Clicking it, or pressing Enter or Space, opens the usual signature pad. See What the client sees.
  • After signing, the signature is shown in the cell, at up to 200 × 100 pixels, without cropping or stretching.
  • The pads of the other rows are read-only: they show the signature if that row was already signed, or stay empty.
  • Screen readers announce each pad with its row, for example “Signature, Dana Levi, 0000001”, so the pads are not all announced the same.
  • On a narrow screen, the table is shown as one card per row, with the pad in the card.
  • If the table is hidden, by a condition or by its permissions, its pads are hidden too.

In the signed PDF, each signature is in the cell of its row, with its own signer, time and data labels.

  • One signature column per table. A template can have several tables with signature columns: each table has its own pad IDs.
  • The rows are set when the template is built and can’t be changed in the form. Replacing or reordering the rows of the table in an open form, for example with a connector, is not supported, and signatures are not moved to new rows.
  • The signature column has no Display signature confirmation at the bottom of this page at the PDF file option. Template options such as Clone graphic signature for approval and Add browser timestamp to signature field work as for other signatures.
  • Clicking a pad doesn’t run the table’s row-click connector (see Run a connector when the client clicks a row).
  • Templates without a signature column work as before.