Search
Other Articles Anywhere questions
Forum

Render content based on custom checkboxes field

TVBZ's Avatar TVBZ
Hi,

I'm struggling to render content based on custom checkbox field.
For example, I have a checkboxes field named 'checkbox', it has some values like 'pool', 'garden', ...

How do I render stuff depending on if checkbox is checked?

This doesn't work:
{article}
<ul>
  {if checkbox:pool}<li>this place has a swimming pool</li>{/if}
  {if checkbox:garden}<li>this place has a garden</li>{/if}
</ul>
{/article}

Thanks
TVBZ's Avatar TVBZ
hah missed it.. thanks!

Kinda missing the old template, where full documentation was on 1 page.
New template looks good too of course. I'm just a big fan or browser search function. 🙂
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription