COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Sridhar Vuppugalla on 25 Aug 2016 08:54:23 AM

Title: select first value by default in radio button group prompt while running a rpt.
Post by: Sridhar Vuppugalla on 25 Aug 2016 08:54:23 AM
Hi,

I have a requirement to select first value in Radio Button group prompt by default. In report their is no prompt page. Radio button is at front end of report.

I have tried couple of javascripts which are not working.

I was tried with below script which is not working.

<script>
var radbut=document.getFormWarpRequest()._oLstChoicesClient;
radbut.options[0].checked=true;
</script>

Please help me to get the resolution ASAP.

Thanks
Sridhar
Title: Re: select first value by default in radio button group prompt while running a rpt.
Post by: yogeswari on 25 Aug 2016 09:00:11 AM
hi,

please try "Default selection" inproperties


thanks.