Re: HTML_Quickform and Renderer - no error-messages?

From: Date: Thu, 22 Feb 2007 15:30:44 +0000
Subject: Re: HTML_Quickform and Renderer - no error-messages?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26642@lists.php.net to get a copy of this message
Hi, Brett Bieber wrote:
Have you tried accepting the renderer after you run $form->validate()? This is how it is used in the example http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php?view=markup
And that's exactly how it should be used, 'cause validate() is *the* method that actually assigns error messages to fields.

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