ALL,
I am using Cognos 10.2.2 report studio version. I have single select list box prompt. whenever user select the value from this lisbox then the prompt page should reload (reprompt function) . i dont want to use the autosubmit properties here.
Following is the code i tried. But its not working
'<script text="javascript">
var form= getFormWarpRequest();
var attached = form._oLstChoicesMyList.onClick= on_click;
if (!attached || attached == undefined) alert("onClick event was not attached.");
function on_click()
{
promptAction(''Reprompt'');
}
</script>'
Quotei dont want to use the autosubmit properties here
Why not? You sound like you're describing a cascading source which comes straight out of the box. Javascript will probably break and/or not be available in later releases...it should really be a last resort.