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 the Dotted Line/parameter name in Cognos 8.4

Started by jd, 30 Apr 2010 12:46:59 PM

Previous topic - Next topic

jd

Hi,

How to remove the name of the prompt and dotted line  from value prompt?

babu babu

Select the value prompt and change that UI as radio butto group

jd

Hi,

based on requirement, value prompt should be as List box only.

using some  java script I guess we can remove the dotted line and prompt name from the prompt.

if anybody has the java script please can you provied me.

Thanks in advance.

vinu

Try below code..

<script language="javascript">
var f = getFormWarpRequest();
var list = f._oLstChoicesABCD;
list.options[0].text = '---Select Values----';
list.remove(1);
list.removeAttribute("hasLabel");
</script>

Note:ABCD is a prompt Name.

HTH,
Venu