- Download a copy of sample custom sign-in page zip file from the admin GUI and extract.
- Locate the LoginPage.thtml and add onclick="alert()" after the initial input.
- 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">
<% 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">
<% 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 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'.