Focal Point
[SOLVED] Input selection as a dropdown in fex (not in html)

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

October 21, 2019, 11:32 AM
I_am_groot
[SOLVED] Input selection as a dropdown in fex (not in html)
Hi I am trying to get user input to be used as the 'BY' field.

The following code allows me to do so. But, the input selection appears as a 'text box' in the dynamic prompt.

I want the options listed in a dropdown list box.

How do I change the SET input field to prompt as a listbox or a radio button, etc.. ?

-SET &BY1 = DECODE &USER_SELECTION ('COUNTRY' 'COUNTRY' 'CAR' 'CAR' ELSE 'MODEL');

TABLE FILE CAR
PRINT SALES
DEALER_COST
BY &BY1
END

Thanks

This message has been edited. Last edited by: FP Mod Chuck,
October 21, 2019, 12:07 PM
BabakNYC
 
-DEFAULT &BY1 ='MODEL';

TABLE FILE CAR
PRINT SALES
DEALER_COST
BY &BY1.(<COUNTRY>,<CAR>,<MODEL>).Select one.
END 



WebFOCUS 8206, Unix, Windows
October 21, 2019, 12:57 PM
I_am_groot
Thank you @BabakNYC. It works!

This message has been edited. Last edited by: I_am_groot,