If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Optional Date Prompt -- Uncheck Checkbox?

Started by cfunkho, 20 Aug 2012 01:28:06 PM

Previous topic - Next topic

cfunkho

In Cognos 10 Report Studio, I have a date prompt for a date filter that is optional.  When Cognos generates the date prompt, it automatically has a checked checkbox beside it, which a user has to uncheck if they don't wish to pick a date.  My question is, is there a way have that checkbox automatically unchecked?  I'd like the user in this case to have to make a choice to check the checkbox and use the date prompt when they want to, rather than forcing them to uncheck the checkbox when they don't want to use the date prompt.

Thanks,
Chris Funkhouser

tjohnson3050

You can create a prompt that conditionally shows a hidden date prompt.  The first prompt would be a value prompt with a single static value ('Select a Date Filter') set to auto submit.  A variable would need to be created based on the parameter from the first prompt.  That variable would conditionally render a block containing a date prompt that only shows after the user selects the first prompt.

cfunkho

Thanks!  That worked, and was a fairly straightforward solution!

Chris

mrcool

You can also change the Select UI option to Editbox which knock out the checkbox completly.

-MC