Re: QuickForm Problem

From: Date: Mon, 12 Jul 2004 11:56:00 +0000
Subject: Re: QuickForm Problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13652@lists.php.net to get a copy of this message
Bernhard Janetzki wrote: >Hello list, >i'd like to use this [*] example code to create a form. >I'm not able so set my own "ElementTemplate" with setElementTemplate. >It's seems that the fields {element} and {label} contain no value. >Thank you very much in advance! Well, your code works here. Your element has no label because you use 'null' as the parameter for the label: $form->addElement('text','mail',null,array('size' => 10)); {element} contains the rendered element (<input type="text"...) Bertrand Mansion Mamasam

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