Maulik and Matt,

As Stu says, if you want to offer multiple options but the user can
only select one then radio buttons should be used instead of
checkboxes or if there are only two options (1 and 0) then if you set
that table field to be TINYINT(1) Cake will automagically make that a
single checkbox (checked = 1 unchecked = 0).

If you want the user to be able to select more than one option then
you need to look into hasMany and/or HABTM associations to allow one
record to be associated with multiple related records.  Again if you
follow the cookbook you should be able to get your head around these.

Regards,

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