First of all, a sincere Thank You for this feedback!
That is always helpful and greatly appreciated to hear user experiences.
To start, a feature should never lead to frustrated users, of course. ??
Many users and editors find pretty difficult to understand how the “Search Address” input works
To me, that sounds as if your users tend to skip the first, maybe most important, form field: “Location Name”. Because that field automatically triggers a real-time Ajax Search in your WordPress database as soon as the user typed more than 3 letters, looking for matches with previously created EM Location Names (with already stored addresses and coordinates).
Just to clarify, there are two types of location searches:
- “Location Name” searches your WordPress database for previously created EM Locations (existing data).
- “Search Address” button will always fetch new data remotely, based on the entered address, city and country and add that to your database.
I suggest a “search first, modify later” approach
By using the first form field first, that is exactly what already happens. ??
If an existing location has been found and selected (by clicking it in the search results), all other form fields will immediately be updated with the stored data and disabled to prevent “accidental” edits. The click also removes the “Search Address” button.
After reading your understandable feedback, I disabled EM OSM and switched my test server back to Google Maps. I now suddenly noticed that the original EM help text below the Location Name form field is not being displayed in OSM mode:
“Create a location or start typing to search a previously created location.”
Yet, that does not tell you to start searching in the first field. ??
I took that help text out in the beginning of this plugin, because EM did not return the database coordinates, but re-fetched them at Google. After I got that solved (a few versions later), I restored the Ajax search, but seem to have forgotten to put the help text back. Noted as To Do for the next release.
Also, I realized that (in combination with the missing EM help text) the button label “Search Address” can be a bit confusing to some. But OpenCage always returns its best result, based on filled out address, city & country. The help text above the “Search Address” button is:
“The more details you provide, the more accurate the search result will be.”
Upon each “Search Address” click, these OpenCageData results are always displayed in the browser console panel, by the way.
many times the geolocation doesn’t work and wrong data is filled in
If the address fields are empty, the search result will be empty as well. Would you kindly provide me with your user’s experiences for which input the wrong result was returned, please? I will be happy to look into that for you.