How to search a keyword from a list (Repeating Group)

Hello everyone,

I have a search bar where I can input any keyword and below is a list of address.
I would like for users to type any keyword and give you a filtered result.

In this situation, if the user search ‘West’ then only ‘114 West 47th st - Not available’ line should appear on the repeating group list.

The list of address is from an API.
I also tried using Search & Autocorrect plugin but it wasn’t working.


I’ve been struggling with this simple search function for an entire week so any help would be greatly appreciated.

Thank you!

Hi @mrkpkim ,

You can filter content of the list using :filtered function then add constraint to your CityInformation field based on the filter input’s value. Don’t forget to check “Ignore empty constraints” so your filtered list does not become empty when the filter input is empty.

Here I tried to recreate your example, more or less like this

1 Like

Thank you for this response.
I was able to get all the filtered or searched results inside of Textboxes.
However, is there a way where I can see the result in a form of a list?



this is how I set up the file.
I tried to replicate the same ‘filter’ method for Repeating Group so I can see it in a list
but there was no ‘filter’ method when I click More… for data source.



Any thoughts?
Thank you!

Hello,

Your list comes from an API and you want to filter those results. Using :filter in the RG that shows the result of the API call may not be working because you may be attempting to filter for constraint objects or data points that are not part of the API results or are not properly formatted.

Perhaps you can consider creating those records in your dB. This way you will be able to search or filter away at will :+1:t2:

thank you for the response.
Could you just explain to me what ’ you may be attempting to filter for constraint objects or data points that are not part of the API results or are not properly formatted.’ this means in more simple way? I just want to understand thoroughly why searching a keyword from API list wouldn’t work for RG - when its working @ textboxes.

also dB - database right?
Are you referring to uploading a excel file into Bubble app? (which requires Premium Bubble membership)

thank you very much for your time

This topic was automatically closed after 70 days. New replies are no longer allowed.