You are viewing limited content. For full access, please sign in.

Question

Question

Prompt User Acknowledgement Before Proceeding

asked on August 9, 2017

Hey There,

 We have a client that would like to have a message prompt appear when public users are accessing their Web Link Page. The idea here is that they will be prompted about Copyright material and not be able to proceed until the hit Agree in the message prompt. 

 

Does anyone have insight on how we might be able to achieve this?

0 0

Replies

replied on August 9, 2017

I think i might have figured this out. I added the following code to the Welcome.aspx file in weblink and it seems to do what we are talking about.

<script type'"text/javascript">
 if (document.cookie.replace(/(?:(?:^|.*;\s*)MessagePrompt\s*\=\s*([^;]*).*$)|^.*$/, "$1") !== "true") {
    alert("Custom Message Here. Click OK to Accept");
    document.cookie = "MessagePrompt=true; expires=Fri, 31 Dec 9999 23:59:59 GMT";
  }

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.