Re: QuickForm [error]

From: Date: Mon, 13 Oct 2003 13:55:00 +0000
Subject: Re: QuickForm [error]
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8405@lists.php.net to get a copy of this message
<jeroen@terena.nl> wrote : > Daniel Demacek wrote: > >> Hi, >> >> anyone know what would be causing this error msg? : >> >> Method HTML_QuickForm::setElementTemplate() is now deprecated in file >> /index.php >> >> >> > Perhaps the method is now deprecated :-) > This method is no longer supported and will probably be removed from the > next QF release because renderers have been introduced. Exactly :) You should use renderers (see the docs and examples). As you are probably using the default renderer, use $renderer->setElementTemplate() instead of $form->setElementTemplate(). Sorry for the inconvenience, but this was the all point of adding renderers to QuickForm. Bertrand Mansion Mamasam

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