Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Listbox's selected values to textfield

Level 3
Level 3

HI ,

The following code is populating the text field with selected item name(s) from the list box whether a single or multiple. But I want to have bound values to those item name in the text field instead. Please help. This code is working fine but only with item name returning to text field.


TextField.rawValue = "";

//loop through items in listbox

for(i = 0; i < ListBox.length; i++)


         //if item selected



                    //check if Text field value if null

                    if (TextField.isNull)


                              TextField.rawValue = ListBox.getDisplayItem(i);




                              TextField.rawValue = TextField.rawValue + " " + ListBox.getDisplayItem(i);




0 Replies