Trying to show and hide elements in a repeater based on whether information from the collection is entered or not.

I have a few elements in a repeater that I entered from a collection. I am trying to figure out a way to hide the element as if it is not there if the field is blank in the collection.
I can either have the element a photo or text with highlight or a colored content box, that part can all work the same.

What I’m trying to do is to hide the photo, text & content box, or text & highlight box as if it was never there, if there is no information entered in the collection or the boolean isn’t checked.

Here is the site:

The content I am talking about is the top colored boxes with the text, If they are empty I want to hide everything, is there a way to do this without doing it manually?

Thank you for your help!

If you select the dataset and click Settings you can set filters from there.

  1. Select the dataset

  2. Click settings

  3. Select Add Filter

  4. Select the settings you want to be true/false. All who don’t meet the filters you set won’t be shown on the website

Thank you but that seems to hide the entire repeater, I just want that field to be hidden.

You are going to have to iterate through the repeater items once the dataset data is loaded and ready. When you iterate through each repeater, you can check the data and then .hide()/.show() other elements of the repeater.

I just answered this same type of question here: