gwoo wrote:
> you need to specify a checkbox value
> <?php echo $html->checkbox('Download/is_track',null,array
> ('value'=>'1'))?>
>
> Then in your controller you just set
> $this->data['Download']['is_track'] in the controller

Thank you gwoo, .... but

<?php echo
$html->checkbox('Download/is_track',null,array('value'=>'1'))?>

does not also work for me. Madness. The checkbox is still not checked.
The only way I found to set it checked is

<?php echo
$html->checkbox('Download/is_track',null,array('value'=>''))?>

This is the first problem with Cake I run into after have created
almost whole site. It's pity.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to