Oh!  I think I figured it out.  It needs to be tinyint(1), I was using
whatever the default was.  Doh!

On Jan 21, 3:34 pm, Nancy <[email protected]> wrote:
> I must be doing something wrong.  I have a database field that's a
> tinyint and accord to the online doc if I create a form field from it
> it should be a checkbox.  However, it creates a text field.
>
> My cakephp code looks like this in the view:
>
> echo $form->input('HasManymodel.{$count}.current");
>
> $count is just a variable being incremented as I step through the data
> in this relationship.  The data shows up on correctly but it just
> isn't figuring out the right form element to use, unless I specify
> everything.
>
> Any advice is truly appreciated!
>
> Nancy

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to