Closed (fixed)
Project:
Webform
Version:
7.x-3.18
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2012 at 13:05 UTC
Updated:
2 Jul 2013 at 23:50 UTC
Hi
Please help, i´m trying to use token values from my user db, but can only get valuers like "%useremail" and "%useremail" to work. But would also like to get values from users profile, like name, adresse, postal code, phone and more.
Anyone how can say how the values shold be. have tried with %value[key] and %profile[key], but can´t get it to fetch data user profile.
The user signup proccess are using the Address Field modul, and the phone fields are group into a Field Collection.
hope someone can say how to get it to work.
Comments
Comment #1
nikonvulcano commentedalso I am interested
Comment #2
itdev commentedI am using webform 7.x-4.0-alpha6, experience the same problem. When downgrading to webform 7.x-3.18, the token values work fine in default values.
Comment #3
quicksketchYou can't pull advanced user profile data out of profiles when using the 7.x-3.x branch, there's an existing issue for that at #824606: Webform tokens (%session, %post) do not support arrays, but my general recommendation if you need better tokens is to use the 7.x-4.x version.
In the 4.x version, you would use a token like
[current-user:field_first_name]to populate a field.