In my view I have something like this:
<?php echo $form->create('Model');?>
<?php echo $form->input('tinyint_field'); ?>
<?php echo $form->end('Save'); ?>
Now I want to have it be checked when the corresponding field in the
database has the value 1.
How can I do this?
greets
Andreas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment