Streaming live at 10am (PST)

Search one CMS collection


#1

Hi everyone,

I hope someone can help me out with this! On my website, I have one page with FAQ’s. All these FAQ’s come from the same collection. They are displayed in four separate lists, filtered by tags corresponding to subject (so a list for About, Development, Licensing and Sales, and Support).

I want visitors to be able to search through the questions and the (initially hidden) answers. I know that you can add a site search bar. One way this might work, is to exclude every single thing from site search results except for that page, but I see two big downsides to this:

  1. I would not be able to add a general site search later on if I wanted to
  2. If I’m correct, search results link to pages, so all results will lead to the same page

I know you can filter the list as a Designer, is it perhaps possible to have the visitors add the filter in an input field or something along those lines?

Thanks a lot in advance!


Here is my public share link: LINK
(how to access public share link)


#2

In that case you could add an on-page search using some JavaScript library,

something like this JavaScript- find text within a page and jump to location in page