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.
Hello!
I use the user location module and want to prepopulate some webform fields with these values (street, postal code, city, country). How can I do this? Do the location tokens like [location-street_N] work together with %profile[...]?
Thanks!
Comments
Comment #1
quicksketchYou cannot prepopulate Webform fields with location information other than setting default values through hook_form_alter(). There is a feature request for supporting token module tokens though. See #428982: New hooks for additional token replacements.
Comment #2
quicksketch