value


valuestringRead-only

Gets the value of a signature input.

The value is one of the following:

  • An image, defined as a base64-encoded Data URL representing a PNG image of a signature. The value starts with the prefix 'data:image/png;base64,' followed by a base64-encoded string, for example: data:image/png;base64,iVBORw0KGgoAA...
  • An empty string if the signature pad is blank.

To reset the signature input value, call the clear() function.

To send a signature by email as an attachment, such as with a service like SendGrid, strip out the "data:image/png;base64," prefix from the value before attaching.

Did this help?