How to clear 'checked' checkboxes in a repeat?

Hey all

I have a number of repeats that have checkboxes, so user can save a number of items, or even all. This all works great.

However, if someone selects say item 1, 4, 5 from the repeat list and then does another search item 1, 4 and 5 remain checked even though they are different results.

What I’m trying to do is on form submit, or even on some server actions is clear all checkboxes. Whatever I try doesn’t seem to clear them. I’ve tried setting the value of the checkbox in the repeat to 0, even ‘1’ just to see if it’s working. I’ve trued true/false. I’ve tried a few other scenarios, too but they slip my mind right now.

Wondering if anyone might have an idea how I can do this?

Community Page
Last updated: