Filter function ( toggle issue... )

Hello Everyone,

I’m currently in the process of developing a filter function on my website but for some reason, my toggle not filtering as expected. I’ve detailed the steps I’ve taken below in the hope that someone might be able to pinpoint where the issue lies.

Firstly, I added 'fs-cmsfilter-field=“value” to my toggle att.

Subsequently, I added 'fs-cmsfilter-field=“value” to my embed code att.

Lastly, I added my cms field ( swticher ) to embed code.

Despite these actions, the function doesn’t seem to be working properly. Could anyone shed some light on where I might be going wrong? Any suggestions or insights would be highly appreciated. If more information is needed, I’ll be more than happy to provide it.

Looking forward to hearing your thoughts.

Best regards

hey @olegrij90! Can you please share a read-only link?

@Support-Luis sure :slight_smile:

https://preview.webflow.com/preview/eza-portal?utm_medium=preview_link&utm_source=designer&utm_content=eza-portal&preview=7bf05095515e225e35597c0d85c99947&pageId=64b59c3880395248da0a0f28&itemId=64b59c3880395248da0a1116&workflow=preview

Hey @olegrij90! It seems your identifiers are not matching. Can you please make sure the HTML embed has the same identifier as the checkbox?


@Support-Luis same issue :frowning:

I am not sure if we can have special characters as the value for these fields :sweat_smile:

Can we try using some English identifiers?

Uh oh - I believe I am having this same issue. The filters without the ampersand work while the ones with the ampersand do not.
My problem is that I can’t change the name of these because they are external data. Is there anything I can do?

https://preview.webflow.com/preview/theme-template-bad-apples?utm_medium=preview_link&utm_source=designer&utm_content=theme-template-bad-apples&preview=b7d495d54b0f6f089bf4388016fd30cb&pageId=64b7320c2473fd791b38fbe3&workflow=preview

hey @evan! The filters seem to work on my end. Did you do anything to make them work?

I just came across this issue as well. Filtering on a field that has an ampersand does not show any results. Is there something we need to do to escape or ignore special characters on filter fields?

Here’s a page branch where you can preview. Try selecting the filter with the label “Executives, Corporations & Nonprofits”

https://branch--retail-products-rlicorp-7ff53e.webflow.io/resources/agents-brokers/retail-products

And if you need it, here’s a view-only link to my site:
https://preview.webflow.com/preview/rlicorp?utm_medium=preview_link&utm_source=designer&utm_content=rlicorp&preview=b80bb78bb604dcdf8f71491911be1830&pageId=671a6ed624419d0183e9c605&workflow=preview

I tried using slug instead of Name, and it does the same thing because of the hyphens.

Hey @jon.thomas apologies, the special characters are not supported on this version of CMS Filter. We are working on the V2 which will solve this and other pain points of the current version.

1 Like