Replies: 6 comments 1 reply
-
You should be able to if you have multiple canvases. Can you tell us what you tried that didn't work? |
Beta Was this translation helpful? Give feedback.
-
Yes with the second one i could not create a signature. Do u have a simple example for two signature-pads?
From: Tony Brix
Sent: Thursday, July 7, 2022 3:41 PM
To: szimek/signature_pad
Cc: blume1984 ; Author
Subject: Re: [szimek/signature_pad] Multi pads (Discussion #632)
You should be able to if you have multiple canvases. Can you tell us what you tried that didn't work?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok maybe a little bit of code...
init is here (with a different id too: |
Beta Was this translation helpful? Give feedback.
-
@blume1984 Hi! Could you provide a minimal failing example e.g. on CodeSandbox? You can use this template as a basis: https://codesandbox.io/s/objective-browser-p4e1f |
Beta Was this translation helpful? Give feedback.
-
Hey, I was attempting to do the same thing but in a different way, I created a function that turns any div into a signature pad. |
Beta Was this translation helpful? Give feedback.
-
Hey all you gotta do is make another canvas with its own ID and then copy the initialization of the first signature-pad in the js and change the ID to that name. So basically do var signaturePad = new SignaturePad(document.getElementById('signature-pad'), { var signaturePad2 = new SignaturePad(document.getElementById('signature-pad2'), { |
Beta Was this translation helpful? Give feedback.
-
Hey,..
i want to use two or more signature field on one page, is it possible? Did not work here.
bets regards
Beta Was this translation helpful? Give feedback.
All reactions