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");
"CHOICE" btw is the name of the Value Prompt.
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.