COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: horne47789 on 20 May 2009 03:54:37 AM

Title: Using textEditBox prompts with multi values and Java script
Post by: horne47789 on 20 May 2009 03:54:37 AM
Hi everyone - I want to pull the list of values from a Cognos textEditBox prompt using Javascript.  I know I can do this for single value prompts using syntax like.....

my_param = fW._textEditBoxMyPrompt.value

But how do I do it for a multi valued text box prompt ?  My head is sore from beating it off this wall  :(  I need my report to accept multiple values for a parameter and then to pass them on in a custom html link into another report.

Thanks in advance - Damian
Title: Re: Using textEditBox prompts with multi values and Java script
Post by: dumbell on 21 May 2009 11:44:48 AM
Hello,

Which version of Report Studio are you working on?

If it is earlier than 8.3, your syntax works.But no guarantee.
If its 8.3 or 8.4, javascript works thru dynamic naming.
Dynamic naming of the prompt is safe.

Lookup my post for search/select prompt resize for reference. This kind of explains how to refer your textEditBox prompt and populate with values.

All the best!!

Dumbell