True / False
Last updated
Was this helpful?
Last updated
Was this helpful?
A True/False field type (e.g. ), often represented by a checkbox or a pair of radio buttons with Yes/No labels, is suitable when you have a statement or question that can be answered with a binary (two-option) response.
Select the true/false field from your field Group.
Twig template:
CSS code:
As an alternative you could use the or field.
You can use the True/False field in any .
In addition to conditional usage, the True/False field can be visually represented as a check or cross icon. This approach provides a clear, visual way to display binary information. For this example, we've used the :