I've done it for a couple of real estate sites quite awhile ago. You have to enable the Google Places API. How well informed are you about using AJAX API calls? Everything for the DIY'er starts here: https://developers.google.com/maps/documentation/places/web-service
Thanks, Victor. I've experimented enough now with the google places javascript API where I have a simple form on a page that autocompletes a business name and fills in the full business address. Can my javascript code be applied to two text fields in a Formidable Form? I don't see an obvious way to hook this in.
I have a working method. I hooked in two additional text fields using the action 'frm_entry_form' that serve as my autocomplete fields. I also have two defined text fields hidden on the form that provides the database storage for the entry. I use the filter 'frm_validate_entry' to copy the autocomplete values into the predefined hidden fields on a submit. I know this is a bit klunky so if there is a more straight-forward way to do this, let me know.
Please login or Register to submit your answer