Hide a panel if a lookup Dropdown has not been selected (Please select a value...)


Badge +1

Hi All

 

I have created a form with a cascading dropdown control

I also have 2 panels

I would like to hide these panels until a user selects a value from the first dropdown (Business Unit lookup)

I have added a Calculated Value filed to show the exact value when an item is selected:

 

2453iEFC54B5064D30F52.png2452iCD0384EC6F1F7F06.png

 

If nothing is selected from the dropdown, no value is entered into the Calculated lookup

I have tried various different rules on the panels I want to hide

If I use this formula on a formatting rule, I can hide the correct panel if 'Clients &Industries' is selected:

Business Unit lookup ==("3;#Clients & Industries")

But what value do I insert into my formula if no item has been selected yet? (and the default value is "Please select a value...")


2 replies

Badge +4

On the second panel just add a Formatting rule with condition isNullOrEmpty(<name of first lookup control>)

Badge +1

@rameshmusham so easy!!

Thank you very much

Reply