javascript error when clicking Sign
Wednesday, March 24, 2021 at 01:36pmHi,
After document is loaded in Iframe, upon clicking the Sign button, I see a JS error in the console coming from the file CapsigSignatureButton.js. screen attached.
This was working previously,
any Ideas,
thx.
Reply to: javascript error when clicking Sign
Wednesday, March 24, 2021 at 01:53pmHi pchahal,
Thanks for your post! Are you seeing this error trace when draw a capture signature?
index.js:65 Uncaught (in promise) TypeError: fullscreen error
at index.js:65
at Function.t.capsig (index.js:65)
at ef (capsig.js:19)
at CapsigSignatureButton.js:93
at hooks.js:65
If that's the case, you can try to add an inline attribute allowfullscreen="true" to your iframe tag:
<iframe src="the_signing_url" width="1000px" height="900px" allowfullscreen="true"></iframe>
Please let me know if this works for you.
Duo
Reply to: javascript error when clicking Sign
Thursday, March 25, 2021 at 09:58amHi Duo,
adding the allowfullscreen, fixed the console error.
So now I have added event listners, and after signing i get these 2 events
ESL:MESSAGE:REGISTER
ESL:MESSAGE:STARTED:DOCUMENT_CONFIRM
should i also receive this event ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE?
since i want to redirect to a different page, when its done
thx
par.
Reply to: javascript error when clicking Sign
Thursday, March 25, 2021 at 10:10amHi par,
Have you clicked the "Confirm" button at the bottom of the screen? (To complete signing, you need to first click-to-sign, then confirm the signature) Also, could you share the package ID of this transcation?
Duo