Author Topic: Can we conditionally set the usage setting of prompt in report studio?  (Read 692 times)

Offline tven77

  • Full Member
  • ***
  • Posts: 6
  • Forum Citizenship: +0/-0
Hope you can help me with my problem:

I have three prompts

The first 2 prompts are required and the third is based on the entry on the first prompt. The third prompt is also hidden/shown conditionally.

For instance, if the first prompt has a value of 'A' the third prompt will be set to being 'required' and will be displayed, otherwise it will be set to being 'optional' and hidden.

Hiding and unhiding the prompt is easy, but i got a problem setting the usage setting  of the  third prompt conditionally.

How can I do this?

Offline Gopinath

  • Community Leader
  • *****
  • Posts: 176
  • Forum Citizenship: +12/-0
this can be easily done using javascript..give a try

Offline tven77

  • Full Member
  • ***
  • Posts: 6
  • Forum Citizenship: +0/-0
Hi Gopinath,

Thanks for your reply. I forgot to mention we are not encourage to use javascripting.
Can we do it in a purely cognos way?

regards,
tven