How to collapse a box when a boolean in a dataset isn't ticked

It is just one item that need to be displayed for page… a simple collapsed box i want to be expanded.