Skip to Content

How to show multiple selections in a text box in design studio

Dear Gurus,

I would like to show multiple selected values from my list box selection in design studio in a text box.

For this, I am using the following script to bring it in text box


Any suggestions?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 11, 2017 at 12:21 PM


    Please refer the below URL,


    1. Set Multiple selection set true in List Box property.

    2. Copy and paste below code in Onselect Event of list box.

    var arr = LISTBOX_1.getSelectedTexts();
    var str ="";
    arr.forEach(function(element, index) {
    str = str+ element +";";

    3. We have four script functions for ListBox. Either single selection, you can use getSelectedText or getSelectedValue. For Multiple selection, you can use getSelectedValues or getSelectedTexts.

    4. Display the Multiple values in the TextBox using comma or semicolon separator.



    Add comment
    10|10000 characters needed characters exceeded