Honestly, I think it would be best to have them select a country and then just enter their address in a multi-line text box. That will include their city, postal code, and street address. It would take way too much space to list every city on the planet for them to select from a dropdown and the functionality would be insanely slow.
That being said, there may be API’s through Google Maps or something similar that provide clickable and usable selections for cities as they type something in. For example:
User typing: Chic…
Suggestion pops up below the text box: Chicago, USA
Chihuahua, MEX
Just a thought. Let me know if I didn’t understand your question correctly. Best of luck.
You could do this with autobinding as well and save the step of having to click a button, but you may or may not like how that works. Try it both ways.
Yes, it is! You will note that the value that you get back in Bubble is very well specified (it will have EVERYTHING about the address, including country). Very cool feature, that.
Bubble in general is really cool. I just found it a couple days ago and it’s insanely powerful. I’m amazed that I hadn’t heard of it before, it’s extremely underrated. There’s a learning curve, but it’s quite small, especially if you have experience in development outside of Bubble.
Sorry to reopen this topic but I’m currently trying to set this up and when I input an info nothing shows up.
Is it still working or is there some issue with the map?
Thanks
Edit: Nvm I see it’s an API thing
Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services check https://developers.google.com/maps/documentation/javascript/get-api-key