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

Search and Select Prompt

Started by gabrielkalb, 18 Sep 2012 10:48:45 AM

Previous topic - Next topic

gabrielkalb

Hello!

im using Cognos 8.4.

I have a report with a search and select prompt.

So, i need that prompt start with a default search. Like this:
In the textbox of select and search prompt start with value "1" and click on search button.

I try to to this with javascript, but dont work. What i try is:

I create the prompt between a SPAN tag, and in the end of page a put a html item with this:

<script type="text/javascript">
   var theDiv = document.getElementById("mySearchAndSelectSpan");
   var node_list = theDiv.getElementsByTagName("promptSS");
   alert(node_list.legth);
</script>


but always the legth is 0!