[symfony-users] default values for embedded form

2009-12-24 Thread mirfan
Hi, I am embedding form B into Form A see the following scenario form A is examination form for a doctor form B is form which have some general info about patient these both forms are inter-connected through patient when i am entering data for patient i have option to enter genral

Re: [symfony-users] default values for embedded form

2009-12-24 Thread Alexandru-Emil Lupu
It will help you if you override your save method of your form. Also create a custom form that inherits pacient base form and embed to it examination form and also general info. I think that examination and info are info that belongs to the patient. sent via htc magic On Dec 24, 2009 11:23 AM,