MMXII Posted October 26, 2019 Posted October 26, 2019 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.
Sonya* Posted October 26, 2019 Posted October 26, 2019 {{if $formValue == 1}}<span class='ipsBadge ipsPos_right ipsBadge_neutral'>Checked</span>{{endif}}
MMXII Posted October 26, 2019 Author Posted October 26, 2019 Exactly what I was looking for. Thank you very much for your help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.