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

how to delete the "Deselect" under the value prompt.

Started by jd, 16 Feb 2011 12:05:06 PM

Previous topic - Next topic

jd

how to delete the "Deselect" under the value prompt.

I have avalue prompt. Required set to "no"
when I run th ereport I can see the deselct under the value prompt. I do not want to show up that thing. Is ther any way to get rid of this.

Required should be "no" only.

Arsenal

One way (though it will affect all value boxes and trees in that particular report) is:

Page Explorer>Classes
Prompt Control Hyperlink in Global classes
Set Box Type to None

kattaviz

Hi,

See below steps to remove the select all and deselect all option for value prompts.

1. Add an HTML item to the left and right of the value prompt

2. For the first HTML item (left) add '<span id = "A1">'

3. For the second HTML item (right) add '</span>'

4. Add an HTML item at the bottom of the prompt page next to "Run" button

5. Add the following script for the third HTML item:

<script>
var theSpan = document.getElementById("A1");
var a = theSpan.getElementsByTagName("A");
for( var i = a.length-1; i >= 0; i-- )
{
var link = a;
link.parentNode.removeChild(link);
}
</script>

HTH
thanks & regards
Satish Katta