Re: QuickForm elements not displaying
| From: | Iain Pople | Date: | Thu, 03 Apr 2003 08:53:48 +0000 |
| Subject: | Re: QuickForm elements not displaying | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4611@lists.php.net to get a copy of this message | ||
Hi,
I have changed all attributes to the correct format but I am still having the
same problems.
cheers, Iain.
On Thu, 3 Apr 2003 06:32, Bertrand Mansion wrote:
> > I have been having some problems with some Quickform elements not
> > displaying. Specifically in the following code, the date and imageFile
> > components do not appear. I have found that changing the order of the
> > elements can affect whether they appear or not.
> > $newsForm = new HTML_QuickForm('newsForm','POST','new.php');
> > // Add Elements
> > $newsForm->addHeader('1. Title Information:');
> >
> > $newsForm->addElement('text','title','Title:','size =
> > 32');
>
> Attributes should be set like this:
> 'size=32' or like this:
> Array('size' => 32)