How to force user to select from Google place autocomplete list?
-
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
- The topic ‘How to force user to select from Google place autocomplete list?’ is closed to new replies.