Re: [QuickForm] add a html element into a group

From: Date: Fri, 31 Dec 2004 06:44:28 +0000
Subject: Re: [QuickForm] add a html element into a group
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16535@lists.php.net to get a copy of this message
On Thu, 30 Dec 2004 02:40:35 +0000, Helder Miguel Rodrigues <hmgr@netcabo.pt> wrote: > Hello, im having problems adding and html element into a group. > Basically, i have: > $formi[]=&$form->createElement('html',"<a > href=\"s.php\">Search</a>"); > $form->addGroup($formi,'form',"Search",'&nbsp;'); > Are you *sure* you want an html element? You can put HTML in any element's label or value. In this case it looks like you want a 'static' element, not an 'html' element. > Now, when i open the page with this code, the page shows "Array". > > adding an html element into the form i have done already without > problems, but with a group ai cant :( > > It has to be in a group, because i want the link to be lined with the > rest of the form. > > Any tips please? > > Thank you a lot! > > Regards, > Helder > -- Justin Patrin

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