Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SignaturePad not defined - Signature Functionality in Oracle JET

Getting an error SignaturePad not defined while invoking the signature functionality.
These are the below steps i followed.
Installed Signature Pad Library using npm install --save signature_pad
Created lib folder in src/js/lib and paste the signature_pad.js and signature_pad.min.js files
Specified the path in the path_mapping.json and main.js(requirejs.config and require[])
var wrapper1 = document.getElementById("signaturepad1"),
canvas = wrapper1.querySelector("canvas");
signaturePad1 = new SignaturePad(canvas);
<div id="signaturepad1" >
<div>
<canvas></canvas>
</div> </div>

Could you please help me on it.

Comments
Post Details
Added on Dec 8 2020
1 comment
997 views