Expand my Community achievements bar.

need help to change format of list box

Avatar

Level 1

I am very new to LIve Cycle Designer and I am trying to create a list box where users can select multiple items and their selections will show up not in a horizontal list form, but as a vertical running list like a sentence with commas separating the list of items selected.  Anyone know how to do this?

3 Replies

Avatar

Former Community Member

If you get the rawValue of the List then it will come separated by newlines. I simply assigned the value of the DDList into a multiline TextField and each selection was on its own line. I added this code to the exit event of the DDList

TextField1.rawValue = DDList.rawValue

Paul

Avatar

Level 3

As best I can tell there is no option to have a list/dropdown accept multiple selections by default.

One way to accomplish your goal would be to capture each selection using a validate or exit event script, then populating another text field or multiple text fields with the list of selections delimited by commas.

Avatar

Former Community Member

A listbox allows multi-selections (there is a checkbox to enable this in the object palette).

paul