Re: Displaying in Input Field Value of Parent Element

2008-04-25 Thread Galdan
Hi togehter, first i've to thank you. Both things works now very fine. But for the concatenation i've antoher question. In the Members view i can access the new variable "fullname" without any problems. But it's not getting passed down to the bill, so i can't reach it there. Do you have an id

Re: Displaying in Input Field Value of Parent Element

2008-04-24 Thread b logica
> > In the Members table i've two columns "lastname" and "firstname". But > > in the most cases i want to display the two names concatenated > > ($lastname . ' ' . $firstname) for this i want to store the > > concatenated string in a "pseudo" column "completename" (to acess it > > with [memb

Re: Displaying in Input Field Value of Parent Element

2008-04-24 Thread seb
> In my "bill add view" i've currently this entry: > > echo $form->input('member_id'); > > The result is a dropdownlist with all the ID's available in the > Members table. But here i don't want to see the ID, i want to see the > "lastname" from the "lastname" column. In your controller, setup t

Displaying in Input Field Value of Parent Element

2008-04-24 Thread Galdan
Hi togehter, i'am new in the development Webapplications in CakePHP. And for the beginning i've an absolute newbie question. My DB model has at the moment two tables -> Members and Bills Member hasMany Bills Bill belongsTo Member In my "bill add view" i've currently this entry: echo $form->i