How to create a dynamic country and city dropdown

I need to create a dynamic dropdown where the cities dropdown is populated with the cities of the country selected in the previous dropdown

[image]

Welcome, and this explains how to do it.

Hello @ricardocolleti8 @lindsay_knowcode ,
I need an api provider for my city and country dropdowns. I couldn’t find a good api provider. How did you solve this problem?

Have you tried googling for a list of Cities for your country? And then just import that as a CSV perhaps? It can be as easy as that.

Thank you for your answer.

I do not want to keep this information in my database. That’s why I don’t think of such a solution.

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