Signature-Pad - How long is the signature?

Is it possible to determine the length/size of a signature in the SINGNATURE element?

I want to reject signatures that are too small.

The _signaturePad.length command doesn’t return a valid value…

Thanks

Try this,

const signature = {elementID}_signaturePad.toDataURL(“image/jpeg”,0.6)

signature.length

0.6 is the resolution/quality. If you don’t want that, set it to 1.

Thank you. That works.