Filter on Page Load - MemberStack Custom Field Value

Hi there, is there a way to have a search field filter a list right away using a Memberstack custom field value. I want to filter a CMS collection as soon as a user lands on a page based on a value they have in a Memberstack custom field.

Hey @JohnPFM! Yes, you can have JS populate the search input with the custom value as soon as the page loads.

We normally need to dispatch an event after adding a new value with code so be sure to do this at the end
input.dispatchEvent(new Event('input', { bubbles: true }));

You can share a ink if you need help achieving this! :muscle: