Re: DB_Table and HTML_Quickform

From: Date: Thu, 26 Oct 2006 08:38:49 +0000
Subject: Re: DB_Table and HTML_Quickform
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25644@lists.php.net to get a copy of this message
Thanks Mark! Mark Wiesemann wrote:
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 (#25644) next »