Basically I am trying override webform-submission.html.twig. In this twig, I have these elements

enter image description here

I want to render my webform submission with HTML structure for the theme. But I am not able to access any field. Here is output of {{ kint(elements) }} enter image description here Thank you

  • It looks like your values would be found in $elements['data']. – Ryan Hartman Mar 19 at 20:07
  • It's hard to read your code because it's an image. You should copy and paste the code directly and format using syntax highlighting in markdown. – mradcliffe Mar 24 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.