Re: ataObject_FormBuilder: help with where to add function to make field a textarea?

From: Date: Wed, 05 Jan 2005 01:56:03 +0000
Subject: Re: ataObject_FormBuilder: help with where to add function to make field a textarea?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16611@lists.php.net to get a copy of this message
On Tue, 4 Jan 2005 10:49:15 -0800 (PST), l Burnerheimerton <lburnerheimerton@yahoo.com> wrote: > > Here's the code I was advised to use - obviously, I am very new still to formbuilder but > REALLY want to use it. > > "Look at textFields. > > in the DO: > var $fb_textFields = array('textField1', 'textField2'); > > You can change their sizes in postGenerateForm > > in the DO: > function postGenerateForm(&$form) { > $el =& $form->getElement('textField1'); > $el->setCols(40); > $el->setRows(20); > }" > [snip] And your question is? It looks like you've got it all setup already. What's wrong with it? -- Justin Patrin

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