Hello,
Is there a possibility to use a user-view ? I can use node-view in the webform component, but I would like to refer user. How can I do ?
Thanks if help !
ALzh
Hello,
Is there a possibility to use a user-view ? I can use node-view in the webform component, but I would like to refer user. How can I do ?
Thanks if help !
ALzh
Comments
Comment #1
lavamind commentedSubscribe.
Comment #2
robbyvanelderen commentedSame problem here, is there a sollution??
Thanks
Comment #3
lavamind commentedI found a way to do this, using a custom module and an autocomplete callback.
On the webform, create a textfield and note the textfield name as well as the webform node id.
In the custom module :
Replace
<node>and<textfield>with the appropriate node id and textfield id.That will give you autocomplete on usernames. If you also need autocomplete on profile values, you need a more complex query that does a join with the profile_values table.
Comment #4
westie commentedlavamind thank you for posting this, I had to make some minor changes but works very well!
Comment #5
trevorbradley commented:( I came here with the autocomplete solution in hand, hoping to get a user multiple checkbox solution. Still hoping that it's an option in the future.
Comment #6
freakalis commentedYou can reference users by using a User view.