Closed (fixed)
Project:
Webform
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2012 at 19:22 UTC
Updated:
20 Nov 2014 at 15:44 UTC
Jump to comment: Most recent
Comments
Comment #1
liam morlandComment #2
liam morlandMoving this to the Webform queue because of #1606970: [Meta] Future of Webform Tokens and #1936698: Refactor and merge Webform Tokens into Webform.
This may be taken care of by #1340010: Make Safe Key (in addition to Value) of Select Components accessible via tokens.
Comment #3
quicksketchThanks Liam. I'd be happy to see this happen in Webform's token support.
Comment #4
danchadwick commentedI actually thought we had this, but I don't see it in the code. Anyone want to work on a patch?
Comment #6
danchadwick commentedThis is a bit ugly. The only reasonable way I could find to implement this is to generate a faux select items for the grid question and generate the token from that. I am committing this, but I am a little concerned there may be some edge cases cause by the faux component. A little testing by the community would be awesome.
Committed to 7.x-4.x and 8.x.
For version 8.x, it might be better to defer the generation of the tokens to a method of the component.
Comment #7
liam morlandThanks very much.
Comment #8
danchadwick commentedYou are very much welcome. People who contribute to the issue queue deserve preferential prioritization in their requests. :)