Show / hide button based on dropdown

jpurlings 08 Dec, 2016
Hi,

I want to show / hide a button based on the content of a dynamic dropdown. I have set the empty option to 'Select'. In the event I check against the empty option. If it equals 'Select' the button should be hidden, else it should be shown. But it doesn't work. What am I doing wrong?

Greetings.
GreyHead 08 Dec, 2016
Answer
Hi jpurlings,

An option has two 'parts': the value and the text. For your empty option the value is '' and the text is 'Select' - it is the value that you need to use in the show/hide settings. For the empty value leave that box empty.

Bob
jpurlings 08 Dec, 2016
Ahh,

Great, that's logical. It works now. Thank you!

Greetings.
This topic is locked and no more replies can be posted.