Focal Point
[CLOSED] populate dropdown dynamically

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3187091436

October 18, 2013, 10:36 AM
Kamesh
[CLOSED] populate dropdown dynamically
I would like to populate the dropdown based on the previous value selected.

Example:

Dropdown1 - just the names (COUNTRY, CAR, MODEL)

Dropdown2 - Will have the values based on selection. If you select COUNTRY then I want to show all COUNTRY.

The CAR value should populate all the CAR's.

But the MODEL value should populate only for the selected CAR.

any ideas or suggestions.

Thanks in advance,

This message has been edited. Last edited by: <Kathryn Henning>,


WFConsultant

WF 8105M on Win7/Tomcat
October 18, 2013, 11:01 AM
MattC
One way to do this would be to have it table driven. Create a table with two columns column 1 would have COUNTRY and column 2 would have ENGLAND in the same row. You could either hard code or populate the first dropdown with the first column, then do the same for the second column and then chain them together in in HTML Composer. You have to build the relation for chaining to work.


WebFOCUS 8.1.05
October 18, 2013, 12:32 PM
Doug
Yep, "CHAINING" (Cascading) is the key. You just need the source to be relative.
October 18, 2013, 12:48 PM
Kamesh
I want to have only 2 dropdowns.

Already I am doing chaining. That is working well.

The issue for me is, when you pick MODEL it has to populate either ALL Models or the selected CAR.


WFConsultant

WF 8105M on Win7/Tomcat