Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a location field where the only thing I collect is the 5 digit US zipcode. Everything else is 'do not collect' and 'force default country' (USA). I Display City, State, Zip based on that data.
When I change the the zip code and save, the location information stays the same regardless. Should it not update these fields?
Thanks
Comment | File | Size | Author |
---|---|---|---|
#2 | location_fix_city_state_province_autofill_on_resave-1371652-2.patch | 1.5 KB | ankur |
Comments
Comment #1
Gastonia CreditAttribution: Gastonia commentedCan someone help me look into this please?
After someone enters a zip to determine their location, it never changes again regardless if they update it. I have been pouring through the code to find the area where this is handled. If someone can provide a little direction, I don't mind attempting to fix it.
My entire website depends on a user's location as set by the Location module. Their search results are now fixed forever regardless of where they go.
Thanks for the help
Comment #2
ankur CreditAttribution: ankur commentedI committed the attached patch. Look for it when the dev release updates to a date past 2012-02-04 or just apply the patch directly.
Comment #3
rodpascoe CreditAttribution: rodpascoe commentedWould it be possible to have a Drupal 6 version of this patch please?