Hi, is it possible to trigger the CMS Filter with a hidden Search field?
In my current setup, I have an input field with no attribute and a hidden search field. When someone adds value to the input field, the search field value will also get updated but it doesn’t trigger CMS Filter.
hey @lenonguyen! You can dispatch an event on the hidden field with the following JS line
document.getElementById("ELEMENT_ID").dispatchEvent(new Event('input', {bubbles: true}));
This can be attached to an event listener for the visible input field set to fire on change or input.
If you need help please share a link and I will help you with the JS