Switches

Switch fields give you a simple toggle input for times when all you need is a “Yes” or “No” answer.


The syntax to retrieve this value in the view file is as follows:-

<?= $fieldHandle ?>

This will return either true or false