loop trough whole array inside a field I want to write an entire loop into a field like this:



Obviously this is not working. What would be the correct syntax when twig is written inside a field?

Also is there a name for the twig tags inside a field? I have a hard time searching the interwebz for this.
You can by using this: {{ include(template_from_string(entry.fieldName)|raw) }} 

You could also try it with just |raw But that probably only works for just HTML

This works on both a Plain Textfield aswell on a Richtext area. Although I wouldn't recommend putting code in your textfield's like that.

The original answer on a simular question can be found here: https://craftcms.stackexchange.com/a/1270/3848