Show / hide button based on dropdown

Show or hide a button based on a dropdown selection.

Overview

The issue occurs when checking against the dropdown's displayed text instead of its underlying value.
In the show/hide settings, use the empty value field for the 'Select' option and the actual value for other options to control the button's visibility.

Answered
jp 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.
Gr 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
jp 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.