[symfony-users] Re: dynamic input fields

2009-07-27 Thread Mo Mughrabi
It might be a little complicated, first you need to do a regular static form just so you can understand the methods you need to use. As for the table structure you are proposing, it is too simple to be used, you must also have information about field types, sfValidations..etc idfield_names

[symfony-users] Re: dynamic input fields

2009-07-28 Thread Dennis Hellmich
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 a