onChange( )


Adds an event handler that runs when a signature input element's value is changed by a site visitor.

A signature input element receives a change event when a site visitor changes its value.

A change event is not triggered when:

  • You, the site owner, change an element's value using the clear() function.
  • The signature input field is empty, and the site visitor clears the signature.
Method Declaration
Copy
Method Parameters
handlerfunctionRequired

handler(event: Event): void The name of the function to run when the signature input element's value changes.

Returns
Return Type:SignatureInput
Was this helpful?
Yes
No