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.
Hi there!
I am currently working on a project involving to generate form in a modal via JS. I did end up making everything working smoothly but the last piece that I can't find how to make it work is the address field country refresh.
Basically, I load the form and render it to the user. And when selecting a country, it doesn't refresh the address field. (I add drupal behaviours when loading the form)
Is there anyway I can trigger it manually? I also tried adding the drupal.ajax and jquery.form library that were not loading, but it doesn't help.
Thanks!
Ed
Comments