I'm trying to help my father out by building a webform (D8 version) for the 4 theaters his Old Abbey Friends are putting up.
I've made the webform, now i'm setting up an email handler so that people get a confirmation email. Straightforward enough, however, i'm getting lost when using the twig template option of that email handler on following items:
- how do i check if there's at least one checkbox checked in a checkbox element (containing 4 checkboxes)?
- how do i check which of the checkboxes is checked in the above element?
- how do i get the number in a number element that's part of a custom composite? I tried using the data.composite_elementkey.elementkey syntax, but that just shows up blank.
Any feedback much appreciated!