
Hello guys,
I have created an app with form. An application has flow and the flow creates an html file with details from form. I just used DataCardValue to get information from the form but unfortunately I have a problem with combobox. In the right panel I see that combox has datacardvalue but when I tried to use this DataCard I got a error message "Invalid argument. Expecting one of the following: Text, number etc".
Could you please tell how to get detail from the combobox?
Hello @arawo ,
With a combobox there are two way to get the value :
The first is to write :
ComboBox1.SelectedItems.Value
This one returns a Collection of all the selected items of you combobox, and as a collection It can't be bind on a text box or something like this.
The second is :
ComboBox1.Selected.Value1
This one returns the value of the last item selected in you combobox, and It can be bind on Text box.
If you limit your combobox to 1 item selection, you can use the second code to get the value.
Tell me if It's ok for you,
Henri