Filter a dynamic repeater using a input box and button

Hi.

I have a page on my web site that displays photos dynamically from a data collection via a repeater.

I would like visitors to be able to search these photos by title by entering some text into a text box at the top of the page and then clicking a “search” button. See screen shot below.

I can’t see a way to do this via the button options in the editor so I think I need to do this in code (using Velo) and use the Wix Data api.

Any idea how I go about this?

Cheers

Mark

Hi @markbpriv

Maria here from the Editor X team, thanks for your message and my apologies for the delayed reply.

I checked with our team and it looks like you would need to use Velo / code to do this - here’s an article that the folks on our data team shared with me that I hope you might find useful https://support.wix.com/en/article/velo-tutorial-adding-collection-data-search-functionality

I hope this helps, but if you need any more advice on this the folks in our support team are on hand to advice. You can contact them here editorx.com/contact

Thanks,
Maria

Thanks Maria.

Can you please tell me how you connect the query to my dataset and display results on the repeater on the page.

In the article the example is to a table.

Many thanks for your help.

Mark