Project:Webform
Version:6.x-3.0-beta4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

i dont know if this should be posted in WEBFORM or REALNAME issue.
but i would like to use the REALNAME TOKEN in a WEBFORM instead of the $username
how can i achieve this?
thanks!

http://drupal.org/project/realname
http://drupal.org/project/webform

Comments

#1

Project:RealName» Webform
Version:6.x-1.x-dev»

This request should go to Webform's issue queue.

#2

Status:active» fixed

You can use the %profile token to get a users "realname". Just use %profile[realname] where you would like the user's realname to be used.

#3

Status:fixed» active

I tried the token %profile[realname] but it didn't work (resolved into an empty string).

However, I don't need that anyway since I am using core's Profile module with the fields "profile_firstname" and "profile_lastname" defined. Thus, the token %profile[profile_firstname] %profile[profile_lastname] resolves into the submitter's real name for me.

#4

Version:» 6.x-3.0-beta4
Category:support request» feature request
Status:active» fixed

This has been fixed as part of #764270: Load full user object into %profile token. Now you should be able to use %profile[realname] as I described in #2.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here