Re: creating and auto-populating search form?

2011-09-25 Thread WebbedIT
If your field is ModelName.zipcode the following should do the trick $this->set('zipcodes', $this->ModelName->find('list', array( 'fields'=>array('ModelName.zipcode', 'ModelName.zipcode') ))); http://book.cakephp.org/view/1018/find HTH, Paul On Sep 23, 8:25 am, mivogtGermanyLU wrote: > Hi th

creating and auto-populating search form?

2011-09-23 Thread mivogtGermanyLU
Hi there, everyone. First at all I want to say thanks a lot for all help given to me so far. Meanwhile my first small project has left its alpha going to early beta status :) Todays question is somewhere between automagic form helper, find() and real sql code ... I would like to add some search f