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
treatment info with the help of Form B and it is optional here.
When form A is open to the doctor if form b  data is alredy entered it
should be displayed and i am embedding form B into form A how i will
populate because the
$this->form->setDefault('field',$value);

is not working.
the second thing is, if the data is pouplated then it should be
updated rather then new insertion (embeded form are always inserted by
default)

and if there is no record for this patient as initial then the fields
are empty and if empty then its mean new record will be created.
its really confusing, please someone help???????????
Regards,

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to