iframe - event notification
Wednesday, September 27, 2023 at 12:49pmFirst, my apologies if this is the incorrect forum group for this topic. Happy to move it to a different forum if there is a better one.
I am looking for documentation on all the type of events that would be sent to the DOM from an iframed signing ceremony. Specifically we are wondering about an event that would help us trigger the closing of an iframe upon completion of the signing.
Reference: https://www.onespan.com/blog/onespan-sign-developer-session-expiry-iframe
Reply to: iframe - event notification
Wednesday, September 27, 2023 at 02:44pmHi Peter,
It's very nice to hear from you! I moved the topic under the general questions section and it might take some time to propagate the update.
The Using JavaScript Event Notifiers guide lists all the available events. In particular, below two events might interest you:
ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE
ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE_REVIEWED
What's different is SIGNER_COMPLETE will only triggered once upon user finished signing, and SIGNER_COMPLETE_REVIEWED can be triggered multiple times whenever signer clicked "FINISH" button and the page was redirected to the thank you page.
Duo
Reply to: iframe - event notification
Thursday, September 28, 2023 at 06:40amVery helpful as always. One question, we are using signing ceremonies with multiple forms. What event can we listen for that indicates the user is 100% done signing all forms so that we do not close the iframe too early?
Reply to: iframe - event notification
Thursday, September 28, 2023 at 08:32amHi Peter,
Generally speaking, SIGNER_COMPLETE will do the work. But one exceptional scenario is, for example, when you have 4 documents with signatures and the fifth document is reviewed-only, SIGNER_COMPLETE will be triggered as long as signer completed the first 4 documents, which might cause "close the iframe too early" without having signer to review the fifth document.
Duo