By mmkader85 on
Hi,
Its so strange to see drupal showing %profile[name] in the webform.. I have a name field in webform where in i put %profile[name] as the default values and expecting drupal to fill the name of the user taken from the profile. It goes fine for users who have already filled in the name field in edit profile and updated.. For new users, it is not.. it is showing %profile[name]... Point to note, in my registration page i have not made this field to visible.. Its is a mandatory field and showing up only on edit profile..
In brief, drupal is showing the token %profile[key], if the value is empty/null.. Please help me get rid of this..
Thanks
Comments
When data empty or simple visitor
When data empty or simple visitor, %profile[name] is showing ... strange, because this did not happen with older version of webform / token
Florian
I think you need to use the
I think you need to use the profile field name like %profile[profile_name] and it works as expected in my case.
You can check the profile field name on example.com/admin/user/profile
Voir post suivant
http://drupal.org/node/1023918#comment-5429720