pchahal | Posts: 6

javascript error when clicking Sign

0 votes

Hi,

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.

 


Duo_Liang | Posts: 3776

Reply to: javascript error when clicking Sign

0 votes

Hi 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


pchahal | Posts: 6

Reply to: javascript error when clicking Sign

0 votes

Hi 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.


Duo_Liang | Posts: 3776

Reply to: javascript error when clicking Sign

0 votes

Hi 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


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off