On Wed, 25 Mar 2009 12:29:09 -0700 "Metzler, David" metzlerd@evergreen.edu wrote:
A little known fact... You can create containers in the forms array that have no visual representation in the form, kind of like fieldsets, but without the fieldset.
While (...) { $form[$id] = array('#tree' => TRUE); $form[$id]['qty'] = array(....); $form[$id]['add'] = array(....); }
Might clean up some of the code you've discovered.
I usually nest all the rows into a single fieldset as well, but that's optional.
No they were actual editable values. Each row had a textfield (qty) and a button + a "superbutton" at the end of the table.
Anyway problem was solved directly controlling the name attribute.