echo $form->input('MyModel.my_tinyint_field',array('value' => 1);
That should do the trick.
RyOnLife wrote:
> Pardon me for asking I simple question, that I really feel I should have been
> able to find an answer to, but...
>
> Using the form helper, how can I create a checkbox which always defaults to
> a checked state?
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---