Page 1 of 1

LISE use checkbox to display check items

Posted: Thu Dec 02, 2021 4:00 pm
by johnboyuk1
I cant figure how to do this.. I have added a checkbox field definition, i want to display only the items that have the check box checked (true)... how do I display only these items on the page?

thanks!!

Re: LISE use checkbox to display check items

Posted: Thu Dec 02, 2021 4:07 pm
by johnboyuk1
actually think i figured it out through trial and error! For anyone that might need it ... looked for a value of '1' and put this in template:

{if $item->checkboxfieldname=='1'}
Display stuff
{/if}