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 symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to