Answer the question
In order to leave comments, you need to log in
How to implement validation of city name?
Hello, I am writing a small application and linking the user to his place of residence there, and I have difficulties with this.
I want a drop-down list with hints to appear at the start of data entry, there seems to be no problem with this, but where can I get a list of available cities?
at the moment I found an article on habré using vkapi for these purposes, but maybe there is an option to do it locally?
UPD: yes, through an array is not an option, I understand that. But for certain it is possible to make through a DB?
Answer the question
In order to leave comments, you need to log in
You take the entire list of cities and drive it into an array. Just think about how much this application will take up space. And nah, does anyone need this?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question