Closed (works as designed)
Project:
Webform References
Version:
7.x-1.8
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2015 at 16:56 UTC
Updated:
2 May 2016 at 14:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
PascalAnimateur commentedHere's a patch that works in my case.
Great module !
Comment #2
PascalAnimateur commentedComment #3
PascalAnimateur commentedComment #4
PascalAnimateur commentedComment #5
PascalAnimateur commentedOops patch name now matches comment #
Comment #6
PascalAnimateur commentedBetter patch that handles autocomplete validation correctly.
Comment #7
sumitmadan commentedHI @PascalAnimateur,
Thanks for your efforts. But I believe that it is not the way we should make it. I was thinking of making this same as reference module does, I mean integrate views result as its values, if it is possible to achieve. Otherwise we can leave it as it is for now. A user can alter the form element the way he wants to display the value.
Comment #8
PascalAnimateur commentedIndeed, that would be the proper way to achieve this... this is similar to what webform_views_select does.
I wrote this patch because I needed it for a project in which realname is always used.
Comment #9
vistree commentedI like the patch from PascalAnimatuer. Why not include it. I think this is an often needed function. If someone finds the time to integrate a views solution this might can be removed.
I would be happy if the patch from #6 could be commited. Tested and works great!
Comment #10
sumitmadan commentedMy concern is because realname is not a frequently used module. I believe one using realname + webform reference on the same site can hook_form_alter.
For view integration please test #2656246: Support to create option list from a view issue otherwise I will test whenever I get time.
Comment #11
sumitmadan commentedI am closing this issue.
Comment #12
PascalAnimateur commentedUpdated my patch from #6 to work with 7.x-1.9.
Comment #13
sumitmadan commentedHi PascalAnimateur,
Please use the view if you want to display the real name value. I believe there is no need to make it complicated using real name integration. If you face any issue in view integration then please feel free to open a new issue.