Reset Search
 

 

Article

KB43904 - Insert pop-up message between primary and secondary authentication.

« Go Back

Information

 
Last Modified Date10/22/2018 2:40 PM
Synopsis
This article provides information on how to add a custom alert message when the users click on 'Sign-in'.
Problem or Goal
This HTML code can be used, in case of user requirement to display a pop-up message when the users click on 'Sign-in'.
Cause
Solution
  1. Download a copy of sample custom sign-in page zip file from the admin GUI and extract.
  2. Locate the LoginPage.thtml and add onclick="alert()" after the initial input.
  3. Once the page is edited, zip only the files and upload in the appliance through admin GUI and assign to the desired sign-in page.

Default HTML Code:

 
<input id="btnSubmit_6" type="submit" value="<% signin %>" name="btnSubmit">&nbsp;
    <% IF help_on %>
    <input id="help_3" type='submit' name='help' value="<% help %>"
    onclick='window.open("welcome.cgi?p=help", "wndHelp", "height=400,width=500,resizeable=yes,scrollbars=yes"); return false;'>
    <% END %>
 

Sample HTML Code:

 
<input id="btnSubmit_6" type="submit" value="<% signin %>"  onclick="alert('Sample Text')" name="btnSubmit">&nbsp;
     <% IF help_on %>
     <input id="help_3" type='submit' name='help' value="<% help %>"
     onclick='window.open("welcome.cgi?p=help", "wndHelp", "height=400,width=500,resizeable=yes,scrollbars=yes"); return false;'>
     <% END %>
 

Result:

Accessing through Chrome Browser:

Accessing through Chrome.

Accessing through Internet Explorer:

Accessing through Internet Explorer



Note: The alert message can also be used when using through the Pulse Desktop Client by enabling the 'Use Custom Page for the Pulse Desktop Client Logon'.
Related Links
Attachment 1 
Created ByGourinath Diojode

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255