Creating basic search bar to identify the first half of a typed postcode and searching against a list field

Context - I’m trying to create a “search” tool for students to search for teachers using their postcode, these teachers would be matched on the first half of the postcode (3-4 characters) and then shown in a repeating group below.

I’ve made repeating groups before and linked them to dropdowns but I can’t seem to master the search function - what am I doing wrong?

Apologies but the app is an absolute mess I’m a complete rookie.

I’ve managed to make some progress, I’m using the below for my parent group:
Search for Teachers:first item

Type: Teacher
Sort By: HourlyRate
Descending: Yes
Ignore empty constraints: checked

Although my filters work and I can see the repeating group is pulling teachers through I can’t seem to get it to work with my search input “Input postcode”… Any advice?

The repeating group datasource needs to be Search for Teachers, constraint postcode contains Input's value Just a regular input box not a searchbox

1 Like

Thanks for the reply!
I’ve made it an input box but it doesn’t seem to be changing the results of the RG.

image

(“Location Field” is the postcode stored as a list of text as they may offer their services in multiple postcodes)

Try clicking off of the input box or pressing enter to make sure Bubble registers the input value change.
Also try typing a whole postcode, I have a feeling contains for text lists wants a whole text value not partial like single text values (we can work around this)

1 Like