I'm not totally sure, if this works, but couldn't you just create the form in the action and add the fields you have configured, like this:
public function executeMyDynamicFormAction() { $this->form = new ContactForm(); $dynamic_fields = GET_THEM_FROM_DB; foreach($dynamic_fields as $field) { $this->form->addWidget( new Widget($field->name, blabla) ); } } On 27 Jul., 07:08, mirfan <m.irfa...@gmail.com> wrote: > hi, > i am working with a very dynamic form that is i can add and remove > fields from admin side into a form and all the fields are saved in > database table and the form will load all the fields when loaded > the table will be > -------------------------------------------------------------------- > id filed_name field_id default_value > ================================== > how i will manage it in symfony, please help > Regards, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---