Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Launch pg-Dynamc populating of a drop down bx based on the value input in a text box.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Launch pg-Dynamc populating of a drop down bx based on the value input in a text box.
 Login/Join
 
Member
posted
In developers studio, my launch page is to run a report based on the user making a selection of a sales rep shown in a drop-down box. But the list of values(sales reps) shown in the drop-down box depends on a social security # (SSN) that is input into a text box on the launch page. Can I chain the text box to the drop-down box or is there some dynamic way (using a procedure) to generate the drop-down list from what is input to the text box? Maybe someone has a way using javascript to do this.

This message has been edited. Last edited by: joe d,


WebFOCUS 7.1.3
Windows
Output: Excel
 
Posts: 6 | Location: Cliffside Park, NJ | Registered: October 01, 2007Report This Post
Virtuoso
posted Hide Post
Here


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
I tried your code as is. Upon loading the html, the filter works well. But when I input another couple of integers in the text box and click the filter button, the drop-down box becomes blanked out. Should I change something in the html or javascript so that the drop-down box becomes populated not just at loading?


WebFOCUS 7.1.3
Windows
Output: Excel
 
Posts: 6 | Location: Cliffside Park, NJ | Registered: October 01, 2007Report This Post
Virtuoso
posted Hide Post
If you add a character or two and the dd box becomes empty, that implies that the query to load the dd box returned no rows. It is actually working they way you want it to. Try removing a character and clicking filter.

Please keep in mind that this is an example. Try using it as a template and put your own data into the process. It will probably make a lot more sense then.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
On load, SEARCH box contains 101, and the ORDERS appear filtered OK. Then I removed a digit from the beginning/middle/end of SEARCH box - in all cases, ORDERS dd box becomes empty. I also added digits, and tried new digits in the SEARCH box - in all cases, ORDERS dd box becomes empty. Do you know why the dd box is non-empty only upon loading?


WebFOCUS 7.1.3
Windows
Output: Excel
 
Posts: 6 | Location: Cliffside Park, NJ | Registered: October 01, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Launch pg-Dynamc populating of a drop down bx based on the value input in a text box.

Copyright © 1996-2020 Information Builders