AutoComplete List of City Addresses & Address State Autocomplete List

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yakup aycıl
    Member
    • Jun 2024
    • 76

    AutoComplete List of City Addresses & Address State Autocomplete List

    Click image for larger version

Name:	image.png
Views:	226
Size:	49.8 KB
ID:	107845
    Hello,

    AutoComplete List of City Addresses

    Address State Autocomplete List

    81 cities and 973 States. Is there an easy way to enter here?

    Which table in the database can I update based on?

    I want it to appear automatically when adding a company.​
  • victor
    Active Community Member
    • Aug 2022
    • 728

    #2
    In your_instance_name/data/config.php:
    - For Address City Autocomplete List it's addressCityList.
    - For Address Address State Autocomplete List it's addressStateList.

    Examples of application and how it will look after saving are shown in screenshots 1 and 2. For the changes to take effect, it is enough to refresh the browser page. If it does not help, then do a Rebuild.

    Attached Files

    Comment

    • yuri
      Member
      • Mar 2014
      • 8442

      #3
      No need to do rebuild. Rebuild is not required in most of cases. Rebuild required if DB schema is changed and for very few additional cases. Recommendation to do rebuild on the forum in most cases is not necessary.

      Since 8.3 there's no country list in the config. See https://docs.espocrm.com/administration/addresses/
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • esforim
        Active Community Member
        • Jan 2020
        • 2204

        #4
        Here is guide on how I add about 900 city.

        In the future this thread will be use for discussion; the Wiki hosted on Github will be used instead to post update; please see: https://github.com/o-data/EspoCRM-Learning-and-Design/wiki Part 2 of this post can be found here: https://forum.espocrm.com/forum/gene...5114#post55114 (https://forum.espocrm.com/forum/general/54706

        Comment

        Working...