How to check user is selected value in dropdown list?

Hi all,

I would like to ask how to check user is selected value in dropdown list.

E.g.

Dorpdown list value:

value 0:  - Please Select -

value 1: Male

value 2: Female

value 3: Other

I have created a validation on form submit button, I run the debug mode to check the value that user selected in UI, but the value still display 0 when I run debug even user selected value 1 - "Male".

Please advice how I can check user is selected a option on dropdown list.

Thanks

Hi Jack,

Can you share some code with screenshots, like the properties of the dropdown widget, and the action where you query the selected value? That would help of us to see what maybe is wrong.

Regards,

Daniel

Jack Wong wrote:

Hi all,

I would like to ask how to check user is selected value in dropdown list.

E.g.

Dorpdown list value:

value 0:  - Please Select -

value 1: Male

value 2: Female

value 3: Other

I have created a validation on form submit button, I run the debug mode to check the value that user selected in UI, but the value still display 0 when I run debug even user selected value 1 - "Male".

Please advice how I can check user is selected a option on dropdown list.

Thanks

Hi Jack,

Are you on traditional or reactive web app?

Please check below screen shot may it help you to understand the logic you are looking for.


Jack Wong wrote:

Hi all,

I would like to ask how to check user is selected value in dropdown list.

E.g.

Dorpdown list value:

value 0:  - Please Select -

value 1: Male

value 2: Female

value 3: Other

I have created a validation on form submit button, I run the debug mode to check the value that user selected in UI, but the value still display 0 when I run debug even user selected value 1 - "Male".

Please advice how I can check user is selected a option on dropdown list.

Thanks

Hi Jack can you upload the oml or some print of your code related to this dropdown?


Hi,

did you check this document?

Cheers