COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Mpotla on 18 Jun 2009 08:51:10 AM

Title: javascript help for checkbox prompt in cognos 8.1
Post by: Mpotla on 18 Jun 2009 08:51:10 AM
I have a multi-select checkbox prompt. I have added a static choice (ALL) to the existing values.
When the user clicks on the 'ALL' - first item in the checkbox prompt, all other selections made should be unchecked.
Need javascript hlep to achieve this .....

i'm using congos 8.1 and i have attached the image of the checkbox prompt to have a feel of what am using in the prompt page.....

thanks in advance,
Mohan
Title: Re: javascript help for checkbox prompt in cognos 8.1
Post by: eq85 on 18 Jun 2009 04:58:45 PM
That's a non-standard (and thus not recommended) way to achieve the desired result from the UI standpoint.
Why not to use a standard "Select All" link provided there?
Or write your own to the same effect (I can show you how if you wish).
Title: Re: javascript help for checkbox prompt in cognos 8.1
Post by: Universe09 on 18 Jun 2009 11:00:12 PM
Hi eq85,

Can you please post the javascript solution you will recommend regarding in creating a select all/ deselect link in a multi select prompt? although I want to try it in 8.3

Thanks a lot!