Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Signature pad

79 sites Security covered
View on drupal.org

This module provides a widget for image fields that allows users to draw images using the Signature pad JavaScript library. It supports various image formats, customizable canvas dimensions, and options for pen color and size.

Signature pad

Provides a widget for image fields to draw with the Signature pad js library.

Installation

In the form display of any entity with an image field select the "Signature pad" widget type.

The JS libraries are fetched from the jsdelivr CDN.

Using SVG for images is not well supported in Drupal so ensure your image toolkit supports it, for example Imagemagick.

Features

  • Support different image formats (save as svg, png or jpg).
  • Choose initial background color.
  • Save image raw data (lines and dots) to edit later.
  • Configure height, width or aspect ratio for the canvas.
  • Require a minimum of strokes to pass validation.
  • Enable the user to change pen color with the jscolor picker and pen size.
  • Undo button.

Similar modules

Other modules offer a different set of features and they are focused on the original purpose of the signature pad library that is obviously signatures. This modules to allow the user to have more options for drawing simple images.

Signature pad widget

  • Only supports PNG
  • Options like the pen color are set when configuring the widget instead of giving the choice to the user.
  • Depends on jQuery.
  • Images can be displayed with an image formatter and draw over them (the same can be achieved with this module but still requires to configure an image widget instead of a formatter).

Signature field

  • Use a custom field type instead of image fields from Drupal core.

Signature (Field)

  • Same as signature field

Webform

  • Only for webform elements not Drupal fields.
  • Uses an outdated version of signature pad.

Activity

Total releases
1
First release
Nov 2025
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.3 Stable Nov 30, 2025