check this http://book.cakephp.org/view/1402/options-default
<http://book.cakephp.org/view/1402/options-default>and this http://book.cakephp.org/view/1405/options-empty -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/5/9 Ernesto <[email protected]> > Hello. > > when the bool field is FALSE Cake reads that value as "" (empty > value). > > this is causing some troubles in my newest app, where due to > customer's habits i'm using boolean selects (simple select boxes with > "Yes" ans "No" options) instead of checkboxes. > > my select boxes' options are defined this way: > array(0 => "No", 1 => "Yes") > > is there any way to change the default false boolean value to > "0" (zero) ?? > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
