Verification of dropdown option

Hi.

I'm trying to use a "SubmitOnClick" client action to verify the correct dropdown option has been chosen.

However I do know that i am req to use the expression generated from the dropdown instead of the dropdown itself.

Is there anyway to use "SubmitOnClick" Client action to verify correct dropdown selected? Or is dropdown not even a feasible function for my case?

Thank you in advance! 

Hello Xing,

The option selected will be stored in a variable. Look into the variable.

Other than that, if you are able to assess if the option is correct, unless this is a test (exam), a best practice (better UI/UX) would be to set the dropdown only with the possible options that would not fail the test.

Cheers

Eduardo Jauch wrote:

Hello Xing,

The option selected will be stored in a variable. Look into the variable.

Other than that, if you are able to assess if the option is correct, unless this is a test (exam), a best practice (better UI/UX) would be to set the dropdown only with the possible options that would not fail the test.

Cheers


Hi,

I've copied the variable from the dropdown and it still doesnt work.


It's meant to be a test... So Incorrect variables must be mixed in to ensure authenticity.