Chowsapal wrote:
>
> Try $html->checkbox('Member/inlist', null, array('value' => 1,
> 'checked' => $members['Member']['inlist']))
>
> The value => 1 just indicates what value you want to use for true.The problem is that when I don't specify attributes, the checkbox automatically render the value="1". Instead, when I specify even only one attribute, the value attribute is not rendered anymore. I have to specify by my hand. I don't know if this is a bug, or if it's wanted that the helpers works in this way. However, If I specify the value everything is fine. Bye D.
signature.asc
Description: OpenPGP digital signature
