If database textfield is empty, container box collapse

I have updated the comment