Skip to main content
Skip table of contents

Display Pattern: Checkbox

Summary

Show a message “This is approved!” when a checkbox (Id: legallyApproved) on a Layer (Id: corporateInformation) is checked.

JSON
{% 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!”

CODE
{% if data.corporateInformation.legallyApproved == true %} This was approved! {% endif %} 


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.