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

How to get the value of which radio button was selected?

Started by cognosdelaware, 20 Jul 2017 10:45:36 AM

Previous topic - Next topic

cognosdelaware

I have the following so far to try to get the value of a radio button, but need help in how do I get the value of the one currently selected?


var oCR = cognos.Report.getReport("_THIS_");
var myPrompt = oCR.prompt.getControlByName("CHOICE");

cognosdelaware


cognosdelaware

This is solved.

What I did was to create a global variable and each time the user clicks on the radio button, I set the global variable to a particular value and when I need to, I check this global variable.