Finsweet filter when click apply button


hi there, does anybody have any idea what my issue could be. when using finsweet v2 filters, when a submit buttons is visible the filters should normally only apply when i click the apply button. but it seems that the button is not seen. because even with an submit button the filters are applied automatically.

Dennis

Your Apply button needs the fs,cmsfilter,apply attribute, without it, Finsweet auto, applies the filters. Also be sure the button sits inside the same filter form wrapper.

Hey @Dennis_Celen ,

To allow form submission when using Finsweet v2 filters, you need to use the attribute fs-list-allowsubmit=true as mentioned in the docs here.

Hope this helps.

hi i tried to add that to the collection list, the one that has : fs-list-element = list. but it does not seem to work. i did not find anything that mentioned adding something to the button itself.

Hey @Dennis_Celen ,

I can see there is another form below the footer on the site you shared which has finsweet filter attributes set as well.

Can you get rid of that filter form if it’s not needed or have those elements inside the main filter form as per the requirement and then check if it works?

If you are still facing this issue after removing the second filter, you can share a sandbox link of the site to help in troubleshooting.