Novell is now a part of Micro Focus

Customize iChain Login Page Error Messages

Novell Cool Solutions: Tip
By Gary Gilbert

Digg This - Slashdot This

Posted: 24 Nov 2004


How to customize iChain Login Page error messages.


Using Javascript, you can intercept the default iChain error messages and override with your own message.


<!-- Add the following javascript code to the top of the caloglfn.htm page. -->

<script language="JavaScript">

//This will be parsed out by iChain
//and replaced with the login message
	var ichainMessage = "ERROR_STATUS";

	function checkIChainMessage(ichainMessage) {
		if (ichainMessage == "Login failed. Please try again.") {
document.getElementById("promptMsg").innerHTML = "<strong>*Your Error Message*</strong>";

<!-- Setup the promptMsg and javascript call. -->

<p id="promptMsg">Please Enter your User ID and Password.</p>

<form name="form_data" ACTION="auth-up" METHOD="POST">
<INPUT TYPE="hidden" NAME="proxypath" VALUE="<PROXY_PATH>">
submit a tip

Here's a chance to share your experiences using iChain. Just send us a tip about using (or installing, deploying, troubleshooting, etc.) iChain, and if it looks like something we can use, we'll send you a Novell t-shirt, post your tip, and make you famous beyond your tamest dreams. Submit your tip here:

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates