[Correction: it looks like I've got 3.18]

In my email I'm trying to send individual values from the grid, using this syntax:

%value[grid_questions][1]

(In this case "grid_questions" is the name of my grid.)

From this I'd hope to see, in my email, the option the user selected for the question having key = 1. But apparently this is not a valid construct. I just end up getting the entire grid, plus "[1]".

Is there any way to do this with Webform without custom coding? Am I just "off" on my guess at the syntax? Is there any in-depth documentation on this?

Comments

stevengraff’s picture

Version: 7.x-3.9 » 7.x-3.18

Correct version #

quicksketch’s picture

Title: Need individual field values from grid » Expose individual field values from grid as tokens
Version: 7.x-3.18 » 7.x-4.0-alpha6
Category: support » feature

Unfortunately we don't have any way of drilling into grid components in Webform. With the new token system in the 4.x branch, this is more feasible than before. I'm going to move this to a feature request of that branch.

quicksketch’s picture

Issue summary: View changes

Corrected version #

DanChadwick’s picture

Version: 7.x-4.0-alpha6 » 7.x-4.x-dev
Issue summary: View changes
Status: Active » Closed (duplicate)