I have a simple form to search It contain 2 combos (select) and 1 textfield (to chose: table, field and type a value) Here's the glitch... I have a button to clone (with jQuery) this 3 objects, so my user can set a complex filter, duplicating the first set into N new sets The first set of values works fine, when I submit, the $form_values return the data. The cloned fields are ignored! I try rename my fields with [] at the end, as an array, but in that case, even the first set of values isnt returned. Any idea how to solve that? Thanks Feijó
Form API will happily ignore any fields not defined in the form array. It's a bit ugly but I'd look at the posted values in #post only to see how many fields I need to define and I'd define that many. This, of course, in D5.
participants (2)
-
Alessandro Feijó -
Karoly Negyesi