COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Ann on 07 Jul 2011 12:56:07 AM

Title: Assign value to text box prompt in cognos 8.4
Post by: Ann on 07 Jul 2011 12:56:07 AM
Hi Guys,

Can someone help me in writing a JS code to assign a value to a textbox prompt.
My text box prompt is names as 'SortBox'
and i wanted to assign a value of 'C' to this prompt.

Any clues?

Note:I use Cognos 8.4 :)
Title: Re: Assign value to text box prompt in cognos 8.4
Post by: technomorph on 07 Jul 2011 03:33:04 AM
Not possible to use the Default Selections property?
Title: Re: Assign value to text box prompt in cognos 8.4
Post by: Ann on 08 Jul 2011 03:07:00 AM
no :( in bigger picture, the requirement is..
we have a list with two columns, if the user clicks the column title A, the the value assigned is to be 'A' and if column B then value assigned is to be 'B'