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

Radio button inline

Started by barrysaab, 03 Jun 2013 10:51:53 AM

Previous topic - Next topic

barrysaab


Hi gurus,
I have requirement to show radio buttons inline for which i have found JavaScript but it works only up to Cognos10.1.1 and we are using Cognos10.1.4.Has anybody done this in Cognos10.1.4 ,Could you guys please share the script with me.
Thanks in Advance
Boy! Cognos getting on to me!!!

CognosPaul

Can you post the script you're currently using? I suspect it's the one I wrote, but I need to be sure.

In addition, do the following. Since I don't have access to that version of Cognos, I need to see how the checkbox group is structured. Put an HTML item before the prompt with the expression: <div id="myprompt">
put another one after the prompt with: </div><div id="text"></div><input type="button" onclick="document.getElementById('text').innerHTML = escape(document.getElementById('myprompt').innerHTML)" value="click me">

When the report runs, press the button and copy/paste here the text that is generated. That will allow me to determine how the checkbox is generated and why the script is going wrong.

barrysaab

Thanks Paul,It is indeed your script.When I was placing before the value prompt it wasn't working but any when I placed it on any other place in report page it is working fine.Thanks again.
Boy! Cognos getting on to me!!!