miayao

Detect the event notifier when open the form in a new window instead of iFrame

0 votes
Hi, I want to open the signer form in a new window instead of loading it in an iFrame, how am I suppose to get the activity status in the original window? Thanks!

Approved Answer

Reply to: Detect the event notifier when open the form in a new window instead of iFrame

0 votes
Hi Mia, In that case, you can use an Callback Event Notification to get your backend informed (guide here), and then use something like websocket to inform your frontend to update the status. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Detect the event notifier when open the form in a new window instead of iFrame

0 votes
Hi Mia, You'd still put the signing ceremony into a full screen sized iFrame. The assumption was the new window was opened by your window.open() function so that they are a parent-child relationship, and you can easily communicate between them. I've built two HTML pages for you, you can put them at same path of your server, and the entrance was the "button page.html". (You don't need to modify anything for a demo purpose) Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Attachments

Reply to: Detect the event notifier when open the form in a new window instead of iFrame

0 votes
Hello, Thanks for the prompt response. I would like to open it in a new page without the iFrame to avoid asking the user to enable third party cookies. I do need to capture the event when the user is done signing. So flow would be as follows - User visit site, it open new window for signature ( using OneSpan URL so no third cookies need to be enabled) - user goes to new window and follows signature flow - user click ok ( to finish signing) - Main page should get an event to notify it, that the document has been signed. - Thanks

Reply to: Detect the event notifier when open the form in a new window instead of iFrame

0 votes
Thanks for your help 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