If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Using textEditBox prompts with multi values and Java script

Started by horne47789, 20 May 2009 03:54:37 AM

Previous topic - Next topic

horne47789

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

dumbell

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