you will need to create a custom template /templates/custom/views/form.ctp and add your empty=>'' snippet for all "belongsTo" relations
On 24 Jan., 02:45, Ryan Schmidt <[email protected]> wrote: > Thanks, that works great, specifically: > > echo $this->Form->input('some_id', array('empty' => '')); > > But I wonder why the bake templates don't set that up properly for me, and > how I could modify the bake templates to do so. > > On Jan 19, 2011, at 07:41, sanjib dhar wrote: > > > > > > > > > use array('options'=>$abc,'empty'=>true); > > > On Wed, Jan 19, 2011 at 1:21 PM, Ryan Schmidt wrote: > > >> What should I do to allow NULL selections for some of my relationships? -- 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
