[EMAIL PROTECTED] wrote:
> http://api.cakephp.org/html_8php-source.html#l00259
>
> Looking at the API and the corresponding code. Looks like that if you
> pass 'value' = > 'checked' that would do it.
Thank you for reply.
But 'value' = > 'checked' also does not work.
I looked through API :
00260 $value = $this->tagValue($fieldName);
this line returns $value = ''
so in case I put following:
<?=$html->checkbox('Download/is_track', null, array('value' =>''))?>
checkbox become checked. But this is quite illogical.
And also I am not sure why "checked" attribute is overridden in this
checkbox function
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---