The CreatorCon Call for Content is officially open! Get started here.

Hide Field when None is selected in a list box

Ziad Qadora
Kilo Sage

Hello,

I have a requirement to hide a field if another field that is a list box is set to "Not Applicable".  I have been able to accomplish that with a UI policy that applies to the Variable Set that contains both variables.

My question is, how can also hide the field if nothing has been selected and "None" shows in the list box.  Please see the images below for the UI policy configuration.

 

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

Because your UI Policy actions are to show the field, you'd have to use "AND", instead of "OR" if you're going to use IS NOT.

So condition one is "Not Applicable" AND condition two is not "-- None --", then...do 'x'.

So it'll only do 'x' when both are true, which is what you want.

Please mark reply as Helpful/Correct. Thanks! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

7 REPLIES 7

Allen Andreas
Administrator
Administrator

Hi,

There should be a condition for "is empty", you can use that as well.

So condition one AND condition two, since you're showing the field.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Ziad Qadora
Kilo Sage

Hi @Allen Andreas 

Is empty is not one of the condition and I have tried is not None previously  and that does not seem to work.

Regards,

 

Ziad

find_real_file.png

Hi,

Because your UI Policy actions are to show the field, you'd have to use "AND", instead of "OR" if you're going to use IS NOT.

So condition one is "Not Applicable" AND condition two is not "-- None --", then...do 'x'.

So it'll only do 'x' when both are true, which is what you want.

Please mark reply as Helpful/Correct. Thanks! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

Please see my reply up here as I've already covered this?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!