Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding Controls on Request Page

Status
Not open for further replies.

PeteWalburn

Programmer
Jan 13, 2004
63
GB
Hi,

I have a Request Page on which there are a few lookup reports. One of the lookups allows the user to select one or more storerooms. I have 2 other lookups for selecting a "From Bin" and "To Bin". I would like to make the request page dynamic in that, if there is only 1 storeroom selected, then show the "From Bin" and "To Bin" text boxes (Browser Scripting Controls). If there are more than 1 storerooms selected, then hide the "From Bin" and "To Bin" text boxes.

Is it possible to do this? I have done it previously with a drop-down listbox - if certain values where selected then some radio buttons were hidden, otherwise were visible. So, I think that it must be possible to do what I need.

Any ideas?

Pete
 
Is this Request page on or part of a report? Or is it a stand alone JSP/ASP type thing?
 
The request page is an Actuate report. It allows the user to select storeroom(s), from and to Bins and then Submit the request which then loads another Actuate report using the selections that the user made.

Pete
 
I've never done this but if you add some javascript to the BSC (so make a custom library with these changes) you can switch the visibility on and off in java script with the onSelect of the ListBox.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top