[symfony-users] different form schema between applications

2010-10-06 Thread Manu SW
Hi, Sorry if this is a n00b question ... I would like to use the same form in both frontend and backend application but I would need to change some widget types, depending on the application I am using the form. For example I have the form definition: class VideoForm extends BaseVideoForm {

Re: [symfony-users] different form schema between applications

2010-10-06 Thread Andrei Dziahel
Hi. So why not to create 2 separate form classes which extend BaseVideoForm (or VideoForm — depends of your needs and ), fill their configure()method with application-specific code and use both in appropriate applications? On Thu, Oct 7, 2010 at 01:55, Manu SW wrote: > Hi, > > Sorry if this is