Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
[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
Comment #1
stevengraff CreditAttribution: stevengraff commentedCorrect version #
Comment #2
quicksketchUnfortunately 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.
Comment #2.0
quicksketchCorrected version #
Comment #3
DanChadwick CreditAttribution: DanChadwick commented