I prefer using what is done in the related topic (link given by Tom) than
creating two distinct forms.
Less classes, less code.

Cheers,


Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Tue, Jan 26, 2010 at 3:30 PM, Tom Ptacnik <to...@tomor.cz> wrote:

> Related topics on the forum
> http://forum.symfony-project.org/index.php?t=rview&goto=92113#msg_92113
>
> On 25 led, 14:08, karansoni <kanu8...@gmail.com> wrote:
> > 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<symfony-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>

-- 
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