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.
I have a maintain application with 2 fields that are dynamically populated. Is there a way once they select a value in the 1st drop down to then limit the values that appear in the 2nd field.
Example: List box 1 contains: A, B, C as choices
List box 2 contains: 1a, 2a, 3a, 1b, 2b, 3b, 1c, 2c, 3c as choices.
In list box 1 if they select "A" in list box 2 I then only want to display 1a ,2a, 3a.
ThanksThis message has been edited. Last edited by: Kerry,
The 2 solutions are javascript(on the browser) or maintain(on the server).
The maintain solution is easiest as it is just stack manipulation, but requires a return to the server and form refresh.
The javascript needs a couple of steps: onLoad create an array of contents of list box 2 on list box 1 change, remove contents of list box 2, then populate from the array if the value is a match to display.
Which method do you need to use?
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Using the CAR file, STK1 contains all the countries. STK2 contains only the cars from the selected country:
CASE TOP Reposition COUNTRY Stack clear stk1 For all next Country into STK1 Winform show form1 ENDCASE
CASE LoadBox2 Reposition COUNTRY Stack clear stk2 For all next COUNTRY CAR into STK2 where Country eq STK1().COUNTRY ENDCASE
This assumes that you use STK1.COUNTRY to populate the first list box. The syntax STK1().COUNTRY is shorthand for the selected country from the listbox.
I hope this helps - Mark
Posts: 663 | Location: New York | Registered: May 08, 2003