Closed (won't fix)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2015 at 17:16 UTC
Updated:
5 Oct 2015 at 23:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joshf commentedThe attached patch got me as far as I needed to go. "Webform Email" is added as a views field group, and a single field "Email Addresses" is added to that group. During pre_render(), any integer values are assumed to be component IDs and an additional query to the webform_component table is fired off for each to get the component name, which is then rendered as '"Email" (form component)' (or whatever the component name is).
Although this solution works for me, it may be unsuitable for inclusion without additional work:
Comment #3
danchadwick commentedIt's good to have this work here for posterity. If someone is interested in pushing this over the goal line, addressing the issues raised in #2, I'm open to committing this to webform core. Otherwise let's close this and "won't fix" since it isn't complete.