Display Pattern: Checkbox
Summary
Show a message “This is approved!” when a checkbox (Id: legallyApproved) on a Layer (Id: corporateInformation) is checked.
{% if data.corporateInformation.legallyApproved == true %} This was approved! {% endif %}
Setup in Picturepark
Layer "Corporate Information"
Checkbox "Legally approved"
Field Value Access
data.corporateInformation.legallyApproved
Use Case
A use case for the Checkbox would be to apply some task or advice by using Liquid tags like an if condition and display a message for the true or false case e.g. when approved show “It is approved!”
{% if data.corporateInformation.legallyApproved == true %} This was approved! {% endif %}