Collapse/Expand elements in a dynamic page if a field in a database is empty

Be sure to change the ID’s for the elements and the dataset also.