Closed (won't fix)
Project:
Address Field
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 May 2012 at 14:46 UTC
Updated:
3 May 2013 at 02:42 UTC
Jump to comment: Most recent
Comments
Comment #1
cesareaugusto commentedgreat idea! i'm not a php dev, though perhaps we could reuse code from Geocoder Autocomplete module.
Comment #2
jlyon commentedI'm going to be working on similar functionality (possibly using http://code.google.com/p/geo-autocomplete/, or some of the code from the Geocoder Autocomplete module above) in the next couple days.
Comment #3
gvanto commentedOK jlyon,
My requirement has actually been delayed for a while so I will wait for your version :-)
Good luck!
gvanto
Comment #4
sokrplare commentedAny progress on this? Would be happy to finish up what you've got even if it's only partially completed.
Comment #5
jlyon commented@covenantd: I got a fair amount of work done on this, but I don't think it's totally working. I just pushed my code to a sandbox project: http://drupal.org/sandbox/jlyon/1702018.
One issue is that it is kind of hard to populate more than one field with data using the #autocomplete FAPI attribute. I did this one a previous project with some hack-y Javascript, which I would be happy to share if it would be helpful.
Comment #6
sokrplare commented@jlyon - thanks for sharing. I ended up rolling my own to auto-populate the zip code once street, city and state were in place - wrapped up that project last week so I don't think I'm going to get hours to put back into this, but hopefully more projects in the future will need it!
Comment #7
chapsou commentedany news ?
Comment #8
loren H commentedThis would be wonderful but I see the difficulty with the multiple fields. Keep us updated.
Comment #9
rszrama commentedAs the thread here indicates, this is a particularly challenging task given the way autocomplete typically works in Drupal and just the nature of the idea in general. I don't see us adding autocompletion to this module directly, certainly not in so far as it depends on integration with a third party API. The best place for that to happen would be either in a module that already integrates the API (perhaps one linked above?) or in a contributed module that specifically integrates the API with Address Field as was started in the sandbox above.
Comment #10
adammitchell commentedI have created a working sandbox version of address autocomplete. https://drupal.org/sandbox/adammitchell/2126989. I will endeavour to get it created into a full blown project. However if you could help me and test it that would be greatly appreciated.