If database textfield is empty, container box collapse

@lucassmdesign In a repeater, there will be a container. Get that container id and do this

$w.onReady(function () {
 $w('#dataset1').onReady( () => { // your dataset id here
  $w('#repeater1').forEachItem(($item, itemData, index) => { //repeater
 if (itemData.status === "") {
         $item('#container1').collapse(); //container id here
        } else {
         $item('#container1').expand(); // container id here
 
  }
  } );
 } );

} );