Make two forms
1) Emp_Form
1st one a having widgets "name", "address", and "city" AND THAT form
will extend your base form
2) Emp_edit_form
2nd form will extend ur sfForm or Doctrine form and there u give
widget "name".
then in the same module you can change in actions that
executeEdit()
{
$this->form=new EmpEditForm();
}
this will work for sure
--
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.