• Hello,

    I have a plugin called BuddyPress Xprofile Custom Field Types. I have created a field in this plugin which uses this BP Distance Search. It basically allows the user to enter there location during register, then select from the auto complete Google API list.

    BP Distance search is a great plugin, but only if the user selects their locaiton from the list. I am having an issue where my users choose to type in there location such as a postcode, and not pick from the list. If they do not choose from the list, then their location is not saved in the database. That users location is then not taken into account when certian features are used on the website.

    Is there a way I can force users to pick from the predefined locations within the Google autocomplete list?

    Any help is much appreciated.

    Kind regards,

    Jamie

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hello Jamie,

    Thank you for your report!

    That’s a known issue, and unfortunately I’ve not found a way to fix it yet.

    I suggest you explain to your users that if they don’t pick from the list they won’t be found by a proximity search. In the meantime I’ll be looking for a better solution.

    Thread Starter jksastrology

    (@jksastrology)

    Hi Andrea,

    I am pleased you enjoyed your professional astrology reading from JKS Astrology : ).

    I will probably add some kind of verification to my registration form, to force a user to select from the list. Overall, your plugin is excellent though!

    Jay

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to force user to select from Google place autocomplete list?’ is closed to new replies.