set all country name in the dropdown input element from settings and also you can set from a database after store all country data on a data base
You can see a similar approach to this in the cascading example here.
https://www.wix.com/corvid/example/cascading-form
You can open it up in your own Wix Editor to see it all set up with all code used as well.
Thank you so much . can you help me to do the same with all countries .please let me know if you have any reference