Re: DB_Table and HTML_Quickform

From: Date: Tue, 24 Oct 2006 19:43:24 +0000
Subject: Re: DB_Table and HTML_Quickform
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25610@lists.php.net to get a copy of this message
Matthew Vickery wrote: > When using DB_Table to generate a HTML_Quickform is possible to add > header elements into the natural flow of a form, without having to use a > templating engine such as Smarty? Yes, QuickForm has a insertElementBefore() method that allows such things. $form =& [DB_Table instance]->getForm(...); $form->insertElementBefore($element, [name of existing element]); Regards, Mark

« previous php.pear.general (#25610) next »