If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Remove Red Dotted Line below the value prompt

Started by sg24, 13 Jan 2011 07:21:54 AM

Previous topic - Next topic

sg24

Hi,

I have a java script to remove the title and red dotted line in cognos 8.2 and above version. Below is the script.

<script language="javascript">
var firstTime;
var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() : document.forms["formWarpRequest"]);
if ( !fW || fW == undefined) { fW = ( formWarpRequest_THIS_ ? formWarpRequest_THIS_ : formWarpRequest_NS_ );}
var list = fW._oLstChoicesprompt1;
list.remove(1);
list.remove(0);
list.removeAttribute("hasLabel");
if (firstTime != 1)
{
self.setTimeout("promptAction( 'reprompt' );", 10 ); // set a timeout to ensure the page has time to load.
firstTime=1;
}
</script>

can anybody give me the script that removes the dotted line below the value prompt in Cognos 8 version??

Please let me know.

Thanks,
Sg