COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: mark123 on 08 Jan 2016 12:41:57 PM

Title: Need help with javascript
Post by: mark123 on 08 Jan 2016 12:41:57 PM
Hi,

I am new in writing javascripts.

I have a prompt page with  Start and End date as two prompts. If the user selects any of the two prompts greater than the current date he should get an error saying "Invalid date.  Please review and correct date." Can anyone help me with javascript.

Thanks,
Mark
Title: Re: Need help with javascript
Post by: BigChris on 11 Jan 2016 02:15:02 AM
I don't really do javascript, but this looks like this might do the job for you:

http://cognospaul.com/2015/05/24/guest-post-a-new-take-on-date-range-prompts/ (http://cognospaul.com/2015/05/24/guest-post-a-new-take-on-date-range-prompts/)
Title: Re: Need help with javascript
Post by: nag on 10 Feb 2016 01:20:20 AM
Hi folks,
My user is asking once user select company (cosco wholesale)that should display in the text box prompt.