How can i hide a list when one of many value is false?

Hello everyone. Now I’m trying to create an app for staff input data. But i want to have a role, that’s when staff chooses a field in the list,if the value is false then the form will hide some list or input. It looks like that.
IF listbox1.value = 0 then listbox2.close
IF(LEN(list1) < 2 then listbox2. hide or close )
I’m a newbie in Appsheet, I hope everyone can help me. Thanks a lot.