Checkboxes

Checkboxes fields have the following settings:

  • Checkbox Options – Define the checkboxes that will be available in the field. You even get to set the option values and labels separately, and choose which ones should be checked by default.


The code syntax to retrieve this inside the view would be as follows:-

<?= $fieldHandle ?>

This will echo out all checked items as a comma delimited line:

During the field creation phase, please enter the number of checkbox options as a comma separated line eg. option1,option2,option3 and ensure these are unique.

laurel laurel

Join thousands of
satisfied customers

Try IgnitedCMS today!