Jump to content

Pages: How to check if checkbox has been checked? (solved)


MMXII

Recommended Posts

Yeah, stupid title, I know, but here is my problem: In Pages, I have a database with a custom field (checkbox). Now I want to display a badge in the listing template based on whether the checkbox has been checked or not. What is the correct code?

{{if $value == Checked}}<span class='ipsBadge ipsPos_right ipsBadge_neutral'>Checked</span>{{endif}}

I am struggling with the orange part.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...