Finsweet CMS Filter by search field is not working


I tried everything I could, but still the search field is not working properly. I used the same name conventions and the same layout as the example. The Finsweet Attributes Automated Support Service checks when OK.

Can anyone help me find out what the problem is?

Here is my site Read-Only:

Hi Daniel!

Try giving the form input:

and the text (in this case the H2 title element) you want it to filter on the same.

I’d also recommend give your form element with the class name filter_form-wrapper this attribute:

Let me know if this works.

Hi Rory! Thanks for the help. It works well with the changes but only works for the titles. I need it to consider also the paragraph text too. What if I want to include Tags too?

Maybe the name “title” is a little misleading. In theory you could give the paragraph the same attribute as the heading, this way it will also search through the paragraph or tags.

This is how Finsweet does it for example:

Now I get it. I thought the attribute fs-cmsfilter-field = “*” on the Search bar was the only attribute I needed to define. Thank you so much for explaining it to me. It works great!

1 Like

No worries! Glad to hear your problem is solved :slight_smile: