zikula/core — pull request #457 by cmfcmf (2012-08-26 19:07:47+00:00)
Title: Update src/lib/Zikula/Form/Plugin/Checkbox.php

I added the mandatory param for checkboxes. You can use it when the user MUST check the box, like a "I accept the privacy policy" box.

There is still one problem in "getStyleClass()". The styles must be customized for checkboxes, because setting the background-color to red is no good idea (some (most?) browsers don't display the background-color of checkboxes).