COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: dssd on 04 Sep 2011 11:33:41 AM

Title: Javascript
Post by: dssd on 04 Sep 2011 11:33:41 AM
Could anyone share javascript to access one prompt and populate another prompt with the corresponding value. I have 2 value prompts. User would select one prompt value. Second prompt should get populated with the value that is at the same index number as in the first prompt
Title: Re: Javascript
Post by: rhythmz on 06 Sep 2011 11:26:23 AM
It really sounds like you are venturing into cascading prompts where the first prompt selection dictates what will appear in the second prompt. FOr instance, the first prompt might ask the user to select a region which would trigger the second prompt to display all the stores in the region selcted in the first prompt. If this is correct in what you want to do, you will find this functionality in the properties pane of the second prompt asking you to indicate the cascading source which would be the source for the first prompt.

Make sense? Am I on the right track answering your question?