I would like to retrieve the selected value from a workflow 5 Listbox. Using the following where clause I receive [object object]. LANDREF LIKE UPPER('${$displayform1.state.parcelListBox.value.items}%')
0
-
In a listbox, you can select one or more items. Therefore $displayform1.state.parcelListBox.value.items is a list (an object) of the items that have been selected. Each of the items in this list are objects themselves. Therefore [object object]. The value of the first list box item the user has selected would be $displayform1.state.parcelListBox.value.items[0].value, the second selected item $displayform1.state.parcelListBox.value.items[1].value and so on. If you want the user to select just one item in the list, you could use a dropdown list instead, or build logic that prevents the user from selecting more than one value in the list box.
0
Please sign in to leave a comment.
Comments
1 comment