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

Enable/Disable Finish Button

Started by JeffRich, 22 Sep 2009 03:38:38 PM

Previous topic - Next topic

JeffRich

Hello to All,

I have a Prompt Page with two Text Box Prompts based on two parameters.  The two parameters have the Usage Property set to 'Optional', which means the FINISH button is always enabled.  I don't want my users running the report without criteria, so I'd like the FINISH button to be disabled until one of the two Text Box Prompts fields have been populated.  Anyone know how to accomplish this?

Thanks

kaevne

So you want both of the prompts to be optional, but the user has to select 1 or both, but not none?  Honestly I would just create a textnote to remind the users or some javascript to check and make sure one of them is selected.

JeffRich

Yes both are optional.  The user has the capability to select either one or the other(a higher or lower level of criteria).  Doing it this way the user could select none.  I doubt that the user would take this path, but it's a possibility.

I could place a textnote to remind them to select one or the other option, but I really felt that a background variable could be used to close this loophole.

Gopinath

Try having a custom built Finish button(using HTML code) and enable or disable it using javascript.