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

Check box Group Prompt Control is not recognized?

Started by PRIT AMRIT, 02 Mar 2011 02:37:48 AM

Previous topic - Next topic

PRIT AMRIT

Hi,

I have a Value Prompt with below property,

Multi Select: YES
Prompt UI: Check box group
Name:prompt1


<script language="javascript">
function validate()
{
var f = getFormWarpRequest();
var list = f._oLstChoicesprompt1;
alert(list.value);
}
</script>


Finsh Button:
<button style="background-color:#F0F0F0;height:21px;width:70px;font-weight:bold" class="clsPromptButton" onClick="validate(); " >Finish </button>

The problem is, the JS is not recognizing the Prompt Control. But when i change the Value Prompt property to Multi Select: No & Prompt UI to 'Drop Down' then it works fine.

I want when you select value from the Check box and hit the 'Finish' button, it should pop up the value selected.

Any idea?

Thanks
Prit