Issues Collapsing Repeater Elements

@ace-holt I’m guessing that you are using a dataset to populate the repeater. In any event, restricting the output to the repeater with some data function code would be the way to do it. With a dataset, you could use the setFilter command. Something like the following would work, but be aware that the currentDate variable that you have is the current date and time when the page is accessed. It’s possible that there are records in that collection where the eventDate field has the same date but has a time that would be less than the currentDate variable value, which means those records would be excluded. That’s probably not what you want. I’m altering the code so that the value of currentDate accounts for that scenario.

let now = new Date();
let year = now.getFullYear();
let month = now.getMonth();
let day = now.getDate();
// produce dateTime variable of midnight of the current day.
let currentDate = new Date(year, month, day, 0, 0, 0);

$w.onReady(()=>{
  $w("#dataset").onReady(()=>{
    $w("#dataset").setFilter( wixData.filter()
      .ge("eventDate", currentDate)
    );
  });
});