Re: [Phplib-users] OOHForms: Removing element
Brought to you by:
nhruby,
richardarcher
From: Peter K. <su...@si...> - 2002-07-08 15:22:45
|
Hello Stefan, > The problem is that a form element with the *same name* but different > type is beeing used twice in a php-document: First as type=select and to use OOHForms you have to create a form object and add elements like: $f = new form; // create a form object $f->add_element(...); // set up form elements > after that in a completely new context as type=hidden. For any reason so why don't you create a new form object for your "completely new context" like this: $g = new form; // create a form object $g->add_element(...); // set up form elements HTH Peter KUrsawe |