I’ve got an embedded view (articles) in a webform with two child fields (article_title, article_body). I need to print/generate a PDF of the webform submission. The default template works, but looks messy in a table.
What is the right syntax to call the data from the child terms?
Here’s my webform structure:
Using print ('<b>Report Name:</b> '.$renderable['report_name']['#value']);
I can get the Report Name, but I can’t seem to figure out how to get the the article_title and article_body fields. I’m not very familiar with coding and have been searching online for ages with no luck, except for this article which I can’t seem to get working for my system either.
Any help would be appreciated.
Thanks