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

Turning off 'active' default on non-parameterized date prompt

Started by cyrral, 22 Apr 2013 03:53:05 PM

Previous topic - Next topic

cyrral

In Report Studio, I've created a optional(not required) date prompt in which I turned off the 'Create a parameterized filter' check box.  My goal is to have the prompt show today's date, yet not have the prompt be active unless selected by the end user.

The challenge is, when I create the non-parameterized date prompt, it defaults to a 'selected' or ' active' condition in the checkbox adjacent to the date selection box.  I am trying to find a way to make the prompt check box 'unselected' or 'inactive' unless the user clicked on the check box adjacent to the prompt.  I want the end user to have to click on the check box to activate the date prompt.

There is apparently no way to convert the default 'active' setting to 'inactive'.

I am looking for any suggestions that could flip that active/inactive switch so that the user doesn't have to turn the filter off to bypass the filter. 

Thanks for any suggestions that you can recommend.

cyrral

Oh well, if there's a way, then hopefully someone will post a solution.

In the mean time, I recreated the prompt and decided to utilize 'blanking out' the date by using another solution currently posted.  "Defaulting date prompt to BLANK:
Give the prompt a name, and add an HTML item directly after it:
<script language="javascript">
document.formWarpRequest.elements["txtDatePromptName"].value='';
</script>"

That will work just as good from the end user's standpoint.  :D