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

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

OptionPropertyMeaningDefault
Signed fieldssignedFieldsInternal 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 fieldslockSignedFieldsWhile the signature is valid the signed fields are read-only. Removing the signature unlocks them.on
Capture locationcaptureLocationAlso stores the geographic position, only if the browser allows it. A refusal never blocks signing.off
Pad height (px)padHeightHeight of the drawing pad, 100 to 400.160
Caption under the signaturecaptionFormatDate only (date) or Date and time (dateTime).date and time

Runtime behaviour

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