Can input's values go dynamically to a dropdown without being repeated in the dropdown?

I have 2 pages, in one page i create a post which i input my city, and in the other page i have a repeating group contains the the post including the city too
i want to filter the repeating group by a city dropdown and also when someone adds a new city it automatically goes to the dropdown’s values.
Is that possible please?
Sorry if my question isn’t clear.

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