You can use placeholders in combination with Liquid markup to verify if a checkbox (custom field) has been selected on a ticket and provide customized output based on the checkbox status (checked, or not checked).
When you use Liquid markup if/else/case
statements for checkbox custom ticket fields, remember that the checkbox field has a value of 0 or 1, not false or true. For example:
{% if ticket.ticket_field_<insert field_id here> contains 0 %}
checkbox is unchecked
{% else %}
checkbox is checked
{% endif %}
Comments
0 comments
Please sign in to leave a comment.