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 in a profile2 profile, with a dropdown select for provinces. If I change the country in the user/register form, the province list doesn't change. There is no ajax error, and I couldn't track it to the source. I looked at the ajax callback and tried some modifications, but anything works. Still, I think it should be easy to make it compatible with profile as it is with any other content type (I tried to create a location field in Basic Page and it works perfectly).
Any ideas?
Comments
Comment #1
djdevinReporting this issue as well - haven't had time to look into it yet.
Comment #2
jyee CreditAttribution: jyee commentedYou may want to try the patch at #1874588: Province does not update. Does not receive $form_state['input']
Comment #3
kyoder CreditAttribution: kyoder commentedComment #4
kyoder CreditAttribution: kyoder commentedComment #5
djdevin#1997658: States/Provinces dropdown not updating with country change