Hey all
I’m now having a problem with Conditionals. I’ve read about it in the guides, but it wasn’t any help.
I’m trying to do this:
{if acc_type == "Student"}
<strong>School</strong>:
{if st_school}
{st_school}
{/if}
<strong>Studierichting</strong>:
{if st_richting}
{st_richting}
{/if}
{/if}
{if acc_type == "Marketeer"}
<strong>Beroep</strong>:
{if m_beroep}
{m_beroep}
{/if}
{/if}
{if acc_type == "Bedrijf"}
<strong>Branche/sector:</strong>:
{if b_branchesector}
{b_branchesector}
{/if}
{/if}When I visit a page where acc_type == “Bedrijf”, it doesn’t work properly. I get “Studierichting:” as output, where it should ouput “Branche/sector:”
I already tried using {if:elseif} but I read that Advanced conditionals are parsed differently, so that didn’t work either.
Is my only option really to use embeds?