Re: Re: DB_Table QuickForm rules

From: Date: Thu, 20 Apr 2006 20:51:17 +0000
Subject: Re: Re: DB_Table QuickForm rules
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23778@lists.php.net to get a copy of this message
On 20 Apr 2006, at 14:16, Mark Wiesemann wrote:
Hi Charlie, I only had a quick look at your code -- but:
$oBet =& new Bet($G_DB, 'bet', 'safe'); $G_FORM = new HTML_QuickForm('lab', 'post', '', '', '');
Instead of using the second line of the code snippet from above $G_FORM =& $oBet->getForm(null, null, array('formName' => 'lab'));
The downside (as I experienced) is that this call doesn't do anything with my renderer (Template). It is the whole form wrapped around with a standard table. What I want is a form with fields where sometines the label is on a seperate row. Or do yo have some hints and tips on this? Thanx! Regards, - Charlie (...still trying) ;)

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