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

javascript to hide prompt name and line below ina value prompt?

Started by hrk551, 12 Jul 2009 10:33:42 PM

Previous topic - Next topic

hrk551

 Is there any java script to hide Prompt name and the doted line below that in a value prompt. These should not appear back even if they are re-prompted.

I am using 8.3.

Thank you


sunilkcrn

Hi Gopinath,

I am using Cognos 8.4, Can u suggest me how to hide Prompt name and the doted line below in a value prompt

Thanks inadvance


Gopinath

Hi Sunil,

Try the following script

<script>
getFormWarpRequest()._oLstChoicesPrompt_Name.remove(0);
getFormWarpRequest()._oLstChoicesPrompt_Name.remove(0);

</script>

hrk551

Hi Gopinath,

Code which you gave is working fine for the first time but if we reprompt , i can still see those two lines again.

Ex: Wehen I run that report first I can see first month name (June2009) first, and after that if I select
May2009 and click Finish Button then I could see the prompt name (MONTH),and the dotted line again.

I think this is the same problem I had with your previous link and got busy with other stuff and I re-posted.

Thank you


Gopinath

Hi,

It works fine for me in 8.3. Where did you place the HTML item? place it next to your value prompt and try once.

hrk551

Yes, I placed it next to the value prompt and also changed the name of the prompt and given the same name to prompt.