COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: sheela.vikramkumar on 15 Apr 2013 06:25:31 AM

Title: how to hide the prompt name and line under that in value prompt in cognos 8.4
Post by: sheela.vikramkumar on 15 Apr 2013 06:25:31 AM
how to hide the prompt name and line under that in value prompt in cognos 8.4
Title: Re: how to hide the prompt name and line under that in value prompt in cognos 8.4
Post by: sheela.vikramkumar on 15 Apr 2013 11:41:05 AM
I Got it at last .. Might help some one ... Please use the Script below


Drag a HTML Item beside your value prompt and then write the below script in it..

<script>
var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() : document.forms["formWarpRequest"]);

fW._oLstChoicesPROPMT_NAME.remove(0);
fW._oLstChoicesPROPMT_NAME.remove(0);
fW._oLstChoicesPROPMT_NAME.selectedIndex = 0;
</script>


+++++REPLACE PROPMT_NAME WITH YOUR ACTUAL PROMPT  NAME.