Is it correct that a form and its subforms cannot be created using a single config file? Something like the following... If not, is there any plan to allow this? It shouldn't be too difficult, but was just wondering why it is specifically "forbidden" in the Form.php file...

IE
$form_config = array(
   'attribs' => array(
       'name' => 'form_name'
   ),
   'subForms' => array(
       'subform1' => array(
           'elements' => array(
               'test1' => array('Text', array(
                   'label' => 'Test1'
               ))
           )
       ),
       'subform2' => array(
           'elements' => array(
               'test2' => array('Text', array(
                   'label' => 'Test2'
               ))
           )
       )
   )
);

Any help is appreciated.

Arthur

Reply via email to