Toggle
Last updated: Dec 04, 2023

The toggle element shows a toggler in the CMS. The value can only be true or false, no other options are possible.

In the view file you can access this element by using the IF function of PHP.

<?php if($your_toggler_name): ?>
 Show some HTML
<?php endif; ?>

 

1