Pre-filter based on member field

Would anyone be able to share some advice/code on how to automatically pre-filter a list based on a logged-in member’s user field (in this case their Location, which they set when signing up)

Basically I wish the prefill to be:


Thanks in advance for any help!

Hi @datom you can use conditional filter in the list block

I could, but I also want the member to be able to adjust the filter if they wish. If I use the conditional filter, it forces only to display the one location and won’t show any other results.

I simply want the default filter to pre-select the member location field, with the option then for the member to change the filter as they need.

Dear @datom,

Unfortunately, this cannot be achieved natively, perhaps custom code is needed.