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

Prompts again

Started by iulian.bobalca, 07 Sep 2007 01:17:12 AM

Previous topic - Next topic

iulian.bobalca

Hello all!

A simple question about prompts: if you have two value prompts, can you make only one of them required at runtime? I mean, the user should select a value in either one of them, but let him choose which one.

Thanks !

Suraj

If you search ittoolbox forum, there is a javascript solution posted for allowing only one of the two prompts. If one is selected, another is automatically disabled.

iulian.bobalca

From http://tinyurl.com/2axu7t I got this :

These are some expressions I have seen in the postings here.

To refer to an element with ID = UID1, use expressions like:

var xxx = document.formWarpRequest._textEditBoxUID1.value.

var list=document.getElementById("UID1");

document.getElementById("_textEditBoxUID1").style.d isplay = ?none?;

Text Box Prompt = ?_textEditBoxUID1?
List Box Prompt = ?_oLstChoicesUID1?

document.formWarpRequest._oLstChoicesUID1[0].text = 'Select Product Name';


Which one do you usually use ? Thanks.