Re: QuickForm elements not displaying

From: Date: Thu, 03 Apr 2003 09:14:32 +0000
Subject: Re: QuickForm elements not displaying
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4614@lists.php.net to get a copy of this message
<i.pople@unimelb.edu.au> wrote : > Hi, > > I have changed all attributes to the correct format but I am still having the > same problems. Another guess, do you have the last version of HTML_common installed ? > 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) >

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