Focal Point
[CLOSED] Dropdown populated based on Radio Button selection

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

October 16, 2014, 08:38 AM
J.Biza
[CLOSED] Dropdown populated based on Radio Button selection
I am having trouble getting values in my dropdown menu based on a radio button selection. The values in the dropdown menu are not based on any other .fex or .mas. I just want a user to select a radio button and have the dropdown menu to populate based on the radio button selection. I've seen ideas based on the chaining command, but can't seem to figure it out. Is this the route to go? Any help is appreciated.

Thank you.

This message has been edited. Last edited by: J.Biza,


WebFOCUS 7703
October 16, 2014, 09:14 AM
MartinY
If you want a dropdown values list based on a selection made from a radio button (meaning value list change according to radio selection), as far as I know you will need to have your dropdown based on a fex or master file where a filter will be applied according to the selection.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
October 16, 2014, 03:26 PM
Rifaz


 function radio1_onclick(ctrl) {
 var arr = [];
   arr.push('Value2');
   IbComposer_setCurrentSelection('listbox1', arr, false);

}

function radio2_onclick(ctrl) {
 var arr = [];
   arr.push('Value3');
   IbComposer_setCurrentSelection('listbox1', arr, false);
} 


check this API's are support in your version else you might need to use Javascript


-Rifaz

WebFOCUS 7.7.x and 8.x
October 23, 2014, 08:40 AM
J.Biza
I am not good with javascript so I created my own data set and imported it from Excel then used the chaining function to create my dynamic list.


WebFOCUS 7703