Hi All,
I'm having two value prompts in the report page as well as in the prompt page. The issue is , they are cascaded prompts and they are working fine in prompt page but in the report page, when the first prompt is selected , it is directly running the report without selecting the second prompt.
note:
the two value prompts here are --required
the autosubmit is kept 'yes' for the first prompt in both the pages.
please , reply me with your suggestions to resolve this issue.
Hi,
Do you see any prompt value selected in the second prompt in the report page. That may be the issue here.
HTH
The second prompt is taking values from the first, after the the first prompt is being selected and it runs the report without hitting the finish button.
I thought , in the report page as it is a cascaded prompt, the page is refreshing after the first prompt is selected and then it's selecting the second one and running the report.
so, any thoughts on this issue ..or I need to javascript to use for this one.
thanks,
kwas04.
The issue is that 'submit' is submitting the page, which is both populating the second prompt and also the report object on the page. I don't see what you can do to change this, other than to move the prompts onto a prompt page.
MF.
Hi MFGF,
Yes, i think you are correct but the requirement is that we need to have those prompts in the report page. In there any way, we can do it or if any java script can help me.
Thanks,
KWAS04.
I think NimrodA's idea (http://www.cognoise.com/community/index.php/topic,13441.msg42499.html#msg42499) should help you.
I resolved my problem. I used a conditional variable to see if the second prompt is null or not. so , if the first prompt is selected then it is autosubmiting to second prompt and running the report..Now it will check that if second prompt has selected a value or not. If it is selected , the report will run otherwise not. In short im hiding the report output when the second prompt is not selected. This solved my problem.
thanks,
KWAS04.
KWAS04-- Good work around 8)
Good one! :)