COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: CommandoCognos on 26 Mar 2013 09:42:01 AM

Title: Disable Date Prompt Picker
Post by: CommandoCognos on 26 Mar 2013 09:42:01 AM
Hi,

I'm using two optional date prompts in a prompt page which means that it is possible for the user to uncheck the date prompts in order to grey out/disable the prompts. Now I have the requirement to disable the prompts as default. The only way of accessing the objects is javascript I guess. I found the following function to set a value but I intend to disable the whole prompt. Maybe you know the code to access the checkboxes next to the date prompt!?

pickerControl<name>.setValue('1999-01-01');

Do you have an idea to manipulate the date prompt?

Cognos version: 8.4.1

Thanks and best regards,
Timm
Title: Re: Disable Date Prompt Picker
Post by: wyconian on 09 Apr 2013 03:41:53 AM
Hi

I can't help you with the Javascript but if you want to hide the prompts have you looked at render variables?