COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: mrcool on 02 Jan 2008 11:48:37 PM

Title: Auto submiting prompt page
Post by: mrcool on 02 Jan 2008 11:48:37 PM
HI all...Wish u Happy NEw Year...

Here Is my REq...
I have 2 date prompts in my prompt page....from date should b 1 week b4 frm the current date and to date should b current date...
I achived this with some java script...
Now when i run the report i dnt want to click the finish button in the prompt page..page should automatically auto submitted...
I got some script for using this  setTimeout('listBoxMyPrompt.checkData()', 100);
This is working with value prompt...for some extent...
Can any1 help me with date prompts...
Any help will b highly appreciated....

Thanks in advance
Title: Re: Auto submiting prompt page
Post by: Desperado on 03 Jan 2008 12:39:30 PM
Use this

setTimeout('listBoxMyPrompt.autoSubmit()', 100);
Title: Re: Auto submiting prompt page
Post by: COGNOiSe administrator on 04 Jan 2008 12:30:57 AM
I think he just did ...