COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: knip on 27 Jun 2013 01:13:32 AM

Title: autosubmit date prompt in cognos 8.4 when displaying as edit box.
Post by: knip on 27 Jun 2013 01:13:32 AM
how to autosubmit a date prompt in cognos 8.4 when dispalying as edit box. when iam using the below html item for evry mouse click the page is getting submitted without selecting any date.


HTML item1 :
<div onmousedown=Timer()>
HTML item2:
</div>
HTML item3:

<script>
function Timer() {
t=setTimeout("autoSubmitPrompt()",300);
}

function autoSubmitPrompt() {
promptButtonFinish();
}
</script>

Please suggest the solution
Title: Re: autosubmit date prompt in cognos 8.4 when displaying as edit box.
Post by: bdbits on 27 Jun 2013 05:16:11 PM
Is the text box prompt set to required in the properties? What kind of validation do you have on it?

Personally, I don't think a timer is a good solution. I would drop a Finish button on the page and educate the users to use it.