COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: Lavanya on 16 Dec 2005 05:24:01 AM

Title: Validations for HTML items
Post by: Lavanya on 16 Dec 2005 05:24:01 AM
Can we add validations to the HTML items in reportnet?
Title: Re: Validations for HTML items
Post by: BIsrik on 16 Dec 2005 05:28:29 AM
could u plz tell us more about ur requirement

Srik
Title: Re: Validations for HTML items
Post by: Lavanya on 16 Dec 2005 05:46:42 AM
Say for example I have a date range prompt in my report. The user selects the date range and clicks on finish. On clicking this button a validation shuold happen like if FROM date is ahead of TO date an error message has to be thrown . Is it possible?
Title: Re: Validations for HTML items
Post by: BIsrik on 16 Dec 2005 06:07:52 AM
i am also trying to do that...still now no sucess!!!

Srik
Title: Re: Validations for HTML items
Post by: Lavanya on 16 Dec 2005 07:18:36 AM
 8)
Title: Re: Validations for HTML items
Post by: turnonthejets on 16 Dec 2005 10:59:47 AM
You could remove the Finish button and add a custom HTML item that replaces it and validates the prompt values and if it's valid submits the promptButtonFinish()
Title: Re: Validations for HTML items
Post by: BIsrik on 16 Dec 2005 11:37:54 PM
exactly trying to do the same...but i am not able to achieve that...any suggestion...

Srik
Title: Re: Validations for HTML items
Post by: sir_jeroen on 17 Dec 2005 06:32:02 AM
Use javascript: www.w3schools.com (http://www.w3schools.com) or search on google for javascript validation
Title: Re: Validations for HTML items
Post by: BIsrik on 02 Jan 2006 04:14:25 AM
check on this link...

http://support.cognos.com/supported/supportlink/15n4/hottip04.xml

Srik