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

Value prompt auto submit using javascript

Started by cognos_developer, 19 Jul 2011 07:30:55 AM

Previous topic - Next topic

cognos_developer

Hello Friends,

I have a Report with 2 value prompt 1.Start Period 2.End Period
My requirement is to make 1st value in start period as default selection , I am doing that using javascript. End period prompt is dependent upon(cascaded prompt) .
When start period prompt selects 1st value by default End period should have corresponding value but it is no showing any value . I did auto submit for Start prompt as yes but that is not working.
If any one has any suggestion that will be very helpful.
Thanks

Arsenal

hardly a JS expert here but sounds like you may have missed putting in code to do a page refresh once the JS sets the default value on the start prompt. Something like SetPromptControl('reprompt') towards the end of your JS that sets the default value might work