alkan

wanna user cant move next document without accepting

0 votes
HI All , I have default consent document and three accept only documents and last one include sign. I would like user can't move next document without accept it. (like as default consent document).As far as I know there might be only one consent document on package level. Now user can move next document via navigation button without accept it. How can I do that? Any help will be appreciated.

Reply to: wanna user cant move next document without accepting

0 votes
Hey alkan, Were you embedding the Signing Ceremony experience into an iFrame? If you were integrated, there could be a potential workaround that you can use Javascript code to interrupt/disable Navigate Button's normal activity (documented in Front-end Notifier). You can also refer to below code snippet:
 
The side effect of this workaround were, the navigate arrow won't be grey out and all navigation events were prohibited. Still, it's better that OneSpan Sign could do some product behavior changes to accommodate this request. If you want, I can help you fill in an Enhancement Request form for your requirement. Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: wanna user cant move next document without accepting

0 votes
Hi Duo , Thanks for your quick response. Unfortunately, it is not embedded in iFrame . Is there any workaround for the other?

Reply to: wanna user cant move next document without accepting

0 votes
Hey alkan, Sry for the late reply. I had a potential workaround for your scenario but it's not a recommended use case. For example, you have three accept-only documents before the genuine documents, you can set the third accept-only document as the default consent, so what would happen is: user can browse between the three accept documents but the third consent document was a blocking for the process to prevent users from moving to next documents. In most cases, users will sign the three accept-only documents in sequence and unblock the next documents, but here's a defect that if they sign the third consent document directly, they can navigate to all documents. The process to set the third document as package level consent is: (1)assign the third accept-only document as consent by below API:
PUT /api/packages/{package_id} 
{"consent":"third_document_id"} 
(2) give the second document an index of 0 (it will appear earlier than consent, because it was later set), check this guide (3) give the first document an index of 0 Please give it a test before following this path and hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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