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
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.