I would like to hide some controls and fields on all pages (list, add, edit, view...)depending on a particular value on the parent table.
Let's say a parent table_a with a key 'id' has a field 'present'. If 'present' = 1, I would like to hide controls and fields 'case' on child table_b pages.
What would be the simplest way on phpr6?