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 %}



FotoWare Switzerland AG - CH-5033 Buchs - Switzerland
https://picturepark.com - support@picturepark.com
Ā© 2023 FotoWare Switzerland AG