I’m using Meta Box to create custom fields for use in Elements – and they work great together – but a lot of the variables are more complex that a simple variable. In my case I’m wanting to retrieve a variable within an array – something like {{custom_field.array_name.variable_name}}
Also – As the field is conditional – I’d like to display the CTA conditionally. eg.
{% if custom_field.group_cta_fields %}
{{custom_field.group_cta_fields.text_cta}}
{% endif %}
Is this possible?
or is it possible to somehow add a hook area conditionally within an Element?
Thanks.