Signature
A hand-drawn signature bound to the signer, the time and the content of the form.
About the signature widget
The user draws a signature with a mouse, finger or pen and presses Sign. Besides the image, FormCraft stores who signed (the signed-in user), when (server time, otherwise the device time) and a fingerprint of the signed fields. If any signed field changes afterwards, the signature shows as invalid. The widget is a Pro feature. Unlike other widgets it is not virtual: it is saved in a column of the item.
What the signature proves and what it does not
- It proves: that a given signed-in user signed at the given time and that the signed fields have not changed since (the form recomputes the fingerprint on every open and on every edit).
- It is not a qualified electronic signature (eIDAS) and has no legal weight of one.
- It is change detection, not cryptographic non-repudiation. A determined administrator with direct access to the list can rewrite both the content and the stored fingerprint. The protection is the form itself and the version history of the item, where such a rewrite is visible.
- Where the law requires a strong signature, use a qualified signature service (a separate FormCraft 365 integration, CSign, is planned).
Adding the widget
Place a Multiple lines of text column (plain text, not rich text) in the form, select it and in the settings switch on Use this column as a signature. Rich text columns do not offer the option. The designer warns when a signature is bound to a column of another type. You can create a suitable column with Create column (type Multiple lines of text, plain text).
Settings
| Option | Property | Meaning | Default |
|---|---|---|---|
| Signed fields | signedFields | Internal names of the fields the signature covers. Empty means all editable data fields of the form, without signatures, attachments and calculated fields. The fields must exist on the form. | all |
| Lock signed fields | lockSignedFields | While the signature is valid the signed fields are read-only. Removing the signature unlocks them. | on |
| Capture location | captureLocation | Also stores the geographic position, only if the browser allows it. A refusal never blocks signing. | off |
| Pad height (px) | padHeight | Height of the drawing pad, 100 to 400. | 160 |
| Caption under the signature | captionFormat | Date only (date) or Date and time (dateTime). | date and time |
Runtime behaviour
- Not signed: a drawing pad with Clear and Sign (enabled after drawing). A required signature is validated like other required fields.
- Signed and valid: the image and the caption “Signed by name on date” with a “Signature valid” badge. The fingerprint is recomputed on open, so it also holds for items opened later.
- Signed but invalid: the image with the warning “Signature invalid – content changed after signing” and the list of changed fields. Users who may edit can Sign again or Remove signature. With locking off the badge turns invalid live a moment after a signed field is edited; changing the value back makes it valid again.
- Display mode and printing: the image, caption and validity, without a pad or buttons.
- Several signatures (for example applicant and approver) work independently. A signature never includes other signatures in its fingerprint.
- Time: server time is read from the SharePoint response; if that is not possible the device time is used and the caption says so.
Stored data
The column holds JSON (version 1): the image (PNG, trimmed to the drawn area, at most 600 × 200 px and about 40 kB; an overly complex drawing is rejected with a message), the signer (login, name, e-mail), the time and its source, optionally the location, the names of the signed fields and the SHA-256 fingerprint. The fingerprint is computed over a canonical text of the signed field values, the signer login and the time: values are normalised (people and lookups by id and login, not by display text; dates as ISO; numbers without locale formatting), so equal content always gives the same fingerprint. Empty or invalid column content means “not signed”.
Configuration example (JSON)
{
"internalName": "ApproverSignature",
"fieldType": "signature",
"colSpan": 12,
"signatureConfig": {
"signedFields": ["Amount", "Supplier"],
"lockSignedFields": true,
"captionFormat": "dateTime"
}
}
Limits and tips
- Touch and pen input depend on the device and browser; the SharePoint mobile app may behave differently from a desktop browser. Test a signature on the devices you will use.
- In the Community edition an existing signature keeps working, but a new signature cannot be added.
- Changing the signed fields in the designer does not touch existing signatures: each signature remembers which fields it covered.