COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: kiran04 on 26 May 2011 07:50:17 AM

Title: Prompt-Javascript :
Post by: kiran04 on 26 May 2011 07:50:17 AM
Hi Al,
Im facing an issue where i have two promptsi.e, the first is a dropdown list and second is check box .
The drop down has 4 values and check box has 1 value. Here the condition is I have to display the checkbox for only 1 value of the dropdown list and for the others it should not display. So,
what I have done is I took a conditional variable and used conditional block for that check box prompt. It is working fine but the issue is as it was a cascaded prompt ,.. i used autosubmit is equal to on..so for that ..the other conditions where i should not display the checkbox..there the report is running without hitting the run button..
I got a solution for this to keep a reprompt button in between the checkbox and run button .
but the user requirement doesn't permit me to do that..
so is there any way the java script can help me??
plz..respond..its really urgent..
thanks,
Kwas04.
Title: Re: Prompt-Javascript :
Post by: Ann on 26 May 2011 09:57:32 AM
try using javascript code for refreshing the page after you select values from drop down list.
Title: Re: Prompt-Javascript :
Post by: Amruta Gandhi on 27 May 2011 04:21:42 AM
I had replied it in the place where you entered this question before. You can check it there...
http://www.cognoise.com/community/index.php/topic,12284.0.html