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

 

how to hide the prompt name and line under that in value prompt in cognos 8.4

Started by sheela.vikramkumar, 15 Apr 2013 06:25:31 AM

Previous topic - Next topic

sheela.vikramkumar

how to hide the prompt name and line under that in value prompt in cognos 8.4

sheela.vikramkumar

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.