February 9, 2016 at 6:09 am #50614
A strange issue has cropped up using Google Chrome (seems okay on Firefox, Opera and Safari).
Basically, I have a course locator set up which is set up as the following:
1. All Regions (or choose from North West, North East etc)
2. All Courses (or choose from a course type)
3. Enter location/postcode (type users location – this is the problem)
4. Within (or choose from 5, 10, 20 etc)
5. Miles (or choose from km)
6. Submit button
If the user types in (for example) Manchester in the ‘Enter location’ box (#3.) and presses the ‘Submit’ button the search brings back the correct results.
If the user types in Manchester and then presses enter/return instead of pressing the submit button it brings back no results.
I’ve tried it on two Macs and one PC using Opera, Firefox, Safari and Chrome and it seems that Chrome is the only browser which doesn’t like searches not using the Submit button.
Is there a way to fix this or at least disable the ability to submit by pressing return/enter?
Everything is bang up-to-date in the admin area, latest WP etc – the development site URL is in the private content area as is an unlisted youtube video of the problem in Chrome and a video of it working okay in Firefox.
Many thanks for your help.Private Content HiddenFebruary 10, 2016 at 12:21 am #50620
Thank you for the detailed explanation.
I can see in the video the issue that you described but testing it on my computer ( Mac ) using Google Chrome and it does work and shows results.
Can you please post here the full URL of the search results page ( when no results are showing ) ?
Thanks,February 10, 2016 at 12:32 am #50622
Sure, below is the URLs from when I searched for ‘Worcester’. 🙂
If you need any other details just ask.
Thanks.Private Content HiddenFebruary 10, 2016 at 1:07 am #50630This reply has been marked as private.February 10, 2016 at 1:33 am #50631This reply has been marked as private.February 10, 2016 at 1:44 am #50632This reply has been marked as private.February 10, 2016 at 1:56 am #50634This reply has been marked as private.March 3, 2016 at 1:53 pm #50983
I truly apologize for losing track of your topic. Are you still having the issue?March 7, 2016 at 11:25 pm #51034
Hi, we’re still having an issue if someone enters something like ‘sussex’ – it doesn’t return a result although ‘west sussex’ and ‘east sussex’ does return results.November 16, 2016 at 10:17 pm #55228
Sorry for losing track on this post. I just saw it while going over unresolved topics.
You are not getting results when entering “sussex” because the name “sussex” exists in more than one place in the world. So when you enter “sussex” only, Google API does not know to which sussex you mean and it will geocode the default sussex. When I tested your site using “sussex”, Google API was geocoding the one in IL, US. And because of that there were no results.
One thing you can try is entering the UK country code in GEO my WP settings page. This should make Google API search for locations within the UK by default. And so, it should geocode the “sussex” that is in the UK.
Let me know if that helps.
You must be logged in to reply to this topic.