I am trying to set up a checkbox to be checked by default by doing
this:
$html->checkbox('Article/active', array('checked' => 'checked'));

And all it keeps rendering is this:
<input type="hidden" name="data[Article][active]"  value="0"
id="ArticleActive_" /><input type="checkbox"
name="data[Article][active]" value="1" id="ArticleActive" />

Why? What in the world is going on? The manual mentions nothing about
checkbox and this behavior.


--~--~---------~--~----~------------~-------~--~----~
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