Accueil › Assistance professionnelle Toolset › [Resolved] Base de données villes et codes postaux dans les champs de publication ?
C'est le forum d'assistance technique pour Toolset : une suite de plugins pour développer des sites WordPress sans écriture PHP.
Tout le monde peut consulter ce forum, mais seuls les clients Toolset peuvent publier des messages dessus. L'assistance Toolset est opérationnelle 6 jours par semaine, 19 heures par jour.
This topic contains 5 réponses, has 2 voix.
Last updated by Minesh Il y a 3 années et 7 mois.
Assigned support staff: Minesh.
Hello. Thank you for contacting the Toolset support.
French support is not available at the moment but I will try to help you in English. I tried to translate your query and it seems you want autosuggest when you type city name - correct?
With Toolset Maps, you can add a custom field called "Address". This can then be used to select an Address, typing the name of the City as an example.
It allows you to create a custom search by this address, using the Views plugin, and also to display the location on a map.
If you need a search by zip code or simply the name of the city, you need to work with field types or taxonomies. It requires custom programming if you want to automate these fields. You may need a custom programming job that is beyond the scope of our support.
At this point, I suggest you contact one of our certified partners from this link:
https://toolset.com/consultant/
You will get the personalized support you need to continue your project.
Good evening,
I thank you for this answer but, unfortunately, it does not correspond to my legitimate expectation.
My very simple wish is to know how to make it possible to enter a database of all the cities of France with all the postal codes in the user fields of the back.
I can not ask the back users to enter the cities concerned by hand, it is impossible.
I suppose a simple way exists. Thank you for your consideration. Ask your experts to take care of the question and give me the answer in return.
My developer will apply your method.
Thank you very much in advance for your concern. This problem is urgent and very important to me. I thank you for taking this into account.
Best regards,
Gilles
So - you will have two user custom fields? one user select/dropdown field to select and store user city and one user field select/dropdown to select the post code?
Is it possible to share screenshot how that field you would like to display?
Hello.
No, I only need one field. The principle is to enter the first letters of the city and the software suggests the possible answers.
Look at the screenshots. That's exactly what I'd like to get in the front. In real estate, to carry out a search by city or postal code, this principle is applied by everyone, as it is the only one of effective.
Thank you.
OK - I understand what you are looking for.
You want auto-suggest with your field and unfortunately, there is no such native feature available with Toolset to build auto-suggest. This needs custom programming and that is eventually beyond the scope of our support policy.
Though - I would suggest you try few custom plugins instead:
=> https://wordpress.org/plugins/search-autocomplete/
=> hidden link
If you need custom programming with your project, Please feel free to contact our certified partners.
=> https://toolset.com/consultant/
Le forum ‘Assistance professionnelle Toolset’ est fermé à de nouveaux sujets et réponses.