Re: HTML_QuickForm2

From: Date: Tue, 06 Mar 2012 16:32:55 +0000
Subject: Re: HTML_QuickForm2
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31443@lists.php.net to get a copy of this message
Hi, On 06.03.2012 17:22, MA Osborne wrote:
Using HTML_QuickForm the following command worked: $form->process("processForm"); Using HTML_QuickForm2, I receive the following error: Fatal error: Fatal error: Call to undefined method HTML_QuickForm2::process() in C:\wamp\bin\php\php5.3.8\pear\HTML\QuickForm2\Container.php on line 450
There is no process() in QF2, indeed. However, it was pretty useless even in HTML_QuickForm as the above call was equivalent to processForm($form->getSubmitValues(true)); there is no getSubmitValues() in QF2 either, so that translates to processForm($form->getValue());

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