Hi Gurus,
I have a value prompt with some values in it...
My requirement is if we click on the "Select All" option ( under value prompt box)... the 'FINISH' button in page footer should be disabled.
Can any one share the Javascript for the same.
Many thanks
No idea !!!
:-)
Cognos 10.2 Prompt API??? That should do the trick...
This is a difficult requirement.
How does the Finish button become reactivated, when an option is selected? What happens if you have two selects? You'll need to loop through all of the options in all of the prompts to ensure that there are no prompts with all values selected. This can get slow.
How about removing the select all link entirely?
So if they selected everything and deselected just one or two then it would be ok to run?
If the intent is to prevent a report from running with too many things selected then perhaps create a variable in the report that uses ParamCount compared with total number of available choices. Then render a page with an error message of some sort.