How to get value from Form Activity Dropdown

Hi, I have a dropdown in the form. How do I retrieve the Key and Value from the dropdown after the user submit the form? I’m passing a dictionary to the form.

Hi @Seungwan

As far as I know, No matter how you pass options to your dropdown, you can create an output argument in FormFieldsCollection, and let it’s name is same to your dropdown’s property name, then you can get the value selected by user. As for the key, maybe you can retrieve from input dictionary by value.

Hi @wusiyangjia, the only case that I’m afraid of retrieving by its value is because there might be some similar value to each of the key but I guess I have no choice. Seems like a possible way to at least retrieve the key.

Thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.