Reply
Level 10
Posts: 375
Registered: ‎08-11-2016
Accepted Solution

Checking Return Values in Build

[ Edited ]

I have created a listbox control that shows several items from a SharePoint list and allows the user to pick more than one. I want to test the return values.

 

How can I get a text box to show me what has been selected in the list box?

 

I tried this - but it's having some kind of conflict:

TextBox1 Text is set to 

ListBox1.SelectedItems.Value

 

The error says the text values are incompatible. Any help would be appreciated.

 

Thank you.

 


Accepted Solutions
Highlighted
Level 8
Posts: 68
Registered: ‎06-11-2016

Re: Checking Return Values in Build

Try with below sample inside TextBox's text property

 

Concat(ListBox1.SelectedItems.Value, Concatenate(Text(Value), ";"))

Hope this help

View solution in original post


All Replies
Highlighted
Level 8
Posts: 68
Registered: ‎06-11-2016

Re: Checking Return Values in Build

Try with below sample inside TextBox's text property

 

Concat(ListBox1.SelectedItems.Value, Concatenate(Text(Value), ";"))

Hope this help