Field Modules

Signature ​

Signature mounts a drawing surface, keeps a hidden input synchronized, and responds to resize or page-navigation changes.

Events ​

The formie:field:signature:init Event ​

Triggered after the drawing surface and SignaturePad instance have been created.

js
let projectSignaturePad;

document.addEventListener('formie:field:signature:init', (event) => {
  // Store the SignaturePad instance for later use elsewhere on the page.
  projectSignaturePad = event.detail.signature;
});

document.querySelector('[data-clear-project-signature]')?.addEventListener('click', () => {
  // Clear the signature from outside the field's built-in button.
  projectSignaturePad?.clear();
});

The shared module lifecycle also exposes scoped events such as formie:module:signature:after-setup.

Last updated: Sep 16, 2026, 3:50 PM