So I'm trying to create some template options using a revealer field, so a CMS user can have a pre-set list of fields or use a grid, with the grid hidden, my markup looks like this:

{{if advanced_layout:exists=="true" }}
    {{ sections }}
        {{ if type == "text" }}
            {{text}} 

            {{ elseif type == "image" }}
            {{image}}

        {{ /if }}
        {{ /sections }}

    {{else}}
        other things
{{/if }}

Based on what I can read online, this should be working. But I've tried out various combinations of :exists=="true" on my content and it doesn't seem to work at all. Any ideas?

Answered by Jason Varga! Go to answer.