Hi all; I have a small probleme with extending a form ; the problem in detail: I has to realize a registration for company in two stages; The first " fast Registration" contains only fields login and password The second registration "detailed" contains all the information possible for the company . the structure of the table company:
Id country_id email passwd salt confirm confirme_key..... Thus not to redo works him twice I have Thus not to redo works twice ,I create a basic registration class : Class BaseSubscribeForm extends BaseCompanyForm { class BaseSubscribeForm extends BaseCompanyForm { public function configure() { unset( $this->widgetSchema['id'], $this->widgetSchema['source'], $this->widgetSchema['active'], $this->widgetSchema['confirme'], $this->widgetSchema['confirme_key'] ); } } Then in the class: SubscribeStep2Form extends class BaseSubscribeForm I owes update the company already created in the step one the problem it is that he also updates fields deleted from the schema in the parent class (as confirms it key and the salt) Any help please, Cordialy Ahmed. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 -~----------~----~----~----~------~----~------~--~---