Visibility Field based on fieldNames value

I need an Inputs Visibility be based on a fieldNames value, not on the fieldName itself.
For example I have two Lists:
Serverart: which contains two values: Database and Standardserver
Select Software: which contains different DB types

Now I only need to display the second List “Select Software”, if the Value of the first one = Database. Right now the Visibility Field triggers if the fieldName is set and therefore doesn’t evaluate the fieldNames value. In practis I have a more complex structure with translation script in the second list. But in some cases, I dont need the second list at all and want to hide it instead of dispaying a dropdown input with no options.
So in the second picture below, I dont want the input “Select Software” to be visible at all if Serverart = Standardserver. I also dont want to create another random hidden checkbox as a workaround.


To set on the value of the field, you need something like this:
config.customOptions.layout:(5122|7092)

In this situation, I’m setting visibility on the fieldname ‘layout’ if the values equal 5122 or 7092.

Please refer to this documentation.

Thank you very much.
This is exactly what I was looking for.
For some reason I couldn’t find this paragraph in the documentation when looking for it.

1 Like