thanks
On Tue, Jul 21, 2009 at 12:52 PM, Dr. Loboto wrote:
>
> Just set $this->data in controller to record data you will modify and
> Cake will set 'selected' and other values itself.
>
> On Jul 21, 1:50 pm, Pradheep Ayyanar wrote:
> > HI
> >
> > i have a form with dropdown for selecting the i
Just set $this->data in controller to record data you will modify and
Cake will set 'selected' and other values itself.
On Jul 21, 1:50 pm, Pradheep Ayyanar wrote:
> HI
>
> i have a form with dropdown for selecting the industry which i have
> populated.
> but in the modify form, i need to set th
HI
i have a form with dropdown for selecting the industry which i have
populated.
but in the modify form, i need to set the selected value which is come from
the database.
this is the code that i have written in the view
select('industry',array($industry),*$industry*,array(),'Select
Industry'); ?