Posted October 26, 20195 yr 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. Edited October 26, 20195 yr by MMXII Typo
October 26, 20195 yr {{if $formValue == 1}}<span class='ipsBadge ipsPos_right ipsBadge_neutral'>Checked</span>{{endif}} Edited October 26, 20195 yr by Sonya*
Archived
This topic is now archived and is closed to further replies.