COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: Arumugam on 31 Aug 2017 08:39:57 AM

Title: Checkbox Prompt in Cognos Analytics
Post by: Arumugam on 31 Aug 2017 08:39:57 AM
Hi ,

  We are migrating the report from Cognos 10.2.2 to Cognos 11.0.5..After migration,default checkbox prompt selection is not working which is controlled by javascript (working fine in 10.2.2).I need to select the first value in the checkbox prompt.Do anyone has javascript code for that to select the default value in checkbox?
Title: Re: Checkbox Prompt in Cognos Analytics
Post by: MFGF on 31 Aug 2017 09:25:57 AM
Quote from: Arumugam on 31 Aug 2017 08:39:57 AM
Hi ,

  We are migrating the report from Cognos 10.2.2 to Cognos 11.0.5..After migration,default checkbox prompt selection is not working which is controlled by javascript (working fine in 10.2.2).I need to select the first value in the checkbox prompt.Do anyone has javascript code for that to select the default value in checkbox?

Hi,

You haven't given any clue what your javascript code looks like? I'm not sure how you expect anyone to be able to help without knowing any details?

MF.
Title: Re: Checkbox Prompt in Cognos Analytics
Post by: Arumugam on 13 Sep 2017 02:39:53 AM
I have attached the report xml for your reference.It works fine after clicking the clear form button at the top right corner but it should work when it is opened