COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: ADCJTR on 19 Apr 2007 11:33:03 PM

Title: [RS] Validating a free text prompt
Post by: ADCJTR on 19 Apr 2007 11:33:03 PM
Good morning, afternoon and evening;

I want to validate a free text prompt to limit the chance of user error by giving an acceptable range of responses without using a drop down list. I have had a play and the only way I can do it is using a boolean variable and a conditional block on the following page. is there an easier way that I am missing?

Thanks in advance,
DJR
Title: Re: [RS] Validating a free text prompt
Post by: MFGF on 20 Apr 2007 08:46:16 AM
Hi,

Is there any reason you can't use a select & search prompt here? It would seem to be an easy mechanism to apply validation to the entered value.

Best regards,

MF (prompted by SK)
Title: Re: [RS] Validating a free text prompt
Post by: ADCJTR on 22 Apr 2007 09:43:02 PM
No reason other than picky users.   :)
I wrote some script to validate.
let me know if you want me to post.
Title: Re: [RS] Validating a free text prompt
Post by: COGNOiSe administrator on 24 Apr 2007 10:19:53 AM
How long is the list of allowed values? Is it static? Would a JavaScript solution work for you?