Is there a way to bind on click events to a collection
Is there a way to bind on click events to a collection
At a glance
The community member has created a set of buttons that call a fetchData function with different arguments. They are trying to create a filter system, and the comments suggest that they should consider using a headless CMS or watching a tutorial on filtering data. The community members discuss potential solutions, including using the last part of the URL as the filter, but there is no explicitly marked answer.
i have a test called fetchData which takes these arguments. the buttons are created through a collection and the collection contains the variable title. is there a way to bind this. or will i need to self host and do some magic outside of webstudio.
ok so I need to stay with my current cms which has limited filtering atm. To do what i need I just need to have it so i can run a different request on each dynamic page and then the last part of the url will be the filter.