]> dev.renevier.net Git - syj.git/blobdiff - application/forms/Geom.php
do not add a hidden input before checkbox inputs
[syj.git] / application / forms / Geom.php
index 61dde0ca1fb8af572470e0dce31ee20849eb2730..3d99a87bd6014b7522b2bee84c7bef81439be960 100644 (file)
@@ -27,6 +27,7 @@ class Syj_Form_Geom extends Zend_Form
         $text = $translator->translate("I've read and accepted %s");
         $text = vsprintf($text, $anchor);
         $touaccept = array('Checkbox', 'geom_accept', array("label" => $text,
+                            'helper' => 'SyjFormCheckbox', // similar to FormCheckbox without a hidden input
                             'decorators' => array(
                                   'ViewHelper',
                                   'label',