On Thu, May 7, 2009 at 2:02 PM, Javier wrote:
>
> We are using a checkbox in our application and with a condition we
> want to disable it.
>
> $form->checkbox('name', array('disabled' => $condition));
>
> FormHelper::checkbox creates an input hidden and an input checkbox
> element, but the hidden
We are using a checkbox in our application and with a condition we
want to disable it.
$form->checkbox('name', array('disabled' => $condition));
FormHelper::checkbox creates an input hidden and an input checkbox
element, but the hidden element is always disabled, making it useless.
It get disabl